Build Information
Successful build of SnowplowTracker, reference master (2dcc74), with Swift 6.1 for macOS (SPM) on 5 Dec 2025 08:12:17 UTC.
Swift 6 data race errors: 41
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[211/223] Compiling SnowplowTracker LogLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[212/223] Compiling SnowplowTracker LoggerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[213/223] Compiling SnowplowTracker PlaformContextRetriever.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[214/223] Compiling SnowplowTracker SessionState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[215/223] Compiling SnowplowTracker View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[216/223] Compiling SnowplowTracker GDPRProcessingBasis.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[217/223] Compiling SnowplowTracker SPSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[218/223] Compiling SnowplowTracker ImmersiveSpaceEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[219/223] Compiling SnowplowTracker WindowGroupEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[220/223] Compiling SnowplowTracker DismissImmersiveSpaceEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[221/223] Compiling SnowplowTracker DismissWindowEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[222/223] Compiling SnowplowTracker OpenImmersiveSpaceEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
[223/223] Compiling SnowplowTracker OpenWindowEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:36:24: warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | @objc(SPSnowplow)
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
| |- warning: static property 'serviceProviderInstances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serviceProviderInstances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serviceProviderInstances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:37:24: warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public class Snowplow: NSObject {
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
| |- warning: static property 'configurationProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configurationProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configurationProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | private static var defaultServiceProvider: ServiceProvider?
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:38:24: warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | private static var serviceProviderInstances: [String : ServiceProvider] = [:]
37 | private static var configurationProvider: RemoteConfigurationProvider?
38 | private static var defaultServiceProvider: ServiceProvider?
| |- warning: static property 'defaultServiceProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultServiceProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultServiceProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Remote Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:345:33: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandler.swift:22:63: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 | ///
21 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
22 | class WebViewMessageHandler: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
23 | /// Callback called when the message handler receives a new message.
24 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:346:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
/Users/admin/builder/spi-builder-workspace/Sources/Core/Tracker/WebViewMessageHandlerV2.swift:23:65: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | ///
22 | /// The handler parses messages from the JavaScript library calls and forwards the tracked events to be tracked by the mobile tracker.
23 | class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'WKScriptMessageHandler'
24 | /// Callback called when the message handler receives a new message.
25 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:348:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
350 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:52: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow.swift:349:30: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
342 | /// - Parameter webViewConfiguration: Configuration of the Web view to subscribe to events from
343 | @objc
344 | public class func subscribeToWebViewEvents(with webViewConfiguration: WKWebViewConfiguration) {
| `- note: add '@MainActor' to make class method 'subscribeToWebViewEvents(with:)' part of global actor 'MainActor'
345 | let messageHandlerOld = WebViewMessageHandler()
346 | let messageHandlerV2 = WebViewMessageHandlerV2()
347 |
348 | webViewConfiguration.userContentController.add(messageHandlerOld, name: "snowplow")
349 | webViewConfiguration.userContentController.add(messageHandlerV2, name: "snowplowV2")
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
350 | }
351 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
| `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
Build complete! (31.98s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/WeTransfer/Mocker.git
[1/2158] Fetching swift-docc-plugin
[23/4047] Fetching swift-docc-plugin, mocker
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
Fetched https://github.com/WeTransfer/Mocker.git from cache (1.22s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (4.95s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Core/CLAUDE.md
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Events/CLAUDE.md
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Configurations/CLAUDE.md
/Users/admin/builder/spi-builder-workspace/Sources/Snowplow/Snowplow-Prefix.pch
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "mocker",
"requirement" : {
"range" : [
{
"lower_bound" : "2.5.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/WeTransfer/Mocker.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SnowplowTracker",
"name" : "SnowplowTracker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SnowplowTracker",
"targets" : [
"SnowplowTracker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests",
"product_dependencies" : [
"Mocker"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/en.lproj/InfoPlist.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Configurations/TestConfigurationBuilder.swift",
"Configurations/TestEmitterConfiguration.swift",
"Configurations/TestFocalMeterConfiguration.swift",
"Configurations/TestMultipleInstances.swift",
"Configurations/TestRemoteConfiguration.swift",
"Configurations/TestTrackerConfiguration.swift",
"Configurations/TestTrackerController.swift",
"Ecommerce/TestEcommerceController.swift",
"Ecommerce/TestEcommerceEntities.swift",
"Ecommerce/TestEcommerceEvents.swift",
"Global Contexts/TestGlobalContexts.swift",
"Global Contexts/TestSchemaRuleset.swift",
"Legacy Tests/LegacyTestSubject.swift",
"Media/TestMediaAdTracking.swift",
"Media/TestMediaController.swift",
"Media/TestMediaEventAndEntitySerialization.swift",
"Media/TestMediaSessionTrackingStats.swift",
"ScreenViewTracking/TestListItemViewModifier.swift",
"ScreenViewTracking/TestScreenState.swift",
"ScreenViewTracking/TestScreenSummaryStateMachine.swift",
"ScreenViewTracking/TestScreenViewModifier.swift",
"Storage/TestDatabase.swift",
"Storage/TestSQLiteEventStore.swift",
"TestDataPersistence.swift",
"TestEmitter.swift",
"TestEvents.swift",
"TestLifecycleState.swift",
"TestLinkDecorator.swift",
"TestLogger.swift",
"TestMemoryEventStore.swift",
"TestNetworkConnection.swift",
"TestPayload.swift",
"TestPlatformContext.swift",
"TestPlugins.swift",
"TestRequest.swift",
"TestRequestResult.swift",
"TestSelfDescribingJson.swift",
"TestServiceProvider.swift",
"TestSession.swift",
"TestStateManager.swift",
"TestSubject.swift",
"TestUtils.swift",
"TestWebViewMessageHandler.swift",
"TestWebViewMessageHandlerV2.swift",
"Tracker/TestTracker.swift",
"Tracker/TestTrackerEvent.swift",
"Utils/DatabaseHelpers.swift",
"Utils/EventSink.swift",
"Utils/MockDeviceInfoMonitor.swift",
"Utils/MockEventStore.swift",
"Utils/MockLoggerDelegate.swift",
"Utils/MockNetworkConnection.swift",
"Utils/MockTimer.swift",
"Utils/MockWKScriptMessage.swift",
"Utils/TimeTraveler.swift",
"VisionOS/TestImmersiveSpaceState.swift",
"VisionOS/TestVisionOSEntities.swift",
"VisionOS/TestVisionOSEvents.swift"
],
"target_dependencies" : [
"SnowplowTracker"
],
"type" : "test"
},
{
"c99name" : "SnowplowTracker",
"module_type" : "SwiftTarget",
"name" : "SnowplowTracker",
"path" : "Sources",
"product_memberships" : [
"SnowplowTracker"
],
"sources" : [
"Core/Emitter/Emitter.swift",
"Core/Emitter/EmitterControllerImpl.swift",
"Core/Emitter/EmitterEventProcessing.swift",
"Core/Events/ScreenEnd.swift",
"Core/GDPR/GDPRContext.swift",
"Core/GDPR/GDPRControllerImpl.swift",
"Core/GlobalContexts/GlobalContextPluginConfiguration.swift",
"Core/GlobalContexts/GlobalContextsControllerImpl.swift",
"Core/GlobalContexts/SchemaRule.swift",
"Core/InternalQueue/EcommerceControllerIQWrapper.swift",
"Core/InternalQueue/EmitterControllerIQWrapper.swift",
"Core/InternalQueue/EventStoreIQWrapper.swift",
"Core/InternalQueue/GDPRControllerIQWrapper.swift",
"Core/InternalQueue/GlobalContextsControllerIQWrapper.swift",
"Core/InternalQueue/InternalQueue.swift",
"Core/InternalQueue/InternalQueueTimer.swift",
"Core/InternalQueue/MediaControllerIQWrapper.swift",
"Core/InternalQueue/MediaTrackingIQWrapper.swift",
"Core/InternalQueue/NetworkControllerIQWrapper.swift",
"Core/InternalQueue/PluginsControllerIQWrapper.swift",
"Core/InternalQueue/SessionControllerIQWrapper.swift",
"Core/InternalQueue/SubjectControllerIQWrapper.swift",
"Core/InternalQueue/TrackerControllerIQWrapper.swift",
"Core/Logger/Logger.swift",
"Core/Media/Controllers/AVPlayerSubscription.swift",
"Core/Media/Controllers/MediaAdTracking.swift",
"Core/Media/Controllers/MediaControllerImpl.swift",
"Core/Media/Controllers/MediaPingInterval.swift",
"Core/Media/Controllers/MediaSessionTracking.swift",
"Core/Media/Controllers/MediaSessionTrackingStats.swift",
"Core/Media/Controllers/MediaTrackingImpl.swift",
"Core/Media/Entities/MediaSessionEntity.swift",
"Core/Media/Events/MediaPercentProgressEvent.swift",
"Core/Media/Events/MediaPingEvent.swift",
"Core/Media/Events/MediaPlayerUpdatingEvent.swift",
"Core/Media/MediaSchemata.swift",
"Core/NetworkConnection/NetworkControllerImpl.swift",
"Core/RemoteConfiguration/RemoteConfigurationBundle.swift",
"Core/RemoteConfiguration/RemoteConfigurationCache.swift",
"Core/RemoteConfiguration/RemoteConfigurationFetcher.swift",
"Core/RemoteConfiguration/RemoteConfigurationProvider.swift",
"Core/ScreenViewTracking/ListItemViewModifier.swift",
"Core/ScreenViewTracking/ScreenState.swift",
"Core/ScreenViewTracking/ScreenStateMachine.swift",
"Core/ScreenViewTracking/ScreenSummaryState.swift",
"Core/ScreenViewTracking/ScreenSummaryStateMachine.swift",
"Core/ScreenViewTracking/ScreenViewModifier.swift",
"Core/ScreenViewTracking/UIKitScreenViewTracking.swift",
"Core/Session/Session.swift",
"Core/Session/SessionControllerImpl.swift",
"Core/StateMachine/DeepLinkState.swift",
"Core/StateMachine/DeepLinkStateMachine.swift",
"Core/StateMachine/ImmersiveSpaceState.swift",
"Core/StateMachine/ImmersiveSpaceStateMachine.swift",
"Core/StateMachine/LifecycleState.swift",
"Core/StateMachine/LifecycleStateMachine.swift",
"Core/StateMachine/PluginStateMachine.swift",
"Core/StateMachine/State.swift",
"Core/StateMachine/StateFuture.swift",
"Core/StateMachine/StateMachineEvent.swift",
"Core/StateMachine/StateMachineProtocol.swift",
"Core/StateMachine/StateManager.swift",
"Core/StateMachine/TrackerState.swift",
"Core/StateMachine/TrackerStateSnapshot.swift",
"Core/Storage/Database.swift",
"Core/Storage/MemoryEventStore.swift",
"Core/Storage/SQLiteEventStore.swift",
"Core/Subject/PlatformContext.swift",
"Core/Subject/Subject.swift",
"Core/Subject/SubjectControllerImpl.swift",
"Core/Tracker/EcommerceControllerImpl.swift",
"Core/Tracker/InstallTracker.swift",
"Core/Tracker/PluginsControllerImpl.swift",
"Core/Tracker/ServiceProvider.swift",
"Core/Tracker/ServiceProviderProtocol.swift",
"Core/Tracker/Tracker.swift",
"Core/Tracker/TrackerControllerImpl.swift",
"Core/Tracker/TrackerDefaults.swift",
"Core/Tracker/TrackerEvent.swift",
"Core/Tracker/WebViewMessageHandler.swift",
"Core/Tracker/WebViewMessageHandlerV2.swift",
"Core/TrackerConstants.swift",
"Core/Utils/DataPersistence.swift",
"Core/Utils/DeviceInfoMonitor.swift",
"Core/Utils/SNOWReachability.swift",
"Core/Utils/Stringb64.swift",
"Core/Utils/Utilities.swift",
"Snowplow/Configurations/ConfigurationBuilder.swift",
"Snowplow/Configurations/ConfigurationBundle.swift",
"Snowplow/Configurations/ConfigurationProtocol.swift",
"Snowplow/Configurations/ConfigurationState.swift",
"Snowplow/Configurations/EmitterConfiguration.swift",
"Snowplow/Configurations/FocalMeterConfiguration.swift",
"Snowplow/Configurations/GDPRConfiguration.swift",
"Snowplow/Configurations/GlobalContextsConfiguration.swift",
"Snowplow/Configurations/NetworkConfiguration.swift",
"Snowplow/Configurations/PlatformContextProperty.swift",
"Snowplow/Configurations/PluginConfiguration.swift",
"Snowplow/Configurations/RemoteConfiguration.swift",
"Snowplow/Configurations/SerializableConfiguration.swift",
"Snowplow/Configurations/SessionConfiguration.swift",
"Snowplow/Configurations/SubjectConfiguration.swift",
"Snowplow/Configurations/TrackerConfiguration.swift",
"Snowplow/Controllers/Controller.swift",
"Snowplow/Controllers/EmitterController.swift",
"Snowplow/Controllers/GDPRController.swift",
"Snowplow/Controllers/GlobalContextsController.swift",
"Snowplow/Controllers/NetworkController.swift",
"Snowplow/Controllers/PluginsController.swift",
"Snowplow/Controllers/SessionController.swift",
"Snowplow/Controllers/SubjectController.swift",
"Snowplow/Controllers/TrackerController.swift",
"Snowplow/Ecommerce/EcommerceController.swift",
"Snowplow/Ecommerce/Entities/CartEntity.swift",
"Snowplow/Ecommerce/Entities/EcommerceScreenEntity.swift",
"Snowplow/Ecommerce/Entities/EcommerceUserEntity.swift",
"Snowplow/Ecommerce/Entities/ProductEntity.swift",
"Snowplow/Ecommerce/Entities/PromotionEntity.swift",
"Snowplow/Ecommerce/Entities/TransactionEntity.swift",
"Snowplow/Ecommerce/Events/AddToCartEvent.swift",
"Snowplow/Ecommerce/Events/CheckoutStepEvent.swift",
"Snowplow/Ecommerce/Events/ProductListClickEvent.swift",
"Snowplow/Ecommerce/Events/ProductListViewEvent.swift",
"Snowplow/Ecommerce/Events/ProductViewEvent.swift",
"Snowplow/Ecommerce/Events/PromotionClickEvent.swift",
"Snowplow/Ecommerce/Events/PromotionViewEvent.swift",
"Snowplow/Ecommerce/Events/RefundEvent.swift",
"Snowplow/Ecommerce/Events/RemoveFromCartEvent.swift",
"Snowplow/Ecommerce/Events/TransactionErrorEvent.swift",
"Snowplow/Ecommerce/Events/TransactionEvent.swift",
"Snowplow/Emitter/BufferOption.swift",
"Snowplow/Emitter/EmitterDefaults.swift",
"Snowplow/Emitter/EmitterEvent.swift",
"Snowplow/Emitter/EventStore.swift",
"Snowplow/Entities/DeepLinkEntity.swift",
"Snowplow/Entities/LifecycleEntity.swift",
"Snowplow/Events/Background.swift",
"Snowplow/Events/ConsentDocument.swift",
"Snowplow/Events/ConsentGranted.swift",
"Snowplow/Events/ConsentWithdrawn.swift",
"Snowplow/Events/DeepLinkReceived.swift",
"Snowplow/Events/Ecommerce.swift",
"Snowplow/Events/EcommerceItem.swift",
"Snowplow/Events/EventBase.swift",
"Snowplow/Events/Foreground.swift",
"Snowplow/Events/ListItemView.swift",
"Snowplow/Events/MessageNotification.swift",
"Snowplow/Events/MessageNotificationAttachment.swift",
"Snowplow/Events/PageView.swift",
"Snowplow/Events/PushNotification.swift",
"Snowplow/Events/SNOWError.swift",
"Snowplow/Events/ScreenView.swift",
"Snowplow/Events/ScrollChanged.swift",
"Snowplow/Events/SelfDescribing.swift",
"Snowplow/Events/Structured.swift",
"Snowplow/Events/Timing.swift",
"Snowplow/Events/TrackerError.swift",
"Snowplow/Events/WebViewReader.swift",
"Snowplow/GlobalContexts/ContextGenerator.swift",
"Snowplow/GlobalContexts/GlobalContext.swift",
"Snowplow/GlobalContexts/SchemaRuleset.swift",
"Snowplow/Media/Configuration/MediaTrackingConfiguration.swift",
"Snowplow/Media/Controllers/MediaController.swift",
"Snowplow/Media/Controllers/MediaTracking.swift",
"Snowplow/Media/Entities/MediaAdBreakEntity.swift",
"Snowplow/Media/Entities/MediaAdEntity.swift",
"Snowplow/Media/Entities/MediaPlayerEntity.swift",
"Snowplow/Media/Events/MediaAdBreakEndEvent.swift",
"Snowplow/Media/Events/MediaAdBreakStartEvent.swift",
"Snowplow/Media/Events/MediaAdClickEvent.swift",
"Snowplow/Media/Events/MediaAdCompleteEvent.swift",
"Snowplow/Media/Events/MediaAdFirstQuartileEvent.swift",
"Snowplow/Media/Events/MediaAdMidpointEvent.swift",
"Snowplow/Media/Events/MediaAdPauseEvent.swift",
"Snowplow/Media/Events/MediaAdResumeEvent.swift",
"Snowplow/Media/Events/MediaAdSkipEvent.swift",
"Snowplow/Media/Events/MediaAdStartEvent.swift",
"Snowplow/Media/Events/MediaAdThirdQuartileEvent.swift",
"Snowplow/Media/Events/MediaBufferEndEvent.swift",
"Snowplow/Media/Events/MediaBufferStartEvent.swift",
"Snowplow/Media/Events/MediaEndEvent.swift",
"Snowplow/Media/Events/MediaErrorEvent.swift",
"Snowplow/Media/Events/MediaFullscreenChangeEvent.swift",
"Snowplow/Media/Events/MediaPauseEvent.swift",
"Snowplow/Media/Events/MediaPictureInPictureChangeEvent.swift",
"Snowplow/Media/Events/MediaPlayEvent.swift",
"Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift",
"Snowplow/Media/Events/MediaQualityChangeEvent.swift",
"Snowplow/Media/Events/MediaReadyEvent.swift",
"Snowplow/Media/Events/MediaSeekEndEvent.swift",
"Snowplow/Media/Events/MediaSeekStartEvent.swift",
"Snowplow/Media/Events/MediaVolumeChangeEvent.swift",
"Snowplow/Network/DefaultNetworkConnection.swift",
"Snowplow/Network/HttpMethodOptions.swift",
"Snowplow/Network/NetworkConnection.swift",
"Snowplow/Network/ProtocolOptions.swift",
"Snowplow/Network/Request.swift",
"Snowplow/Network/RequestCallback.swift",
"Snowplow/Network/RequestResult.swift",
"Snowplow/Payload/Payload.swift",
"Snowplow/Payload/SelfDescribingJson.swift",
"Snowplow/Snowplow.swift",
"Snowplow/Tracker/CrossDeviceParameterConfiguration.swift",
"Snowplow/Tracker/DevicePlatform.swift",
"Snowplow/Tracker/InspectableEvent.swift",
"Snowplow/Tracker/LogLevel.swift",
"Snowplow/Tracker/LoggerDelegate.swift",
"Snowplow/Tracker/PlaformContextRetriever.swift",
"Snowplow/Tracker/SessionState.swift",
"Snowplow/Tracker/View.swift",
"Snowplow/Utils/GDPRProcessingBasis.swift",
"Snowplow/Utils/SPSize.swift",
"Snowplow/VisionOS/Entities/ImmersiveSpaceEntity.swift",
"Snowplow/VisionOS/Entities/WindowGroupEntity.swift",
"Snowplow/VisionOS/Events/DismissImmersiveSpaceEvent.swift",
"Snowplow/VisionOS/Events/DismissWindowEvent.swift",
"Snowplow/VisionOS/Events/OpenImmersiveSpaceEvent.swift",
"Snowplow/VisionOS/Events/OpenWindowEvent.swift"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "IntegrationTests",
"sources" : [
"TestTrackEventsToMicro.swift",
"Utils/Micro.swift"
],
"target_dependencies" : [
"SnowplowTracker"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
Done.