Build Information
Successful build of PubNubSDK, reference 11.1.0 (b59243), with Swift 6.1 for macOS (SPM) on 30 Oct 2026 17:19:30 UTC.
Swift 6 data race errors: 46
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
107 | self.onMessage = onMessage
108 | self.onSignal = onSignal
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:15: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:124:15: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
125 | switch event {
126 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:120:11: warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
118 | func emit(events: [PubNubEvent]) {
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
| `- warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
121 | self?.onEvents?(events)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:9: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
122 | }
123 | for event in events {
PubNubSDK.EventListenerInterface.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol EventListenerInterface {
2 | Self : PubNubSDK.EventListenerInterface}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:151:5: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
152 | onEvents = nil
153 | onMessage = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:152:5: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
153 | onMessage = nil
154 | onSignal = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:13: warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:26:14: note: class 'StatusListener' does not conform to the 'Sendable' protocol
24 |
25 | /// Defines additional status listener that can be attached to `Subscription` or `SubscriptionSet`
26 | public class StatusListener: StatusListenerInterface {
| `- note: class 'StatusListener' does not conform to the 'Sendable' protocol
27 | public let uuid: UUID
28 | public let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:48: warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/ConnectionStatus.swift:14:13: note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
12 |
13 | /// Status of a connection to a remote system
14 | public enum ConnectionStatus: Equatable {
| `- note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
15 | /// Successfully connected to a remote system
16 | case connected
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:295:44: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
296 | // Call Leave on channels/groups
297 | if !configuration.supressLeaveEvents {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:100:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
98 | at cursor: SubscribeCursor?
99 | ) {
100 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
101 | .subscribed(
102 | channels: channels.map { PubNubChannel(channel: $0) }.filter { state.channels.insert($0) }.consolidated(),
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:243:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
241 |
242 | func unsubscribe(from channels: [String], and channelGroups: [String]) {
243 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
244 | .unsubscribed(
245 | channels: channels.compactMap {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:272:71: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
270 | func unsubscribeAll() {
271 | // Remove All Channels & Groups
272 | let subscribeChange = internalState.lockedWrite { mutableState -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
273 |
274 | let removedChannels = mutableState.channels
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:101:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
99 | override public func emit(subscribe event: PubNubSubscribeEvent) {
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
102 | switch event {
103 | case let .connectionChanged(status):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:102:14: warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
35 |
36 | /// Local events emitted from the Subscribe method
37 | public enum PubNubSubscribeEvent {
| `- note: consider making enum 'PubNubSubscribeEvent' conform to the 'Sendable' protocol
38 | /// The connection status of the PubNub subscription was changed
39 | case connectionChanged(ConnectionStatus)
:
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
102 | switch event {
| `- warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
103 | case let .connectionChanged(status):
104 | self.didReceiveStatus?(.success(status))
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:13: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:7: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:42: warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:12: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:128:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
126 | public func emitDidReceive(subscription event: PubNubEvent) {
127 | queue.async { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:36: warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:7: warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
225 | }
226 |
227 | open class PubNubEntityListener: BaseSubscriptionListener {
| `- note: class 'PubNubEntityListener' does not conform to the 'Sendable' protocol
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:26: warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Networking/Routers/SubscribeRouter.swift:299:15: note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
297 | }
298 |
299 | public struct SubscribeMessagePayload: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
300 | public let shard: String
301 | public let subscription: String?
[242/288] Compiling PubNubSDK SubscriptionStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:105:10: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
103 | self.queue = queue
104 | self.uuid = uuid
105 | self.onEvent = onEvent
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
106 | self.onEvents = onEvents
107 | self.onMessage = onMessage
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:106:10: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
104 | self.uuid = uuid
105 | self.onEvent = onEvent
106 | self.onEvents = onEvents
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
107 | self.onMessage = onMessage
108 | self.onSignal = onSignal
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:15: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:124:15: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
125 | switch event {
126 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:120:11: warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
118 | func emit(events: [PubNubEvent]) {
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
| `- warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
121 | self?.onEvents?(events)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:9: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
122 | }
123 | for event in events {
PubNubSDK.EventListenerInterface.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol EventListenerInterface {
2 | Self : PubNubSDK.EventListenerInterface}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:151:5: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
152 | onEvents = nil
153 | onMessage = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:152:5: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
153 | onMessage = nil
154 | onSignal = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:13: warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:26:14: note: class 'StatusListener' does not conform to the 'Sendable' protocol
24 |
25 | /// Defines additional status listener that can be attached to `Subscription` or `SubscriptionSet`
26 | public class StatusListener: StatusListenerInterface {
| `- note: class 'StatusListener' does not conform to the 'Sendable' protocol
27 | public let uuid: UUID
28 | public let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:48: warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/ConnectionStatus.swift:14:13: note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
12 |
13 | /// Status of a connection to a remote system
14 | public enum ConnectionStatus: Equatable {
| `- note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
15 | /// Successfully connected to a remote system
16 | case connected
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:295:44: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
296 | // Call Leave on channels/groups
297 | if !configuration.supressLeaveEvents {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:100:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
98 | at cursor: SubscribeCursor?
99 | ) {
100 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
101 | .subscribed(
102 | channels: channels.map { PubNubChannel(channel: $0) }.filter { state.channels.insert($0) }.consolidated(),
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:243:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
241 |
242 | func unsubscribe(from channels: [String], and channelGroups: [String]) {
243 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
244 | .unsubscribed(
245 | channels: channels.compactMap {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:272:71: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
270 | func unsubscribeAll() {
271 | // Remove All Channels & Groups
272 | let subscribeChange = internalState.lockedWrite { mutableState -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
273 |
274 | let removedChannels = mutableState.channels
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:101:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
99 | override public func emit(subscribe event: PubNubSubscribeEvent) {
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
102 | switch event {
103 | case let .connectionChanged(status):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:102:14: warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
35 |
36 | /// Local events emitted from the Subscribe method
37 | public enum PubNubSubscribeEvent {
| `- note: consider making enum 'PubNubSubscribeEvent' conform to the 'Sendable' protocol
38 | /// The connection status of the PubNub subscription was changed
39 | case connectionChanged(ConnectionStatus)
:
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
102 | switch event {
| `- warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
103 | case let .connectionChanged(status):
104 | self.didReceiveStatus?(.success(status))
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:13: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:7: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:42: warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:12: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:128:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
126 | public func emitDidReceive(subscription event: PubNubEvent) {
127 | queue.async { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:36: warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:7: warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
225 | }
226 |
227 | open class PubNubEntityListener: BaseSubscriptionListener {
| `- note: class 'PubNubEntityListener' does not conform to the 'Sendable' protocol
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:26: warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Networking/Routers/SubscribeRouter.swift:299:15: note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
297 | }
298 |
299 | public struct SubscribeMessagePayload: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
300 | public let shard: String
301 | public let subscription: String?
[243/288] Compiling PubNubSDK SubscribeMessagePayload+PubNubEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:105:10: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
103 | self.queue = queue
104 | self.uuid = uuid
105 | self.onEvent = onEvent
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
106 | self.onEvents = onEvents
107 | self.onMessage = onMessage
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:106:10: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
104 | self.uuid = uuid
105 | self.onEvent = onEvent
106 | self.onEvents = onEvents
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
107 | self.onMessage = onMessage
108 | self.onSignal = onSignal
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:15: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:124:15: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
125 | switch event {
126 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:120:11: warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
118 | func emit(events: [PubNubEvent]) {
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
| `- warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
121 | self?.onEvents?(events)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:9: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
122 | }
123 | for event in events {
PubNubSDK.EventListenerInterface.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol EventListenerInterface {
2 | Self : PubNubSDK.EventListenerInterface}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:151:5: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
152 | onEvents = nil
153 | onMessage = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:152:5: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
153 | onMessage = nil
154 | onSignal = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:13: warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:26:14: note: class 'StatusListener' does not conform to the 'Sendable' protocol
24 |
25 | /// Defines additional status listener that can be attached to `Subscription` or `SubscriptionSet`
26 | public class StatusListener: StatusListenerInterface {
| `- note: class 'StatusListener' does not conform to the 'Sendable' protocol
27 | public let uuid: UUID
28 | public let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:48: warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/ConnectionStatus.swift:14:13: note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
12 |
13 | /// Status of a connection to a remote system
14 | public enum ConnectionStatus: Equatable {
| `- note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
15 | /// Successfully connected to a remote system
16 | case connected
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:295:44: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
296 | // Call Leave on channels/groups
297 | if !configuration.supressLeaveEvents {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:100:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
98 | at cursor: SubscribeCursor?
99 | ) {
100 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
101 | .subscribed(
102 | channels: channels.map { PubNubChannel(channel: $0) }.filter { state.channels.insert($0) }.consolidated(),
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:243:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
241 |
242 | func unsubscribe(from channels: [String], and channelGroups: [String]) {
243 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
244 | .unsubscribed(
245 | channels: channels.compactMap {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:272:71: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
270 | func unsubscribeAll() {
271 | // Remove All Channels & Groups
272 | let subscribeChange = internalState.lockedWrite { mutableState -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
273 |
274 | let removedChannels = mutableState.channels
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:101:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
99 | override public func emit(subscribe event: PubNubSubscribeEvent) {
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
102 | switch event {
103 | case let .connectionChanged(status):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:102:14: warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
35 |
36 | /// Local events emitted from the Subscribe method
37 | public enum PubNubSubscribeEvent {
| `- note: consider making enum 'PubNubSubscribeEvent' conform to the 'Sendable' protocol
38 | /// The connection status of the PubNub subscription was changed
39 | case connectionChanged(ConnectionStatus)
:
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
102 | switch event {
| `- warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
103 | case let .connectionChanged(status):
104 | self.didReceiveStatus?(.success(status))
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:13: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:7: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:42: warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:12: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:128:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
126 | public func emitDidReceive(subscription event: PubNubEvent) {
127 | queue.async { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:36: warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:7: warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
225 | }
226 |
227 | open class PubNubEntityListener: BaseSubscriptionListener {
| `- note: class 'PubNubEntityListener' does not conform to the 'Sendable' protocol
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:26: warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Networking/Routers/SubscribeRouter.swift:299:15: note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
297 | }
298 |
299 | public struct SubscribeMessagePayload: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
300 | public let shard: String
301 | public let subscription: String?
[244/288] Compiling PubNubSDK resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:105:10: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
103 | self.queue = queue
104 | self.uuid = uuid
105 | self.onEvent = onEvent
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
106 | self.onEvents = onEvents
107 | self.onMessage = onMessage
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:106:10: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
104 | self.uuid = uuid
105 | self.onEvent = onEvent
106 | self.onEvents = onEvents
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
107 | self.onMessage = onMessage
108 | self.onSignal = onSignal
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:15: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:124:15: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
125 | switch event {
126 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:120:11: warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
118 | func emit(events: [PubNubEvent]) {
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
| `- warning: capture of 'events' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
121 | self?.onEvents?(events)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:121:9: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 | queue.async { [weak self] in
120 | if !events.isEmpty {
121 | self?.onEvents?(events)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
122 | }
123 | for event in events {
PubNubSDK.EventListenerInterface.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol EventListenerInterface {
2 | Self : PubNubSDK.EventListenerInterface}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:151:5: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
152 | onEvents = nil
153 | onMessage = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:152:5: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
153 | onMessage = nil
154 | onSignal = nil
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:13: warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'listener' with non-sendable type 'StatusListener?' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/EventListener.swift:26:14: note: class 'StatusListener' does not conform to the 'Sendable' protocol
24 |
25 | /// Defines additional status listener that can be attached to `Subscription` or `SubscriptionSet`
26 | public class StatusListener: StatusListenerInterface {
| `- note: class 'StatusListener' does not conform to the 'Sendable' protocol
27 | public let uuid: UUID
28 | public let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/SubscriptionSession.swift:67:48: warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
65 | self?.listenersContainer.statusListeners.forEach { listener in
66 | listener.queue.async { [weak listener] in
67 | listener?.onConnectionStateChange?(newStatus)
| `- warning: capture of 'newStatus' with non-sendable type 'ConnectionStatus' in a '@Sendable' closure
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Core/ConnectionStatus.swift:14:13: note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
12 |
13 | /// Status of a connection to a remote system
14 | public enum ConnectionStatus: Equatable {
| `- note: consider making enum 'ConnectionStatus' conform to the 'Sendable' protocol
15 | /// Successfully connected to a remote system
16 | case connected
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:295:44: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
296 | // Call Leave on channels/groups
297 | if !configuration.supressLeaveEvents {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:100:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
98 | at cursor: SubscribeCursor?
99 | ) {
100 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
101 | .subscribed(
102 | channels: channels.map { PubNubChannel(channel: $0) }.filter { state.channels.insert($0) }.consolidated(),
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:243:64: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
241 |
242 | func unsubscribe(from channels: [String], and channelGroups: [String]) {
243 | let subscribeChange = internalState.lockedWrite { state -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
244 | .unsubscribed(
245 | channels: channels.compactMap {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift:272:71: warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
270 | func unsubscribeAll() {
271 | // Remove All Channels & Groups
272 | let subscribeChange = internalState.lockedWrite { mutableState -> SubscriptionChangeEvent in
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions
273 |
274 | let removedChannels = mutableState.channels
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:101:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
99 | override public func emit(subscribe event: PubNubSubscribeEvent) {
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
102 | switch event {
103 | case let .connectionChanged(status):
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:102:14: warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
35 |
36 | /// Local events emitted from the Subscribe method
37 | public enum PubNubSubscribeEvent {
| `- note: consider making enum 'PubNubSubscribeEvent' conform to the 'Sendable' protocol
38 | /// The connection status of the PubNub subscription was changed
39 | case connectionChanged(ConnectionStatus)
:
100 | queue.async { [weak self] in
101 | guard let self = self else { return }
102 | switch event {
| `- warning: capture of 'event' with non-sendable type 'PubNubSubscribeEvent' in a '@Sendable' closure
103 | case let .connectionChanged(status):
104 | self.didReceiveStatus?(.success(status))
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:13: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:7: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:118:42: warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
116 | public func emitDidReceive(subscription batch: [PubNubEvent]) {
117 | queue.async { [weak self] in
118 | self?.didReceiveBatchSubscription?(batch)
| `- warning: capture of 'batch' with non-sendable type '[PubNubEvent]' in a '@Sendable' closure
119 |
120 | for event in batch {
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:12: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:128:24: warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
46 |
47 | /// Listener capable of emitting batched and single PubNubEvent objects
48 | public final class CoreListener: BaseSubscriptionListener {
| `- note: class 'CoreListener' does not conform to the 'Sendable' protocol
49 | /// All the changes that can be received for Metadata objects
50 | @available(*, deprecated, message: "Use PubNubAppContextEvent via didReceiveAppContextEvent")
:
126 | public func emitDidReceive(subscription event: PubNubEvent) {
127 | queue.async { [weak self] in
128 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'CoreListener?' in a '@Sendable' closure
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:130:36: warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
128 | guard let self = self else { return }
129 | // Emit Master Event
130 | self.didReceiveSubscription?(event)
| `- warning: capture of 'event' with non-sendable type 'PubNubEvent' in a '@Sendable' closure
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/API/PubNubEvent.swift:14:13: note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
12 |
13 | /// Possible events within the PubNub module
14 | public enum PubNubEvent {
| `- note: consider making enum 'PubNubEvent' conform to the 'Sendable' protocol
15 | /// A message has been received
16 | case messageReceived(PubNubMessage)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:7: warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
225 | }
226 |
227 | open class PubNubEntityListener: BaseSubscriptionListener {
| `- note: class 'PubNubEntityListener' does not conform to the 'Sendable' protocol
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'self' with non-sendable type 'PubNubEntityListener?' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:230:26: warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
228 | override public final func emit(batch: [SubscribeMessagePayload]) {
229 | queue.async { [weak self] in
230 | self?.emit(entity: batch.compactMap { event in
| `- warning: capture of 'batch' with non-sendable type '[SubscribeMessagePayload]' in a '@Sendable' closure
231 | if event.messageType == .object {
232 | return try? event.payload.decode(PubNubEntityEvent.self)
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Networking/Routers/SubscribeRouter.swift:299:15: note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
297 | }
298 |
299 | public struct SubscribeMessagePayload: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'SubscribeMessagePayload' conform to the 'Sendable' protocol
300 | public let shard: String
301 | public let subscription: String?
[245/308] Compiling pubnub pubnub.swift
[246/308] Emitting module pubnub
[247/308] Compiling subscribe_unsubscribe_old subscribe-unsubscribe-old.swift
[248/308] Emitting module subscribe_unsubscribe_old
[249/308] Emitting module logging
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:128:1: warning: result of 'PubNubLogger' initializer is unused
126 | // Enable all logging levels - this captures everything including debug information
127 | // Useful during development to see all SDK operations
128 | PubNubLogger(levels: [.all])
| `- warning: result of 'PubNubLogger' initializer is unused
129 | // snippet.end
130 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:134:1: warning: result of 'PubNubLogger' initializer is unused
132 | // Enable only error logging - captures only critical errors
133 | // Useful for production environments where you only want to know about serious issues
134 | PubNubLogger(levels: [.error])
| `- warning: result of 'PubNubLogger' initializer is unused
135 | // snippet.end
136 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:145:1: warning: result of 'PubNubLogger' initializer is unused
143 | // - .event: Significant event notifications
144 | // - .info: Informational messages
145 | PubNubLogger(levels: [.error, .warn, .event, .info])
| `- warning: result of 'PubNubLogger' initializer is unused
146 | // snippet.end
147 |
[250/308] Compiling logging logging.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:128:1: warning: result of 'PubNubLogger' initializer is unused
126 | // Enable all logging levels - this captures everything including debug information
127 | // Useful during development to see all SDK operations
128 | PubNubLogger(levels: [.all])
| `- warning: result of 'PubNubLogger' initializer is unused
129 | // snippet.end
130 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:134:1: warning: result of 'PubNubLogger' initializer is unused
132 | // Enable only error logging - captures only critical errors
133 | // Useful for production environments where you only want to know about serious issues
134 | PubNubLogger(levels: [.error])
| `- warning: result of 'PubNubLogger' initializer is unused
135 | // snippet.end
136 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:145:1: warning: result of 'PubNubLogger' initializer is unused
143 | // - .event: Significant event notifications
144 | // - .info: Informational messages
145 | PubNubLogger(levels: [.error, .warn, .event, .info])
| `- warning: result of 'PubNubLogger' initializer is unused
146 | // snippet.end
147 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:31:9: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
29 | if #available(iOS 14.0, macOS 11.0, watchOS 7.0, tvOS 14.0, *) {
30 | // snippet.os-log-writer
31 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
32 | configuration: .init(
33 | publishKey: "demo",
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:90:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
88 | func customLogWriterUsageExample() {
89 | // snippet.custom-log-writer-usage
90 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
91 | configuration: .init(
92 | publishKey: "demo",
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:107:9: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
105 | if #available(iOS 14.0, macOS 11.0, watchOS 7.0, tvOS 14.0, *) {
106 | // snippet.combined-log-writers
107 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
108 | configuration: .init(
109 | publishKey: "demo",
[251/308] Compiling message_actions message-actions.swift
[252/308] Emitting module message_actions
[253/308] Emitting module misc
[254/308] Compiling misc misc.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Misc/misc.swift:36:7: warning: immutable value 'encryptedMessage' was never used; consider replacing with '_' or removing it
34 | let messageToEncrypt = Data("this is message".utf8)
35 | // Encrypt the message
36 | let encryptedMessage: Data = try cryptoModule.encrypt(data: messageToEncrypt).get()
| `- warning: immutable value 'encryptedMessage' was never used; consider replacing with '_' or removing it
37 | // Proceed with encrypted message
38 | }
/Users/admin/builder/spi-builder-workspace/Snippets/Misc/misc.swift:49:7: warning: immutable value 'decryptedData' was never used; consider replacing with '_' or removing it
47 | let encryptedMessage = try cryptoModule.encrypt(data: messageToEncrypt).get()
48 | // Decrypt data
49 | let decryptedData: Data = try cryptoModule.decrypt(data: encryptedMessage).get()
| `- warning: immutable value 'decryptedData' was never used; consider replacing with '_' or removing it
50 | // Proceed with decrypted data
51 | }
[255/308] Compiling push_notifications push-notifications.swift
[256/308] Emitting module push_notifications
[257/310] Emitting module presence
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:121:20: warning: enum case 'success' has one associated value that is a tuple of 2 elements
119 | ) { result in
120 | switch result {
121 | case let .success(uuid, stateByChannel):
| `- warning: enum case 'success' has one associated value that is a tuple of 2 elements
122 | print("The UUID `\(uuid)` has the following presence state \(stateByChannel)")
123 | case let .failure(error):
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:116:29: warning: 'uuid' is deprecated: renamed to 'userId'
114 | // Get the presence state for a channel and channel group
115 | pubnub.getPresenceState(
116 | for: pubnub.configuration.uuid,
| |- warning: 'uuid' is deprecated: renamed to 'userId'
| `- note: use 'userId' instead
117 | on: ["channelSwift"],
118 | and: ["demo"]
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:137:45: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
135 | switch result {
136 | case let .success(presenceSet):
137 | print("The String value for `New` is: \(presenceSet.codableValue[rawValue: "new"] as? String)")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
138 | case let .failure(error):
139 | print("Failed Set State Response: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:157:44: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
155 | switch result {
156 | case let .success(presenceSet):
157 | print("The Object representation is: \(try? presenceSet.codableValue.decode(MyPresenceState.self))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
158 | case let .failure(error):
159 | print("Failed Set State Response: \(error.localizedDescription)")
[258/310] Compiling presence presence.swift
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:121:20: warning: enum case 'success' has one associated value that is a tuple of 2 elements
119 | ) { result in
120 | switch result {
121 | case let .success(uuid, stateByChannel):
| `- warning: enum case 'success' has one associated value that is a tuple of 2 elements
122 | print("The UUID `\(uuid)` has the following presence state \(stateByChannel)")
123 | case let .failure(error):
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:116:29: warning: 'uuid' is deprecated: renamed to 'userId'
114 | // Get the presence state for a channel and channel group
115 | pubnub.getPresenceState(
116 | for: pubnub.configuration.uuid,
| |- warning: 'uuid' is deprecated: renamed to 'userId'
| `- note: use 'userId' instead
117 | on: ["channelSwift"],
118 | and: ["demo"]
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:137:45: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
135 | switch result {
136 | case let .success(presenceSet):
137 | print("The String value for `New` is: \(presenceSet.codableValue[rawValue: "new"] as? String)")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
138 | case let .failure(error):
139 | print("Failed Set State Response: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:157:44: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
155 | switch result {
156 | case let .success(presenceSet):
157 | print("The Object representation is: \(try? presenceSet.codableValue.decode(MyPresenceState.self))")
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
| `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
158 | case let .failure(error):
159 | print("Failed Set State Response: \(error.localizedDescription)")
[259/322] Emitting module publish
[260/322] Compiling publish publish.swift
[261/322] Compiling subscriptions subscriptions.swift
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:274:14: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
272 | // snippet.on-events
273 | // Add a batched subscription event that possibly contains multiple events
274 | subscription.onEvents = { events in
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
275 | print("Received events: \(events)")
276 | }
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:281:14: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
279 | // snippet.on-event
280 | // Add a listener to capture single event
281 | subscription.onEvent = { event in
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
282 | switch event {
283 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:31:22: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
26 | // snippet.end
27 |
28 | func subscriptionBasicExample() {
| `- note: add '@MainActor' to make global function 'subscriptionBasicExample()' part of global actor 'MainActor'
29 | // snippet.basic-usage
30 | // Create a subscription for a Pub/Sub channel
31 | let subscription = pubnub.channel("channel").subscription(options: ReceivePresenceEvents())
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 | // Triggers the subscription
33 | subscription.subscribe()
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:40:24: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
35 | }
36 |
37 | func subscriptionSetAddRemoveExample() {
| `- note: add '@MainActor' to make global function 'subscriptionSetAddRemoveExample()' part of global actor 'MainActor'
38 | // snippet.subscription-set-add-remove
39 | // Create a reference to a Pub/Sub channel
40 | let weatherChannel = pubnub.channel("weather-updates")
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | // Create a reference to a Pub/Sub channel group
42 | let newsGroup = pubnub.channelGroup("news-feed")
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:42:19: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
35 | }
36 |
37 | func subscriptionSetAddRemoveExample() {
| `- note: add '@MainActor' to make global function 'subscriptionSetAddRemoveExample()' part of global actor 'MainActor'
38 | // snippet.subscription-set-add-remove
39 | // Create a reference to a Pub/Sub channel
40 | let weatherChannel = pubnub.channel("weather-updates")
41 | // Create a reference to a Pub/Sub channel group
42 | let newsGroup = pubnub.channelGroup("news-feed")
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | // Create a SubscriptionSet object from the values above
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:45:25: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
35 | }
36 |
37 | func subscriptionSetAddRemoveExample() {
| `- note: add '@MainActor' to make global function 'subscriptionSetAddRemoveExample()' part of global actor 'MainActor'
38 | // snippet.subscription-set-add-remove
39 | // Create a reference to a Pub/Sub channel
:
43 |
44 | // Create a SubscriptionSet object from the values above
45 | let subscriptionSet = pubnub.subscription(targets: [weatherChannel, newsGroup])
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |
47 | // Create a subscription for another Pub/Sub channel to demonstrate
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:49:28: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
35 | }
36 |
37 | func subscriptionSetAddRemoveExample() {
| `- note: add '@MainActor' to make global function 'subscriptionSetAddRemoveExample()' part of global actor 'MainActor'
38 | // snippet.subscription-set-add-remove
39 | // Create a reference to a Pub/Sub channel
:
47 | // Create a subscription for another Pub/Sub channel to demonstrate
48 | // adding and removing to/from a SubscriptionSet
49 | let sportsSubscription = pubnub.channel("sports-scores").subscription()
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | // An example of how to add/remove a `sportsSubscription` to/from a SubscriptionSet
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:72:7: warning: initialization of immutable value 'clonedSubscriptionSet' was never used; consider replacing with assignment to '_' or removing it
70 | .subscription()
71 |
72 | let clonedSubscriptionSet = subscriptionSet.clone()
| `- warning: initialization of immutable value 'clonedSubscriptionSet' was never used; consider replacing with assignment to '_' or removing it
73 | let clonedSubscription = subscription.clone()
74 | // snippet.end
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:73:7: warning: initialization of immutable value 'clonedSubscription' was never used; consider replacing with assignment to '_' or removing it
71 |
72 | let clonedSubscriptionSet = subscriptionSet.clone()
73 | let clonedSubscription = subscription.clone()
| `- warning: initialization of immutable value 'clonedSubscription' was never used; consider replacing with assignment to '_' or removing it
74 | // snippet.end
75 | }
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:63:25: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
58 | }
59 |
60 | func cloneExample() {
| `- note: add '@MainActor' to make global function 'cloneExample()' part of global actor 'MainActor'
61 | // snippet.clone
62 | // Create a subscription set containing a Pub/Sub channel and channel group
63 | let subscriptionSet = pubnub.subscription(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
65 | options: ReceivePresenceEvents()
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:64:15: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
58 | }
59 |
60 | func cloneExample() {
| `- note: add '@MainActor' to make global function 'cloneExample()' part of global actor 'MainActor'
61 | // snippet.clone
62 | // Create a subscription set containing a Pub/Sub channel and channel group
63 | let subscriptionSet = pubnub.subscription(
64 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | options: ReceivePresenceEvents()
66 | )
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:64:42: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
58 | }
59 |
60 | func cloneExample() {
| `- note: add '@MainActor' to make global function 'cloneExample()' part of global actor 'MainActor'
61 | // snippet.clone
62 | // Create a subscription set containing a Pub/Sub channel and channel group
63 | let subscriptionSet = pubnub.subscription(
64 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | options: ReceivePresenceEvents()
66 | )
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:68:22: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
58 | }
59 |
60 | func cloneExample() {
| `- note: add '@MainActor' to make global function 'cloneExample()' part of global actor 'MainActor'
61 | // snippet.clone
62 | // Create a subscription set containing a Pub/Sub channel and channel group
:
66 | )
67 | // Create a subscription for a Pub/Sub channel
68 | let subscription = pubnub
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
69 | .channel("channelName")
70 | .subscription()
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:78:25: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
75 | }
76 |
77 | func unsubscribeExample() {
| `- note: add '@MainActor' to make global function 'unsubscribeExample()' part of global actor 'MainActor'
78 | let subscriptionSet = pubnub.subscription(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
79 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
80 | options: ReceivePresenceEvents()
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:79:15: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
75 | }
76 |
77 | func unsubscribeExample() {
| `- note: add '@MainActor' to make global function 'unsubscribeExample()' part of global actor 'MainActor'
78 | let subscriptionSet = pubnub.subscription(
79 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 | options: ReceivePresenceEvents()
81 | )
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:79:42: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
75 | }
76 |
77 | func unsubscribeExample() {
| `- note: add '@MainActor' to make global function 'unsubscribeExample()' part of global actor 'MainActor'
78 | let subscriptionSet = pubnub.subscription(
79 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 | options: ReceivePresenceEvents()
81 | )
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:82:22: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
75 | }
76 |
77 | func unsubscribeExample() {
| `- note: add '@MainActor' to make global function 'unsubscribeExample()' part of global actor 'MainActor'
78 | let subscriptionSet = pubnub.subscription(
79 | targets: [pubnub.channel("channel"), pubnub.channelGroup("channelGroup")],
80 | options: ReceivePresenceEvents()
81 | )
82 | let subscription = pubnub
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | .channel("channelName")
84 | .subscription()
[262/322] Emitting module subscriptions
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:274:14: warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
272 | // snippet.on-events
273 | // Add a batched subscription event that possibly contains multiple events
274 | subscription.onEvents = { events in
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
275 | print("Received events: \(events)")
276 | }
/Users/admin/builder/spi-builder-workspace/Snippets/SubscribeNew/subscriptions.swift:281:14: warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
279 | // snippet.on-event
280 | // Add a listener to capture single event
281 | subscription.onEvent = { event in
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead
282 | switch event {
283 | case let .messageReceived(message):
[263/322] Emitting module listeners_old
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:37:10: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
35 | // snippet.did-receive-subscription
36 | // Add listener event callbacks
37 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
38 | switch event {
39 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:70:10: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
68 |
69 | // snippet.did-receive-batch-subscription
70 | listener.didReceiveBatchSubscription = { events in
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
71 | for event in events {
72 | switch event {
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:184:10: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
182 |
183 | // snippet.did-receive-subscription-2
184 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
185 | switch event {
186 | // Same content as the above example
[264/322] Compiling listeners_old listeners-old.swift
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:37:10: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
35 | // snippet.did-receive-subscription
36 | // Add listener event callbacks
37 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
38 | switch event {
39 | case let .messageReceived(message):
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:70:10: warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
68 |
69 | // snippet.did-receive-batch-subscription
70 | listener.didReceiveBatchSubscription = { events in
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
71 | for event in events {
72 | switch event {
/Users/admin/builder/spi-builder-workspace/Snippets/ListenersOld/listeners-old.swift:184:10: warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
182 |
183 | // snippet.did-receive-subscription-2
184 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead
185 | switch event {
186 | // Same content as the above example
[265/322] Emitting module entities
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:23:8: warning: result of call to 'channel' is unused
21 | // snippet.channel-entity
22 | // Create a Pub/Sub channel reference
23 | pubnub.channel("channelName")
| `- warning: result of call to 'channel' is unused
24 | // snippet.end
25 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:28:8: warning: result of call to 'channelGroup' is unused
26 | // snippet.channel-group-entity
27 | // Create a Pub/Sub channel group reference
28 | pubnub.channelGroup("channelGroupName")
| `- warning: result of call to 'channelGroup' is unused
29 | // snippet.end
30 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:33:8: warning: result of call to 'channelMetadata' is unused
31 | // snippet.channel-metadata-entity
32 | // Create an App Context channel metadata reference
33 | pubnub.channelMetadata("channelMetadataId")
| `- warning: result of call to 'channelMetadata' is unused
34 | // snippet.end
35 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:38:8: warning: result of call to 'userMetadata' is unused
36 | // snippet.user-metadata-entity
37 | // Create an App Context user metadata reference
38 | pubnub.userMetadata("userMetadataId")
| `- warning: result of call to 'userMetadata' is unused
39 | // snippet.end
40 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:43:8: warning: result of call to 'dataSyncUser' is unused
41 | // snippet.data-sync-user-entity
42 | // Create a Data Sync user reference
43 | pubnub.dataSyncUser("player-1")
| `- warning: result of call to 'dataSyncUser' is unused
44 | // snippet.end
45 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:48:8: warning: result of call to 'dataSyncChannel' is unused
46 | // snippet.data-sync-channel-entity
47 | // Create a Data Sync channel reference
48 | pubnub.dataSyncChannel("team-1")
| `- warning: result of call to 'dataSyncChannel' is unused
49 | // snippet.end
50 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:53:8: warning: result of call to 'dataSyncEntity' is unused
51 | // snippet.data-sync-entity
52 | // Create a Data Sync custom entity reference
53 | pubnub.dataSyncEntity("match-1")
| `- warning: result of call to 'dataSyncEntity' is unused
54 | // snippet.end
55 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:58:34: warning: result of call to 'subscription(projection:queue:options:)' is unused
56 | // snippet.data-sync-projection-subscription
57 | // Subscribe to a custom projection of a Data Sync entity
58 | pubnub.dataSyncEntity("match-1").subscription(projection: "stats")
| `- warning: result of call to 'subscription(projection:queue:options:)' is unused
59 | // snippet.end
60 |
[266/322] Compiling entities entities.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:23:8: warning: result of call to 'channel' is unused
21 | // snippet.channel-entity
22 | // Create a Pub/Sub channel reference
23 | pubnub.channel("channelName")
| `- warning: result of call to 'channel' is unused
24 | // snippet.end
25 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:28:8: warning: result of call to 'channelGroup' is unused
26 | // snippet.channel-group-entity
27 | // Create a Pub/Sub channel group reference
28 | pubnub.channelGroup("channelGroupName")
| `- warning: result of call to 'channelGroup' is unused
29 | // snippet.end
30 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:33:8: warning: result of call to 'channelMetadata' is unused
31 | // snippet.channel-metadata-entity
32 | // Create an App Context channel metadata reference
33 | pubnub.channelMetadata("channelMetadataId")
| `- warning: result of call to 'channelMetadata' is unused
34 | // snippet.end
35 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:38:8: warning: result of call to 'userMetadata' is unused
36 | // snippet.user-metadata-entity
37 | // Create an App Context user metadata reference
38 | pubnub.userMetadata("userMetadataId")
| `- warning: result of call to 'userMetadata' is unused
39 | // snippet.end
40 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:43:8: warning: result of call to 'dataSyncUser' is unused
41 | // snippet.data-sync-user-entity
42 | // Create a Data Sync user reference
43 | pubnub.dataSyncUser("player-1")
| `- warning: result of call to 'dataSyncUser' is unused
44 | // snippet.end
45 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:48:8: warning: result of call to 'dataSyncChannel' is unused
46 | // snippet.data-sync-channel-entity
47 | // Create a Data Sync channel reference
48 | pubnub.dataSyncChannel("team-1")
| `- warning: result of call to 'dataSyncChannel' is unused
49 | // snippet.end
50 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:53:8: warning: result of call to 'dataSyncEntity' is unused
51 | // snippet.data-sync-entity
52 | // Create a Data Sync custom entity reference
53 | pubnub.dataSyncEntity("match-1")
| `- warning: result of call to 'dataSyncEntity' is unused
54 | // snippet.end
55 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:58:34: warning: result of call to 'subscription(projection:queue:options:)' is unused
56 | // snippet.data-sync-projection-subscription
57 | // Subscribe to a custom projection of a Data Sync entity
58 | pubnub.dataSyncEntity("match-1").subscription(projection: "stats")
| `- warning: result of call to 'subscription(projection:queue:options:)' is unused
59 | // snippet.end
60 |
[267/330] Emitting module files
/Users/admin/builder/spi-builder-workspace/Snippets/Files/files.swift:43:22: warning: immutable value 'task' was never used; consider replacing with '_' or removing it
41 | } completion: { result in
42 | switch result {
43 | case let .success((task, file, publishedAt)):
| `- warning: immutable value 'task' was never used; consider replacing with '_' or removing it
44 | print("The file with an ID of \(file.fileId) was uploaded at \(publishedAt) timetoken)")
45 | case let .failure(error):
/Users/admin/builder/spi-builder-workspace/Snippets/Files/files.swift:141:21: warning: 'init()' was deprecated in macOS 10.15: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
139 | ),
140 | fileSession: URLSession(
141 | configuration: .init(),
| `- warning: 'init()' was deprecated in macOS 10.15: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
142 | delegate: FileSessionManager(),
143 | delegateQueue: nil
[268/330] Compiling files files.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Files/files.swift:43:22: warning: immutable value 'task' was never used; consider replacing with '_' or removing it
41 | } completion: { result in
42 | switch result {
43 | case let .success((task, file, publishedAt)):
| `- warning: immutable value 'task' was never used; consider replacing with '_' or removing it
44 | print("The file with an ID of \(file.fileId) was uploaded at \(publishedAt) timetoken)")
45 | case let .failure(error):
/Users/admin/builder/spi-builder-workspace/Snippets/Files/files.swift:141:21: warning: 'init()' was deprecated in macOS 10.15: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
139 | ),
140 | fileSession: URLSession(
141 | configuration: .init(),
| `- warning: 'init()' was deprecated in macOS 10.15: Please use NSURLSessionConfiguration.defaultSessionConfiguration or other class methods to create instances
142 | delegate: FileSessionManager(),
143 | delegateQueue: nil
[269/330] Emitting module history
[270/330] Compiling history history.swift
[270/330] Write Objects.LinkFileList
[273/330] Emitting module data_sync_users
[274/330] Compiling data_sync_users data-sync-users.swift
/Users/admin/builder/spi-builder-workspace/Snippets/DataSync/data-sync-users.swift:87:3: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
84 | // snippet.get-users-pagination
85 | // Page through every user, passing the cursor of each page into the next request
86 | func fetchUsers(cursor: String? = nil) {
| `- note: add '@MainActor' to make global function 'fetchUsers(cursor:)' part of global actor 'MainActor'
87 | pubnub.dataSync.getUsers(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | cursor: cursor,
89 | limit: 20
[275/332] Emitting module data_sync_relationships
[276/332] Compiling data_sync_relationships data-sync-relationships.swift
/Users/admin/builder/spi-builder-workspace/Snippets/DataSync/data-sync-relationships.swift:106:3: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
103 | // snippet.get-relationships-pagination
104 | // Page through every relationship, passing the cursor of each page into the next request
105 | func fetchRelationships(cursor: String? = nil) {
| `- note: add '@MainActor' to make global function 'fetchRelationships(cursor:)' part of global actor 'MainActor'
106 | pubnub.dataSync.getRelationships(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 | className: "enrollment",
108 | cursor: cursor,
[277/332] Compiling data_sync_memberships data-sync-memberships.swift
/Users/admin/builder/spi-builder-workspace/Snippets/DataSync/data-sync-memberships.swift:101:3: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | // snippet.pubnub
18 | // Initializes a PubNub object with the configuration
19 | let pubnub = PubNub(
| `- note: let declared here
20 | configuration: PubNubConfiguration(
21 | publishKey: "demo",
:
98 | // snippet.get-memberships-pagination
99 | // Page through every membership, passing the cursor of each page into the next request
100 | func fetchMemberships(cursor: String? = nil) {
| `- note: add '@MainActor' to make global function 'fetchMemberships(cursor:)' part of global actor 'MainActor'
101 | pubnub.dataSync.getMemberships(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | channelId: "general",
103 | cursor: cursor,
[278/332] Emitting module data_sync_memberships
[279/332] Compiling configuration configuration.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:27:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
25 |
26 | // Creates a PubNub instance with the configuration specified above
27 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
28 | configuration: configuration
29 | )
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:36:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
34 | // snippet.crypto-module
35 | // Uses 256-bit AES-CBC encryption (recommended) with backward compatibility for legacy encryption
36 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
37 | configuration: PubNubConfiguration(
38 | publishKey: "demo",
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:50:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
48 | // snippet.legacy-crypto-module
49 | // Uses a legacy encryption mechanism (128-bit cipher key entropy) that is no longer recommended
50 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
51 | configuration: PubNubConfiguration(
52 | publishKey: "demo",
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:83:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
81 |
82 | // Creates a PubNub instance with retry mechanism enabled
83 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
84 | configuration: PubNubConfiguration(
85 | publishKey: "demo",
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:102:7: warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
100 | )
101 |
102 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it
103 | configuration: config
104 | )
/Users/admin/builder/spi-builder-workspace/Snippets/Configuration/configuration.swift:140:7: warning: initialization of immutable value 'newPubNub' was never used; consider replacing with assignment to '_' or removing it
138 | config.userId = "my_new_userId"
139 | // Creating a new PubNub instance with the modified configuration
140 | let newPubNub = PubNub(configuration: config)
| `- warning: initialization of immutable value 'newPubNub' was never used; consider replacing with assignment to '_' or removing it
141 | // snippet.end
142 | }
[280/332] Emitting module configuration
[280/332] Write Objects.LinkFileList
[283/332] Emitting module data_sync_entities
[284/332] Compiling data_sync_entities data-sync-entities.swift
/Users/admin/builder/spi-builder-workspace/Snippets/DataSync/data-sync-entities.swift:89:3: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
86 | // snippet.get-entities-pagination
87 | // Page through every entity, passing the cursor of each page into the next request
88 | func fetchEntities(cursor: String? = nil) {
| `- note: add '@MainActor' to make global function 'fetchEntities(cursor:)' part of global actor 'MainActor'
89 | pubnub.dataSync.getEntities(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
90 | className: "course",
91 | cursor: cursor,
[284/332] Write Objects.LinkFileList
[287/332] Emitting module app_context
[288/332] Emitting module channel_group
[289/332] Compiling channel_group channel-group.swift
[289/332] Write Objects.LinkFileList
[292/332] Emitting module data_sync_channels
[293/332] Compiling data_sync_channels data-sync-channels.swift
/Users/admin/builder/spi-builder-workspace/Snippets/DataSync/data-sync-channels.swift:87:3: warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | // snippet.pubnub
17 | // Initializes a PubNub object with the configuration
18 | let pubnub = PubNub(
| `- note: let declared here
19 | configuration: PubNubConfiguration(
20 | publishKey: "demo",
:
84 | // snippet.get-channels-pagination
85 | // Page through every channel, passing the cursor of each page into the next request
86 | func fetchChannels(cursor: String? = nil) {
| `- note: add '@MainActor' to make global function 'fetchChannels(cursor:)' part of global actor 'MainActor'
87 | pubnub.dataSync.getChannels(
| `- warning: main actor-isolated let 'pubnub' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | cursor: cursor,
89 | limit: 20
[294/332] Compiling access_manager access-manager.swift
/Users/admin/builder/spi-builder-workspace/Snippets/AccessManager/access-manager.swift:44:8: warning: result of call to 'parse(token:)' is unused
42 | // snippet.parse-token
43 | // Parse an existing token
44 | pubnub.parse(token: "#yourAuthToken")
| `- warning: result of call to 'parse(token:)' is unused
45 | // snippet.end
46 |
[295/332] Emitting module access_manager
/Users/admin/builder/spi-builder-workspace/Snippets/AccessManager/access-manager.swift:44:8: warning: result of call to 'parse(token:)' is unused
42 | // snippet.parse-token
43 | // Parse an existing token
44 | pubnub.parse(token: "#yourAuthToken")
| `- warning: result of call to 'parse(token:)' is unused
45 | // snippet.end
46 |
[295/332] Write Objects.LinkFileList
[300/332] Compiling app_context app-context.swift
[300/332] Linking subscribe-unsubscribe-old
[301/332] Linking subscriptions
[302/332] Linking pubnub
[303/332] Write Objects.LinkFileList
[305/332] Linking push-notifications
[306/332] Linking presence
[307/332] Write Objects.LinkFileList
[309/332] Linking publish
[310/332] Linking misc
[310/332] Write Objects.LinkFileList
[316/332] Linking message-actions
[317/332] Linking logging
[318/332] Linking listeners-old
[319/332] Linking history
[320/332] Linking files
[321/332] Write Objects.LinkFileList
[322/332] Linking entities
[323/332] Linking data-sync-users
[324/332] Linking data-sync-memberships
[325/332] Linking data-sync-relationships
[326/332] Linking data-sync-entities
[327/332] Linking data-sync-channels
[328/332] Linking configuration
[329/332] Linking channel-group
[330/332] Linking app-context
[331/332] Linking access-manager
Build complete! (15.07s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/PubNub_Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PubNubSDK",
"name" : "PubNubSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "PubNubSDK",
"targets" : [
"PubNubSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "misc",
"targets" : [
"misc"
],
"type" : {
"snippet" : null
}
},
{
"name" : "configuration",
"targets" : [
"configuration"
],
"type" : {
"snippet" : null
}
},
{
"name" : "subscribe-unsubscribe-old",
"targets" : [
"subscribe-unsubscribe-old"
],
"type" : {
"snippet" : null
}
},
{
"name" : "access-manager",
"targets" : [
"access-manager"
],
"type" : {
"snippet" : null
}
},
{
"name" : "listeners-old",
"targets" : [
"listeners-old"
],
"type" : {
"snippet" : null
}
},
{
"name" : "data-sync-users",
"targets" : [
"data-sync-users"
],
"type" : {
"snippet" : null
}
},
{
"name" : "data-sync-relationships",
"targets" : [
"data-sync-relationships"
],
"type" : {
"snippet" : null
}
},
{
"name" : "data-sync-entities",
"targets" : [
"data-sync-entities"
],
"type" : {
"snippet" : null
}
},
{
"name" : "data-sync-channels",
"targets" : [
"data-sync-channels"
],
"type" : {
"snippet" : null
}
},
{
"name" : "data-sync-memberships",
"targets" : [
"data-sync-memberships"
],
"type" : {
"snippet" : null
}
},
{
"name" : "pubnub",
"targets" : [
"pubnub"
],
"type" : {
"snippet" : null
}
},
{
"name" : "push-notifications",
"targets" : [
"push-notifications"
],
"type" : {
"snippet" : null
}
},
{
"name" : "publish",
"targets" : [
"publish"
],
"type" : {
"snippet" : null
}
},
{
"name" : "presence",
"targets" : [
"presence"
],
"type" : {
"snippet" : null
}
},
{
"name" : "history",
"targets" : [
"history"
],
"type" : {
"snippet" : null
}
},
{
"name" : "app-context",
"targets" : [
"app-context"
],
"type" : {
"snippet" : null
}
},
{
"name" : "files",
"targets" : [
"files"
],
"type" : {
"snippet" : null
}
},
{
"name" : "channel-group",
"targets" : [
"channel-group"
],
"type" : {
"snippet" : null
}
},
{
"name" : "subscriptions",
"targets" : [
"subscriptions"
],
"type" : {
"snippet" : null
}
},
{
"name" : "logging",
"targets" : [
"logging"
],
"type" : {
"snippet" : null
}
},
{
"name" : "entities",
"targets" : [
"entities"
],
"type" : {
"snippet" : null
}
},
{
"name" : "message-actions",
"targets" : [
"message-actions"
],
"type" : {
"snippet" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PubNubTests",
"module_type" : "SwiftTarget",
"name" : "PubNubTests",
"path" : "Tests/PubNubUnitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_channels_add_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_channels_list_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_channels_list_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_channels_remove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_delete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_list_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Channel Groups/groups_list_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_channel_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_entity_all_last_page.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_entity_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_entity_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_error_400.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_error_404.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_error_409.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_error_412.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_membership_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_membership_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_relationship_all_no_meta.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_relationship_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_remove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_user_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/DataSync/datasync_user_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/badRequest_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/couldNotParseRequest.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/forbidden_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/forbidden_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/history_delete_not_enabled_for_key_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/internalServiceError_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/invalidCharacter_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/invalidSubscribeKey.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/invalid_device_token_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/malformedFilterExpression_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/maximumChannelCountExceeded_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/push_not_enabled_for_key_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/requestURITooLong_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/requestURITooLong_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/resourceNotFound_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/resourceNotFound_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/serviceUnavailable_Message.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/unauthorized_StatusCode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/unknownEndpointError.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/EndpointError/unrecognizedEndpointError.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/appTransportSecurityRequiresSecureConnection.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/badServerResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/badURL.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/callIsActive.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cancelled.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cannotConnectToHost.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cannotDecodeContentData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cannotDecodeRawData.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cannotFindHost.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/cannotParseResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/clientCertificateRejected.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/clientCertificateRequired.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/dataLengthExceedsMaximum.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/dataNotAllowed.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/dnsLookupFailed.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/internationalRoamingOff.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/networkConnectionLost.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/notConnectedToInternet.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/resourceUnavailable.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/secureConnectionFailed.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/serverCertificateHasBadDate.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/serverCertificateHasUnknownRoot.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/serverCertificateNotYetValid.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/serverCertificateUntrusted.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/timedOut.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/unknown.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/unsupportedURL.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Errors/URLError/zeroByteResource.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_delete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_error_invalidParam.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_error_invalidParam_raw.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_error_notEnabled.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_error_notEnabled_raw.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_generateURL_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_list_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_list_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_upload_sample.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/File/file_upload_sample_encrypted.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/addMessageAction_error_400.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/addMessageAction_error_403.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/addMessageAction_error_409.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/addMessageAction_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/addMessageAction_success_207.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/fetchMessageAction_error_400.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/fetchMessageAction_error_403.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/fetchMessageAction_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/fetchMessageAction_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/removeMessageAction_error_400.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/removeMessageAction_error_400_noMessage.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/removeMessageAction_error_403.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/removeMessageAction_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageActions/removeMessageAction_success_207.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageCounts/message_counts_error_invalid_arguments.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageCounts/message_counts_error_serviceNotEnabled.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageCounts/message_counts_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistoryWithActions_Fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistoryWithActions_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Delete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success_emptyList.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success_encrypted.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success_mixedEncrypted.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success_multipleChannels.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/MessageHistory/messageHistory_Fetch_success_withMeta.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_channel_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_channel_all_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_channel_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_channel_remove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_400.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_403.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_404.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_409.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_412.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_415.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_429.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_500.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_error_503.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_members_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_membership_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_uuid_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_uuid_all_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_uuid_fetch_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Objects/objects_uuid_remove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/getState_single_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/getState_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_singleChannel_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_singleChannel_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_singleChannel_success_stateful.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_success_disableUUID.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/herenow_success_stateful.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/leave_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/setState_missing_state.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/setState_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/wherenow_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Presence/wherenow_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/publish_file_body_raw.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/publish_invalid_json.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/publish_invalid_key.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/publish_message_too_large.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/publish_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Publish/signal_message_too_large.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Push/push_list_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Push/push_list_success_empty.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Push/push_modify_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Push/push_remove_all_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscribe_uuidSet_nullUpdate.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_addMessageAction_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_channelRemove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_channelSet_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncChannelCreate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncChannelDelete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncChannelUpdate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncEntityCreate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncEntityDelete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncEntityUpdate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncMembershipCreate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncMembershipDelete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncMembershipUpdate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncRelationshipCreate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncRelationshipDelete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncRelationshipUpdate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncUserCreate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncUserDelete_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_dataSyncUserUpdate_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_encrypted_message_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_handshake_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_invalid_json.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_membershipRemove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_membershipSet_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_message_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_mixed_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_presence_interval.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_presence_stateChange.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_presence_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_removeMessageAction_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_signal_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_unknownMessageType_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_uuidRemove_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Subscribe/subscription_uuidSet_success.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PubNubUnitTests/Support/Responses/Time/time_success.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"EventEngine/DispatcherTests.swift",
"EventEngine/EventEngineSubscriptionSessionStrategyTests.swift",
"EventEngine/EventEngineTests.swift",
"EventEngine/Presence/HeartbeatEffectTests.swift",
"EventEngine/Presence/LeaveEffectTests.swift",
"EventEngine/Presence/PresenceInputTests.swift",
"EventEngine/Presence/PresenceTransitionTests.swift",
"EventEngine/Presence/WaitEffectTests.swift",
"EventEngine/Subscribe/EmitMessagesTests.swift",
"EventEngine/Subscribe/EmitStatusTests.swift",
"EventEngine/Subscribe/SubscribeEffectsTests.swift",
"EventEngine/Subscribe/SubscribeInputTests.swift",
"EventEngine/Subscribe/SubscribeTransitionTests.swift",
"Extensions/Bool+PubNubTests.swift",
"Extensions/Collection+PubNubTests.swift",
"Extensions/Data+PubNubTests.swift",
"Extensions/DateFormatter+PubNubTests.swift",
"Extensions/DispatchQueue+PubNub.swift",
"Extensions/Error+PubNubTests.swift",
"Extensions/HTTPURLResponse+PubNubTests.swift",
"Extensions/Int+PubNubTests.swift",
"Extensions/OperationQueue+PubNubTests.swift",
"Extensions/Set+PubNubTests.swift",
"Extensions/String+PubNubTests.swift",
"Extensions/URL+PubNubTests.swift",
"Extensions/URLQueryItem+PubNubTests.swift",
"Extensions/URLRequest+PubNubTests.swift",
"Extensions/URLSessionConfiguration+PubNubTests.swift",
"Helpers/AESGCMCryptorTests.swift",
"Helpers/AtomicTests.swift",
"Helpers/ConstantsTests.swift",
"Helpers/CryptoTests.swift",
"Helpers/CryptorHeaderTests.swift",
"Helpers/PAMTokenTests.swift",
"Helpers/ValidatedTests.swift",
"Helpers/WeakBoxTests.swift",
"Helpers/XMLCodingTests.swift",
"JSON/AnyJSON+CodableTests.swift",
"JSON/AnyJSONTests.swift",
"JSON/FlatJSONCodable+Test.swift",
"JSON/JSONPatchOperationTests.swift",
"Networking/DataSync/DataSyncAPITestCase.swift",
"Networking/DataSync/DataSyncChannelAPITests.swift",
"Networking/DataSync/DataSyncEntityAPITests.swift",
"Networking/DataSync/DataSyncErrorAPITests.swift",
"Networking/DataSync/DataSyncMembershipAPITests.swift",
"Networking/DataSync/DataSyncQueryParameterAPITests.swift",
"Networking/DataSync/DataSyncRelationshipAPITests.swift",
"Networking/DataSync/DataSyncResponseTests.swift",
"Networking/DataSync/DataSyncUserAPITests.swift",
"Networking/HTTPRouterTests.swift",
"Networking/Operators/AutomaticRetryTests.swift",
"Networking/Operators/RequestIdOperatorTests.swift",
"Networking/Operators/RequestMutatorTests.swift",
"Networking/Operators/RequestRetrierTests.swift",
"Networking/Routers/ChannelGroupEndpointTests.swift",
"Networking/Routers/DataSyncRouterTests.swift",
"Networking/Routers/FileManagementRouterTests.swift",
"Networking/Routers/HistoryRouterTests.swift",
"Networking/Routers/MessageActionsRouterTests.swift",
"Networking/Routers/ObjectsChannelRouterTests.swift",
"Networking/Routers/ObjectsMembershipsRouterTests.swift",
"Networking/Routers/ObjectsUserRouterTests.swift",
"Networking/Routers/PresenceRouterTests.swift",
"Networking/Routers/PublishRouterTests.swift",
"Networking/Routers/PushRouterTests.swift",
"Networking/Routers/SubscribeRouterTests+AppContext.swift",
"Networking/Routers/SubscribeRouterTests+CoreEvents.swift",
"Networking/Routers/SubscribeRouterTests+Crypto.swift",
"Networking/Routers/SubscribeRouterTests+DataSync.swift",
"Networking/Routers/SubscribeRouterTests+Lifecycle.swift",
"Networking/Routers/SubscribeRouterTests+MessageAction.swift",
"Networking/Routers/SubscribeRouterTests.swift",
"Networking/Routers/TimeRouterTests.swift",
"Networking/Session+EndpointErrorTests.swift",
"Networking/Session+URLErrorTests.swift",
"PubNubConfigurationTests.swift",
"PubNubTests.swift",
"Push/PubNubPushConfigTests.swift",
"Push/PubNubPushTargetTests.swift",
"Subscribe/API/SubscriptionSetTests.swift",
"Subscribe/API/SubscriptionTests.swift",
"Subscribe/Core/SessionStreamTests.swift",
"Subscribe/Core/SubscribeSessionFactoryTests.swift",
"Subscribe/Core/SubscriptionSessionTests.swift",
"Subscribe/Legacy/EventStreamTests.swift",
"Subscribe/Legacy/SubscriptionStreamTests.swift",
"Support/Extensions/EffectInvocation+Equatable.swift",
"Support/Factories/SubscribePayloadFactory.swift",
"Support/Factories/TestPubNubFactory.swift",
"Support/Helpers/DataSyncTestPayloads.swift",
"Support/Helpers/ImportTestResource.swift",
"Support/Helpers/SessionStreamAwait.swift",
"Support/Helpers/TestLogWriter.swift",
"Support/Helpers/TestSetup.swift",
"Support/Helpers/XCTAssertPayload.swift",
"Support/Helpers/XMLEncoder.swift",
"Support/Mocks/MockListener.swift",
"Support/Mocks/MockRequestOperators.swift",
"Support/Mocks/MockURLSession.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "test"
},
{
"c99name" : "PubNubSDK",
"module_type" : "SwiftTarget",
"name" : "PubNubSDK",
"path" : "Sources/PubNub",
"product_memberships" : [
"PubNubSDK",
"misc",
"configuration",
"subscribe-unsubscribe-old",
"access-manager",
"listeners-old",
"data-sync-users",
"data-sync-relationships",
"data-sync-entities",
"data-sync-channels",
"data-sync-memberships",
"pubnub",
"push-notifications",
"publish",
"presence",
"history",
"app-context",
"files",
"channel-group",
"subscriptions",
"logging",
"entities",
"message-actions"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PubNub/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"APIs/ChannelGroups+PubNub.swift",
"APIs/Crypto+PubNub.swift",
"APIs/DataSync+PubNub.swift",
"APIs/File+PubNub.swift",
"APIs/History+PubNub.swift",
"APIs/MessageActions+PubNub.swift",
"APIs/Objects+PubNub.swift",
"APIs/PAM+PubNub.swift",
"APIs/Presence+PubNub.swift",
"APIs/Publish+PubNub.swift",
"APIs/Push+PubNub.swift",
"APIs/Subscribable+PubNub.swift",
"APIs/Time+PubNub.swift",
"DependencyContainer/DependencyContainer.swift",
"Errors/ErrorDescription.swift",
"Errors/PubNubError.swift",
"EventEngine/Core/Dispatcher.swift",
"EventEngine/Core/EffectHandler.swift",
"EventEngine/Core/EventEngine.swift",
"EventEngine/Core/TransitionProtocol.swift",
"EventEngine/Presence/Effects/HeartbeatEffect.swift",
"EventEngine/Presence/Effects/LeaveEffect.swift",
"EventEngine/Presence/Effects/PresenceEffectFactory.swift",
"EventEngine/Presence/Effects/WaitEffect.swift",
"EventEngine/Presence/Helpers/PresenceHeartbeatRequest.swift",
"EventEngine/Presence/Helpers/PresenceInput.swift",
"EventEngine/Presence/Helpers/PresenceLeaveRequest.swift",
"EventEngine/Presence/Presence.swift",
"EventEngine/Presence/PresenceTransition.swift",
"EventEngine/Presence/PubNubPresenceStateContainer.swift",
"EventEngine/Subscribe/Effects/EmitMessagesEffect.swift",
"EventEngine/Subscribe/Effects/EmitStatusEffect.swift",
"EventEngine/Subscribe/Effects/SubscribeEffectFactory.swift",
"EventEngine/Subscribe/Effects/SubscribeEffects.swift",
"EventEngine/Subscribe/Helpers/SubscribeInput.swift",
"EventEngine/Subscribe/Helpers/SubscribeRequest.swift",
"EventEngine/Subscribe/Subscribe.swift",
"EventEngine/Subscribe/SubscribeTransition.swift",
"Extensions/Bool+PubNub.swift",
"Extensions/Collection+PubNub.swift",
"Extensions/Data+PubNub.swift",
"Extensions/DateFormatter+PubNub.swift",
"Extensions/DecodingError+PubNub.swift",
"Extensions/DispatchQueue+PubNub.swift",
"Extensions/Encodable+PubNub.swift",
"Extensions/Error+PubNub.swift",
"Extensions/FileManager+PubNub.swift",
"Extensions/Float32+PubNub.swift",
"Extensions/HTTPURLResponse+PubNub.swift",
"Extensions/InputStream+PubNub.swift",
"Extensions/Int+PubNub.swift",
"Extensions/NSLocking+PubNub.swift",
"Extensions/NSNumber+PubNub.swift",
"Extensions/OperationQueue+PubNub.swift",
"Extensions/Set+PubNub.swift",
"Extensions/String+PubNub.swift",
"Extensions/Thread+PubNub.swift",
"Extensions/URL+PubNub.swift",
"Extensions/URLQueryItem+PubNub.swift",
"Extensions/URLRequest+PubNub.swift",
"Extensions/URLSessionConfiguration+PubNub.swift",
"Helpers/Atomic.swift",
"Helpers/CBOR/CBORDecoder.swift",
"Helpers/CBOR/CBORSerialization.swift",
"Helpers/CaseAccessible.swift",
"Helpers/Constants.swift",
"Helpers/Crypto/Crypto.swift",
"Helpers/Crypto/CryptoModule.swift",
"Helpers/Crypto/Cryptors/AESCBCCryptor.swift",
"Helpers/Crypto/Cryptors/AESGCMCryptor.swift",
"Helpers/Crypto/Cryptors/Cryptor.swift",
"Helpers/Crypto/Cryptors/LegacyCryptor.swift",
"Helpers/Crypto/Header/CryptorHeader.swift",
"Helpers/Crypto/Header/CryptorHeaderWithinStreamFinder.swift",
"Helpers/Crypto/Miscellaneous/CryptoInputStream.swift",
"Helpers/Crypto/Miscellaneous/CryptoStream.swift",
"Helpers/Crypto/Miscellaneous/CryptorUtils.swift",
"Helpers/Crypto/Miscellaneous/CryptorVector.swift",
"Helpers/Crypto/Miscellaneous/Data+CommonCrypto.swift",
"Helpers/OptionalChange.swift",
"Helpers/PAMToken.swift",
"Helpers/Streams/MultipartInputStream.swift",
"Helpers/Typealias+PubNub.swift",
"Helpers/Validated.swift",
"Helpers/WeakBox.swift",
"Helpers/XML/XMLDecoder.swift",
"Helpers/XML/XMLSerialization.swift",
"JSON/AnyJSON.swift",
"JSON/AnyJSONType.swift",
"JSON/FlatJSONCodable.swift",
"JSON/JSONCodable.swift",
"JSON/JSONPatchOperation.swift",
"KMP/Helpers/Dictionary+ObjCRepresentable.swift",
"KMP/Helpers/Int+NSNumber.swift",
"KMP/Helpers/PubNub+URL.swift",
"KMP/KMPPubNub+AppContext.swift",
"KMP/KMPPubNub+ChannelGroups.swift",
"KMP/KMPPubNub+DataSync.swift",
"KMP/KMPPubNub+DataSyncChannels.swift",
"KMP/KMPPubNub+DataSyncEntities.swift",
"KMP/KMPPubNub+DataSyncMemberships.swift",
"KMP/KMPPubNub+DataSyncRelationships.swift",
"KMP/KMPPubNub+DataSyncUsers.swift",
"KMP/KMPPubNub+Files.swift",
"KMP/KMPPubNub+History.swift",
"KMP/KMPPubNub+Listeners.swift",
"KMP/KMPPubNub+MessageActions.swift",
"KMP/KMPPubNub+Presence.swift",
"KMP/KMPPubNub+Publish.swift",
"KMP/KMPPubNub+Push.swift",
"KMP/KMPPubNub+Subscribe.swift",
"KMP/KMPPubNub+Time.swift",
"KMP/KMPPubNub.swift",
"KMP/Wrappers/KMPAnyJSON.swift",
"KMP/Wrappers/KMPAppContextEventResult.swift",
"KMP/Wrappers/KMPAppContextIncludeFields.swift",
"KMP/Wrappers/KMPDataSyncEvent.swift",
"KMP/Wrappers/KMPDataSyncObject.swift",
"KMP/Wrappers/KMPDataSyncPage.swift",
"KMP/Wrappers/KMPDataSyncPatchOperation.swift",
"KMP/Wrappers/KMPEntity.swift",
"KMP/Wrappers/KMPError.swift",
"KMP/Wrappers/KMPEventListener.swift",
"KMP/Wrappers/KMPFetchMessagesResult.swift",
"KMP/Wrappers/KMPFileChangeEvent.swift",
"KMP/Wrappers/KMPHashedPage.swift",
"KMP/Wrappers/KMPHereNowResult.swift",
"KMP/Wrappers/KMPLogLevel.swift",
"KMP/Wrappers/KMPMessage.swift",
"KMP/Wrappers/KMPMessageAction.swift",
"KMP/Wrappers/KMPPAMToken.swift",
"KMP/Wrappers/KMPPresenceChange.swift",
"KMP/Wrappers/KMPStatusListener.swift",
"KMP/Wrappers/KMPSubscription.swift",
"KMP/Wrappers/KMPUploadable.swift",
"Logging/LogMessage.swift",
"Logging/LogMessageConvertible.swift",
"Logging/LogWriter.swift",
"Logging/OSLogger+PubNub.swift",
"Logging/PubNubLogger.swift",
"Models/PubNubAPNSPayload.swift",
"Models/PubNubChannelMetadata.swift",
"Models/PubNubDataSync.swift",
"Models/PubNubDataSyncPage.swift",
"Models/PubNubFCMPayload/FCMAndroidPayload.swift",
"Models/PubNubFCMPayload/FCMWebpushPayload.swift",
"Models/PubNubFCMPayload/PubNubFCMPayload.swift",
"Models/PubNubFile.swift",
"Models/PubNubMembershipMetadata.swift",
"Models/PubNubMessage.swift",
"Models/PubNubMessageAction.swift",
"Models/PubNubObjectMetadataPatcher.swift",
"Models/PubNubPage.swift",
"Models/PubNubPresence.swift",
"Models/PubNubPushMessage.swift",
"Models/PubNubUserMetadata.swift",
"Networking/Convertibles+PubNub.swift",
"Networking/HTTPFileTask.swift",
"Networking/HTTPRouter.swift",
"Networking/HTTPSession.swift",
"Networking/HTTPSessionDelegate.swift",
"Networking/Replaceables+PubNub.swift",
"Networking/Request/Operators/AutomaticRetry.swift",
"Networking/Request/Operators/InstanceIdOperator.swift",
"Networking/Request/Operators/RequestIdOperator.swift",
"Networking/Request/Request.swift",
"Networking/Request/RequestOperator.swift",
"Networking/Response/EndpointResponse.swift",
"Networking/Response/GenericServicePayloadResponse.swift",
"Networking/Response/ResponseOperator.swift",
"Networking/Routers/ChannelGroupsRouter.swift",
"Networking/Routers/DataSyncChannelRouter.swift",
"Networking/Routers/DataSyncEntityRouter.swift",
"Networking/Routers/DataSyncMembershipRouter.swift",
"Networking/Routers/DataSyncRelationshipRouter.swift",
"Networking/Routers/DataSyncRouter.swift",
"Networking/Routers/DataSyncUserRouter.swift",
"Networking/Routers/FileManagementRouter.swift",
"Networking/Routers/HistoryRouter.swift",
"Networking/Routers/MessageActionsRouter.swift",
"Networking/Routers/ObjectsChannelRouter.swift",
"Networking/Routers/ObjectsMembershipsRouter.swift",
"Networking/Routers/ObjectsUserRouter.swift",
"Networking/Routers/PresenceRouter.swift",
"Networking/Routers/PublishRouter.swift",
"Networking/Routers/PushRouter.swift",
"Networking/Routers/Subscribe Payloads/SubscribeDataSyncPayload.swift",
"Networking/Routers/Subscribe Payloads/SubscribeMessageActionPayload.swift",
"Networking/Routers/Subscribe Payloads/SubscribeObjectPayload.swift",
"Networking/Routers/Subscribe Payloads/SubscribePresencePayload.swift",
"Networking/Routers/SubscribeRouter.swift",
"Networking/Routers/TimeRouter.swift",
"Networking/Session/SessionStream.swift",
"PropertyWrappers/BoundedValue.swift",
"PubNub.swift",
"PubNubConfiguration.swift",
"Subscribe/API/EntityHandles.swift",
"Subscribe/API/EventListener.swift",
"Subscribe/API/PubNubDataSyncEvent.swift",
"Subscribe/API/PubNubEvent.swift",
"Subscribe/API/Subscribable.swift",
"Subscribe/API/Subscription.swift",
"Subscribe/API/SubscriptionListenersContainer.swift",
"Subscribe/API/SubscriptionOptions.swift",
"Subscribe/API/SubscriptionSet.swift",
"Subscribe/Core/ConnectionStatus.swift",
"Subscribe/Core/EventEngineSubscriptionSessionStrategy.swift",
"Subscribe/Core/PubNubChannel.swift",
"Subscribe/Core/SubscriptionSession.swift",
"Subscribe/Core/SubscriptionSessionStrategy.swift",
"Subscribe/Legacy/EventStream.swift",
"Subscribe/Legacy/LegacySubscriptionSessionStrategy+Presence.swift",
"Subscribe/Legacy/LegacySubscriptionSessionStrategy.swift",
"Subscribe/Legacy/PubNubEntityEvent.swift",
"Subscribe/Legacy/SubscriptionState.swift",
"Subscribe/Legacy/SubscriptionStream.swift",
"Subscribe/Mapping/SubscribeMessagePayload+PubNubEvent.swift"
],
"type" : "library"
},
{
"c99name" : "misc",
"module_type" : "SwiftTarget",
"name" : "misc",
"path" : "Snippets/Misc",
"product_memberships" : [
"misc"
],
"sources" : [
"misc.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "configuration",
"module_type" : "SwiftTarget",
"name" : "configuration",
"path" : "Snippets/Configuration",
"product_memberships" : [
"configuration"
],
"sources" : [
"configuration.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "subscribe_unsubscribe_old",
"module_type" : "SwiftTarget",
"name" : "subscribe-unsubscribe-old",
"path" : "Snippets/SubscribeOld",
"product_memberships" : [
"subscribe-unsubscribe-old"
],
"sources" : [
"subscribe-unsubscribe-old.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "access_manager",
"module_type" : "SwiftTarget",
"name" : "access-manager",
"path" : "Snippets/AccessManager",
"product_memberships" : [
"access-manager"
],
"sources" : [
"access-manager.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "listeners_old",
"module_type" : "SwiftTarget",
"name" : "listeners-old",
"path" : "Snippets/ListenersOld",
"product_memberships" : [
"listeners-old"
],
"sources" : [
"listeners-old.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "data_sync_users",
"module_type" : "SwiftTarget",
"name" : "data-sync-users",
"path" : "Snippets/DataSync",
"product_memberships" : [
"data-sync-users"
],
"sources" : [
"data-sync-users.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "data_sync_relationships",
"module_type" : "SwiftTarget",
"name" : "data-sync-relationships",
"path" : "Snippets/DataSync",
"product_memberships" : [
"data-sync-relationships"
],
"sources" : [
"data-sync-relationships.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "data_sync_entities",
"module_type" : "SwiftTarget",
"name" : "data-sync-entities",
"path" : "Snippets/DataSync",
"product_memberships" : [
"data-sync-entities"
],
"sources" : [
"data-sync-entities.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "data_sync_channels",
"module_type" : "SwiftTarget",
"name" : "data-sync-channels",
"path" : "Snippets/DataSync",
"product_memberships" : [
"data-sync-channels"
],
"sources" : [
"data-sync-channels.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "data_sync_memberships",
"module_type" : "SwiftTarget",
"name" : "data-sync-memberships",
"path" : "Snippets/DataSync",
"product_memberships" : [
"data-sync-memberships"
],
"sources" : [
"data-sync-memberships.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "pubnub",
"module_type" : "SwiftTarget",
"name" : "pubnub",
"path" : "Snippets/PubNub",
"product_memberships" : [
"pubnub"
],
"sources" : [
"pubnub.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "push_notifications",
"module_type" : "SwiftTarget",
"name" : "push-notifications",
"path" : "Snippets/Push",
"product_memberships" : [
"push-notifications"
],
"sources" : [
"push-notifications.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "publish",
"module_type" : "SwiftTarget",
"name" : "publish",
"path" : "Snippets/Publish",
"product_memberships" : [
"publish"
],
"sources" : [
"publish.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "presence",
"module_type" : "SwiftTarget",
"name" : "presence",
"path" : "Snippets/Presence",
"product_memberships" : [
"presence"
],
"sources" : [
"presence.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "history",
"module_type" : "SwiftTarget",
"name" : "history",
"path" : "Snippets/History",
"product_memberships" : [
"history"
],
"sources" : [
"history.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "app_context",
"module_type" : "SwiftTarget",
"name" : "app-context",
"path" : "Snippets/AppContext",
"product_memberships" : [
"app-context"
],
"sources" : [
"app-context.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "files",
"module_type" : "SwiftTarget",
"name" : "files",
"path" : "Snippets/Files",
"product_memberships" : [
"files"
],
"sources" : [
"files.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "channel_group",
"module_type" : "SwiftTarget",
"name" : "channel-group",
"path" : "Snippets/ChannelGroup",
"product_memberships" : [
"channel-group"
],
"sources" : [
"channel-group.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "subscriptions",
"module_type" : "SwiftTarget",
"name" : "subscriptions",
"path" : "Snippets/SubscribeNew",
"product_memberships" : [
"subscriptions"
],
"sources" : [
"subscriptions.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "logging",
"module_type" : "SwiftTarget",
"name" : "logging",
"path" : "Snippets/Logging",
"product_memberships" : [
"logging"
],
"sources" : [
"logging.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "entities",
"module_type" : "SwiftTarget",
"name" : "entities",
"path" : "Snippets/Entities",
"product_memberships" : [
"entities"
],
"sources" : [
"entities.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
},
{
"c99name" : "message_actions",
"module_type" : "SwiftTarget",
"name" : "message-actions",
"path" : "Snippets/MessageActions",
"product_memberships" : [
"message-actions"
],
"sources" : [
"message-actions.swift"
],
"target_dependencies" : [
"PubNubSDK"
],
"type" : "snippet"
}
],
"tools_version" : "5.9"
}
Done.