Build Information
Successful build of PubNubSDK, reference 11.1.0 (b59243), with Swift 6.3 for macOS (SPM) on 30 Oct 2026 17:20:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[234/288] Compiling PubNubSDK PubNubChannel.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[235/288] Compiling PubNubSDK SubscriptionSession.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[236/288] Compiling PubNubSDK SubscriptionSessionStrategy.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[237/288] Compiling PubNubSDK EventStream.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[238/288] Compiling PubNubSDK LegacySubscriptionSessionStrategy+Presence.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[239/288] Compiling PubNubSDK LegacySubscriptionSessionStrategy.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[240/288] Compiling PubNubSDK PubNubEntityEvent.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[241/288] Compiling PubNubSDK SubscriptionState.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
122 | }
123 | for event in events {
124 | self?.onEvent?(event)
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
125 | switch event {
126 | case let .messageReceived(message):
/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 [#DeprecatedDeclaration]
149 | extension EventListenerInterface {
150 | func clearCallbacks() {
151 | onEvent = nil
| `- warning: 'onEvent' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
150 | func clearCallbacks() {
151 | onEvent = nil
152 | onEvents = nil
| `- warning: 'onEvents' is deprecated: Use the granular callbacks (onMessage, onSignal, onPresence, etc.) instead [#DeprecatedDeclaration]
153 | onMessage = nil
154 | onSignal = nil
/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 [#DeprecatedDeclaration]
293 | }
294 |
295 | func unsubscribeCleanup(subscribeChange: SubscriptionChangeEvent) {
| `- warning: 'SubscriptionChangeEvent' is deprecated: This enumeration will be removed in future versions [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
273 |
274 | let removedChannels = mutableState.channels
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
119 |
120 | for event in batch {
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
131 |
132 | // Emit Granular Event
/Users/admin/builder/spi-builder-workspace/Sources/PubNub/Subscribe/Legacy/SubscriptionStream.swift:142:14: warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
140 | case let .appContextChanged(appContext):
141 | self.didReceiveAppContextEvent?(appContext)
142 | self.emitDeprecatedObjectMetadataEvent(from: appContext)
| `- warning: 'emitDeprecatedObjectMetadataEvent(from:)' is deprecated [#DeprecatedDeclaration]
143 | case let .messageActionChanged(action):
144 | self.didReceiveMessageAction?(action)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[245/308] Compiling subscribe_unsubscribe_old subscribe-unsubscribe-old.swift
[246/308] Emitting module subscribe_unsubscribe_old
[247/308] Emitting module pubnub
[248/308] Compiling pubnub pubnub.swift
[249/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
50 | // Proceed with decrypted data
51 | }
[250/308] Emitting module misc
[251/308] Compiling push_notifications push-notifications.swift
[252/308] Emitting module push_notifications
[253/308] Compiling logging logging.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:128:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
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 [#no-usage]
129 | // snippet.end
130 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:134:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
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 [#no-usage]
135 | // snippet.end
136 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:145:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
143 | // - .event: Significant event notifications
144 | // - .info: Informational messages
145 | PubNubLogger(levels: [.error, .warn, .event, .info])
| `- warning: result of 'PubNubLogger' initializer is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
108 | configuration: .init(
109 | publishKey: "demo",
[254/308] Emitting module logging
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:128:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
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 [#no-usage]
129 | // snippet.end
130 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:134:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
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 [#no-usage]
135 | // snippet.end
136 |
/Users/admin/builder/spi-builder-workspace/Snippets/Logging/logging.swift:145:1: warning: result of 'PubNubLogger' initializer is unused [#no-usage]
143 | // - .event: Significant event notifications
144 | // - .info: Informational messages
145 | PubNubLogger(levels: [.error, .warn, .event, .info])
| `- warning: result of 'PubNubLogger' initializer is unused [#no-usage]
146 | // snippet.end
147 |
[255/310] Compiling message_actions message-actions.swift
[256/310] Emitting module message_actions
[257/310] Compiling publish publish.swift
[258/310] Emitting module publish
[259/312] Compiling presence presence.swift
/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):
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:116:29: warning: 'uuid' is deprecated: renamed to 'userId' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
| `- 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: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence 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 a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence 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)")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[260/312] Emitting module presence
/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):
<unknown>:0: note: 'success' declared here
/Users/admin/builder/spi-builder-workspace/Snippets/Presence/presence.swift:116:29: warning: 'uuid' is deprecated: renamed to 'userId' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
| `- 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: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence 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 a default value parameter to avoid this warning
| | |- note: provide a default value to avoid this warning
| | `- note: use 'String(describing:)' to silence 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)")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[261/324] Compiling entities entities.swift
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:23:8: warning: result of call to 'channel' is unused [#no-usage]
21 | // snippet.channel-entity
22 | // Create a Pub/Sub channel reference
23 | pubnub.channel("channelName")
| `- warning: result of call to 'channel' is unused [#no-usage]
24 | // snippet.end
25 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:28:8: warning: result of call to 'channelGroup' is unused [#no-usage]
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 [#no-usage]
29 | // snippet.end
30 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:33:8: warning: result of call to 'channelMetadata' is unused [#no-usage]
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 [#no-usage]
34 | // snippet.end
35 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:38:8: warning: result of call to 'userMetadata' is unused [#no-usage]
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 [#no-usage]
39 | // snippet.end
40 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:43:8: warning: result of call to 'dataSyncUser' is unused [#no-usage]
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 [#no-usage]
44 | // snippet.end
45 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:48:8: warning: result of call to 'dataSyncChannel' is unused [#no-usage]
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 [#no-usage]
49 | // snippet.end
50 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:53:8: warning: result of call to 'dataSyncEntity' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
59 | // snippet.end
60 |
[262/324] Emitting module entities
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:23:8: warning: result of call to 'channel' is unused [#no-usage]
21 | // snippet.channel-entity
22 | // Create a Pub/Sub channel reference
23 | pubnub.channel("channelName")
| `- warning: result of call to 'channel' is unused [#no-usage]
24 | // snippet.end
25 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:28:8: warning: result of call to 'channelGroup' is unused [#no-usage]
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 [#no-usage]
29 | // snippet.end
30 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:33:8: warning: result of call to 'channelMetadata' is unused [#no-usage]
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 [#no-usage]
34 | // snippet.end
35 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:38:8: warning: result of call to 'userMetadata' is unused [#no-usage]
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 [#no-usage]
39 | // snippet.end
40 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:43:8: warning: result of call to 'dataSyncUser' is unused [#no-usage]
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 [#no-usage]
44 | // snippet.end
45 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:48:8: warning: result of call to 'dataSyncChannel' is unused [#no-usage]
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 [#no-usage]
49 | // snippet.end
50 |
/Users/admin/builder/spi-builder-workspace/Snippets/Entities/entities.swift:53:8: warning: result of call to 'dataSyncEntity' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
59 | // snippet.end
60 |
[263/324] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
282 | switch event {
283 | case let .messageReceived(message):
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[264/324] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
282 | switch event {
283 | case let .messageReceived(message):
/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
74 | // snippet.end
75 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[265/324] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
68 |
69 | // snippet.did-receive-batch-subscription
70 | listener.didReceiveBatchSubscription = { events in
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
182 |
183 | // snippet.did-receive-subscription-2
184 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead [#DeprecatedDeclaration]
185 | switch event {
186 | // Same content as the above example
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[266/324] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
68 |
69 | // snippet.did-receive-batch-subscription
70 | listener.didReceiveBatchSubscription = { events in
| `- warning: 'didReceiveBatchSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
182 |
183 | // snippet.did-receive-subscription-2
184 | listener.didReceiveSubscription = { event in
| `- warning: 'didReceiveSubscription' is deprecated: Use the granular callbacks (didReceiveMessage, didReceiveSignal, etc.) instead [#DeprecatedDeclaration]
185 | switch event {
186 | // Same content as the above example
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[267/328] Compiling history history.swift
[268/328] Emitting module history
[269/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 [#no-usage]
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 [#no-usage]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
142 | delegate: FileSessionManager(),
143 | delegateQueue: nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[270/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 [#no-usage]
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 [#no-usage]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
142 | delegate: FileSessionManager(),
143 | delegateQueue: nil
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[270/330] Write Objects.LinkFileList
[273/330] Emitting module data_sync_users
[274/330] Compiling data_sync_users data-sync-users.swift
[275/332] Compiling data_sync_entities data-sync-entities.swift
[276/332] Emitting module data_sync_entities
[277/332] Emitting module data_sync_relationships
[278/332] Compiling data_sync_relationships data-sync-relationships.swift
[279/332] Compiling data_sync_channels data-sync-channels.swift
[280/332] Emitting module data_sync_channels
[280/332] Write Objects.LinkFileList
[286/332] Compiling data_sync_memberships data-sync-memberships.swift
[287/332] Emitting module data_sync_memberships
[288/332] Emitting module configuration
[289/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
100 | )
101 |
102 | let pubnub = PubNub(
| `- warning: initialization of immutable value 'pubnub' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
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 [#no-usage]
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 [#no-usage]
141 | // snippet.end
142 | }
[290/332] Emitting module channel_group
[291/332] Compiling channel_group channel-group.swift
[291/332] Write Objects.LinkFileList
[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 [#no-usage]
42 | // snippet.parse-token
43 | // Parse an existing token
44 | pubnub.parse(token: "#yourAuthToken")
| `- warning: result of call to 'parse(token:)' is unused [#no-usage]
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 [#no-usage]
42 | // snippet.parse-token
43 | // Parse an existing token
44 | pubnub.parse(token: "#yourAuthToken")
| `- warning: result of call to 'parse(token:)' is unused [#no-usage]
45 | // snippet.end
46 |
[296/332] Compiling app_context app-context.swift
[297/332] Emitting module app_context
[297/332] Write Objects.LinkFileList
[299/332] Linking subscriptions
[300/332] Linking subscribe-unsubscribe-old
[301/332] Write Objects.LinkFileList
[303/332] Linking push-notifications
[304/332] Linking publish
[305/332] Write Objects.LinkFileList
[307/332] Linking pubnub
[308/332] Linking presence
[309/332] Write Objects.LinkFileList
[311/332] Linking misc
[312/332] Linking history
[313/332] Write Objects.LinkFileList
[315/332] Linking message-actions
[316/332] Linking files
[317/332] Write Objects.LinkFileList
[319/332] Linking logging
[320/332] Linking listeners-old
[321/332] Write Objects.LinkFileList
[322/332] Linking entities
[323/332] Linking data-sync-users
[324/332] Linking data-sync-relationships
[325/332] Linking data-sync-memberships
[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! (14.42s)
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.