The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of PostHog, reference 3.27.0 (95bba2), with Swift 6.1 for macOS (SPM) on 17 Jun 2025 00:55:58 UTC.

Swift 6 data race errors: 23

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 InferSendableFromCaptures

Build Log

236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[169/195] Compiling PostHog PostHogSurveyQuestion.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[170/195] Compiling PostHog PostHogApi.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[171/195] Compiling PostHog PostHogBatchUploadInfo.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[172/195] Compiling PostHog PostHogConfig.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[173/195] Compiling PostHog PostHogConsumerPayload.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[174/195] Compiling PostHog PostHogContext.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[175/195] Compiling PostHog PostHogExtensions.swift
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:307:16: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
305 |
306 | extension PostHogApi {
307 |     static var jsonDecoder: JSONDecoder = {
    |                |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonDecoder' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         let decoder = JSONDecoder()
309 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:116:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
114 |             if error != nil {
115 |                 hedgeLog("Error calling the batch API: \(String(describing: error)).")
116 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
117 |             }
118 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:178:24: warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
176 |             if error != nil {
177 |                 hedgeLog("Error calling the snapshot API: \(String(describing: error)).")
178 |                 return completion(PostHogBatchUploadInfo(statusCode: nil, error: error))
    |                        |- warning: capture of 'completion' with non-sendable type '(PostHogBatchUploadInfo) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |             }
180 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:238:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
236 |             if error != nil {
237 |                 hedgeLog("Error calling the flags API: \(String(describing: error))")
238 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
239 |             }
240 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogApi.swift:277:24: warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
275 |             if let error {
276 |                 hedgeLog("Error calling the remote config API: \(error.localizedDescription)")
277 |                 return completion(nil, error)
    |                        |- warning: capture of 'completion' with non-sendable type '([String : Any]?, (any Error)?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
278 |             }
279 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:75: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                                           `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:511:50: note: property declared here
 509 | /*! The screen property returns the best screen for the window. If the window only intersects one screen, it returns that screen. If it intersects more than one screen, then it resolves the tie through based on what space it is mostly on. It may return nil if there are no available screens, or it is completely off screen.
 510 |  */
 511 | @property (nullable, readonly, strong) NSScreen *screen;
     |                                                  `- note: property declared here
 512 | @property (nullable, readonly, strong) NSScreen *deepestScreen;
 513 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:41: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
266 |
267 |     /// Retrieves the current screen size of the application window based on platform
268 |     private func getScreenSize() -> CGSize? {
    |                  `- note: add '@MainActor' to make instance method 'getScreenSize()' part of global actor 'MainActor'
269 |         #if os(iOS) || os(tvOS) || os(visionOS)
270 |             return UIApplication.getCurrentWindow(filterForegrounded: false)?.bounds.size
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:273:60: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 |         #elseif os(macOS)
272 |             // NSScreen.frame represents the full screen rectangle and includes any space occupied by menu, dock or camera bezel
273 |             return NSApplication.shared.windows.first { $0.isKeyWindow }?.screen?.frame.size
    |                                                            `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
274 |         #elseif os(watchOS)
275 |             return WKInterfaceDevice.current().screenBounds.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:436:47: note: property declared here
 434 | @property (getter=isDocumentEdited) BOOL documentEdited;
 435 | @property (getter=isVisible, readonly) BOOL visible;
 436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
     |                                               `- note: property declared here
 437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
 438 | @property (readonly) BOOL canBecomeKeyWindow;
/Users/admin/builder/spi-builder-workspace/PostHog/PostHogContext.swift:309:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
307 |             block()
308 |         } else {
309 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
310 |         }
311 |     }
[176/195] Compiling PostHog PostHogSessionReplayConsoleLogConfig.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[177/195] Compiling PostHog RRStyle.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[178/195] Compiling PostHog RRWireframe.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[179/195] Compiling PostHog String+Util.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[180/195] Compiling PostHog UIColor+Util.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[181/195] Compiling PostHog UIImage+Util.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[182/195] Compiling PostHog UITextInputTraits+Util.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[183/195] Compiling PostHog UIView+Util.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[184/195] Compiling PostHog ViewTreeSnapshotStatus.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[185/195] Compiling PostHog ApplicationScreenViewPublisher.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:22:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | final class ApplicationScreenViewPublisher: BaseScreenViewPublisher {
    |             `- note: class 'ApplicationScreenViewPublisher' does not conform to the 'Sendable' protocol
 22 |     static let shared = ApplicationScreenViewPublisher()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ApplicationScreenViewPublisher' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private var hasSwizzled: Bool = false
/Users/admin/builder/spi-builder-workspace/PostHog/Screen Views/ApplicationScreenViewPublisher.swift:148:40: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
146 |             handler(screen)
147 |         } else {
148 |             DispatchQueue.main.async { handler(screen) }
    |                                        |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
149 |         }
150 |     }
[186/195] Compiling PostHog PostHogMaskViewModifier.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[187/195] Compiling PostHog PostHogNoMaskViewModifier.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[188/195] Compiling PostHog PostHogSwiftUIViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[189/195] Compiling PostHog PostHogTagViewModifier.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[190/195] Compiling PostHog UIViewController.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[191/195] Compiling PostHog AssociatedKeys.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[192/195] Compiling PostHog Data+Gzip.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[193/195] Compiling PostHog DateUtils.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[194/195] Compiling PostHog DictUtils.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
[195/195] Compiling PostHog Errors.swift
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:11:16: warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
   |                |- warning: static property 'phForwardingDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phForwardingDelegate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phForwardingDelegate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:12:16: warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | enum AssociatedKeys {
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
   |                |- warning: static property 'phNoCapture' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoCapture' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoCapture' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:13:16: warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     static var phForwardingDelegate: UInt8 = 0
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
   |                |- warning: static property 'phNoMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phNoMask' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phNoMask' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:14:16: warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     static var phNoCapture: UInt8 = 0
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
   |                |- warning: static property 'phTagView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phTagView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phTagView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:15:16: warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     static var phNoMask: UInt8 = 0
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
   |                |- warning: static property 'phView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phView' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phView' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var phLabel: UInt8 = 0
17 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/AssociatedKeys.swift:16:16: warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var phTagView: UInt8 = 0
15 |     static var phView: UInt8 = 0
16 |     static var phLabel: UInt8 = 0
   |                |- warning: static property 'phLabel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'phLabel' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'phLabel' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:33:5: warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | final class PostHogAPIDateFormatter {
   |             `- note: class 'PostHogAPIDateFormatter' does not conform to the 'Sendable' protocol
11 |     private static func getFormatter(with format: String) -> DateFormatter {
12 |         let dateFormatter = DateFormatter()
   :
31 | }
32 |
33 | let apiDateFormatter = PostHogAPIDateFormatter()
   |     |- warning: let 'apiDateFormatter' is not concurrency-safe because non-'Sendable' type 'PostHogAPIDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: add '@MainActor' to make let 'apiDateFormatter' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public func toISO8601String(_ date: Date) -> String {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/DateUtils.swift:43:5: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 |
43 | var now: () -> Date = { Date() }
   |     |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
Build complete! (11.60s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "PostHog",
  "name" : "PostHog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "PostHog",
      "targets" : [
        "PostHog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "phlibwebp",
      "module_type" : "ClangTarget",
      "name" : "phlibwebp",
      "path" : "vendor/libwebp",
      "product_memberships" : [
        "PostHog"
      ],
      "sources" : [
        "alpha_enc.c",
        "alpha_processing.c",
        "alpha_processing_neon.c",
        "alpha_processing_sse2.c",
        "alpha_processing_sse41.c",
        "analysis_enc.c",
        "backward_references_cost_enc.c",
        "backward_references_enc.c",
        "bit_reader_utils.c",
        "bit_writer_utils.c",
        "color_cache_utils.c",
        "config_enc.c",
        "cost.c",
        "cost_enc.c",
        "cost_neon.c",
        "cost_sse2.c",
        "cpu.c",
        "dec.c",
        "dec_clip_tables.c",
        "dec_neon.c",
        "dec_sse2.c",
        "dec_sse41.c",
        "enc.c",
        "enc_neon.c",
        "enc_sse2.c",
        "enc_sse41.c",
        "filter_enc.c",
        "filters.c",
        "filters_neon.c",
        "filters_sse2.c",
        "filters_utils.c",
        "frame_enc.c",
        "histogram_enc.c",
        "huffman_encode_utils.c",
        "huffman_utils.c",
        "iterator_enc.c",
        "lossless.c",
        "lossless_enc.c",
        "lossless_enc_neon.c",
        "lossless_enc_sse2.c",
        "lossless_enc_sse41.c",
        "lossless_neon.c",
        "lossless_sse2.c",
        "lossless_sse41.c",
        "muxedit.c",
        "muxinternal.c",
        "muxread.c",
        "near_lossless_enc.c",
        "palette.c",
        "picture_csp_enc.c",
        "picture_enc.c",
        "picture_psnr_enc.c",
        "picture_rescale_enc.c",
        "picture_tools_enc.c",
        "predictor_enc.c",
        "quant_enc.c",
        "quant_levels_dec_utils.c",
        "quant_levels_utils.c",
        "random_utils.c",
        "rescaler.c",
        "rescaler_neon.c",
        "rescaler_sse2.c",
        "rescaler_utils.c",
        "sharpyuv.c",
        "sharpyuv_cpu.c",
        "sharpyuv_csp.c",
        "sharpyuv_dsp.c",
        "sharpyuv_gamma.c",
        "sharpyuv_neon.c",
        "sharpyuv_sse2.c",
        "ssim.c",
        "ssim_sse2.c",
        "syntax_enc.c",
        "thread_utils.c",
        "token_enc.c",
        "tree_enc.c",
        "upsampling.c",
        "upsampling_neon.c",
        "upsampling_sse2.c",
        "upsampling_sse41.c",
        "utils.c",
        "vp8l_enc.c",
        "webp_enc.c",
        "yuv.c",
        "yuv_neon.c",
        "yuv_sse2.c",
        "yuv_sse41.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PostHogTests",
      "module_type" : "SwiftTarget",
      "name" : "PostHogTests",
      "path" : "PostHogTests",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "OHHTTPStubs",
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_remote_config.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_basic.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_end.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_next.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based_empty.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_response_based_linkert.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_branching_specific.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_device_type.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_event.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_event_repeated.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_conditions_url.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_basic.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_link.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_multiple_choice.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_rating.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_question_single_choice.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_exact.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_icontains.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_is_not.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_not_icontains.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_not_regex.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_url_match_type_regex.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_1.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_2.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/input_3.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_1.webp",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_2.webp",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/output_3.webp",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ApplicationViewLayoutPublisherTest.swift",
        "ExampleSanitizer.swift",
        "PostHogApiTest.swift",
        "PostHogAppLifeCycleIntegrationTest.swift",
        "PostHogAutocaptureEventTrackerSpec.swift",
        "PostHogAutocaptureIntegrationSpec.swift",
        "PostHogConfigTest.swift",
        "PostHogContextTest.swift",
        "PostHogFeatureFlagsTest.swift",
        "PostHogFeatureFlagsV3Test.swift",
        "PostHogFileBackedQueueTest.swift",
        "PostHogIdentityTests.swift",
        "PostHogIntegrationInstallationTest.swift",
        "PostHogLegacyQueueTest.swift",
        "PostHogQueueTest.swift",
        "PostHogRemoteConfigTest.swift",
        "PostHogSDKPersonProfilesTest.swift",
        "PostHogSDKTest.swift",
        "PostHogScreenViewIntegrationTest.swift",
        "PostHogSessionManagerTest.swift",
        "PostHogSessionReplayTest.swift",
        "PostHogStorageManagerTest.swift",
        "PostHogStorageMergeTest.swift",
        "PostHogStorageMigrationTest.swift",
        "PostHogStorageTest.swift",
        "PostHogSurveysTest.swift",
        "PostHogWebPTest.swift",
        "TestUtils/MockApplicationLifecyclePublisher.swift",
        "TestUtils/MockPostHogServer.swift",
        "TestUtils/MockScreenViewPublisher.swift",
        "TestUtils/TestError.swift",
        "TestUtils/TestPostHog.swift",
        "TestUtils/URLSession+body.swift",
        "UUIDTest.swift",
        "UtilsTest.swift"
      ],
      "target_dependencies" : [
        "PostHog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostHog",
      "module_type" : "SwiftTarget",
      "name" : "PostHog",
      "path" : "PostHog",
      "product_memberships" : [
        "PostHog"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PostHog/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "App Life Cycle/ApplicationLifecyclePublisher.swift",
        "App Life Cycle/PostHogAppLifeCycleIntegration.swift",
        "ApplicationViewLayoutPublisher.swift",
        "Autocapture/AutocaptureEventProcessing.swift",
        "Autocapture/ForwardingPickerViewDelegate.swift",
        "Autocapture/PostHogAutocaptureEventTracker.swift",
        "Autocapture/PostHogAutocaptureIntegration.swift",
        "Autocapture/SwiftUI/View+PostHogLabel.swift",
        "Autocapture/UIView+PostHogLabel.swift",
        "DI.swift",
        "Models/PostHogEvent.swift",
        "Models/Surveys/PostHogSurvey.swift",
        "Models/Surveys/PostHogSurveyAppearance.swift",
        "Models/Surveys/PostHogSurveyConditions.swift",
        "Models/Surveys/PostHogSurveyEnums.swift",
        "Models/Surveys/PostHogSurveyQuestion.swift",
        "PostHogApi.swift",
        "PostHogBatchUploadInfo.swift",
        "PostHogConfig.swift",
        "PostHogConsumerPayload.swift",
        "PostHogContext.swift",
        "PostHogExtensions.swift",
        "PostHogFileBackedQueue.swift",
        "PostHogIntegration.swift",
        "PostHogLegacyQueue.swift",
        "PostHogPersonProfiles.swift",
        "PostHogPropertiesSanitizer.swift",
        "PostHogQueue.swift",
        "PostHogRemoteConfig.swift",
        "PostHogSDK.swift",
        "PostHogSessionManager.swift",
        "PostHogStorage.swift",
        "PostHogStorageManager.swift",
        "PostHogSwizzler.swift",
        "PostHogVersion.swift",
        "Replay/ApplicationEventPublisher.swift",
        "Replay/CGColor+Util.swift",
        "Replay/CGSize+Util.swift",
        "Replay/Date+Util.swift",
        "Replay/Float+Util.swift",
        "Replay/MethodSwizzler.swift",
        "Replay/NetworkSample.swift",
        "Replay/Optional+Util.swift",
        "Replay/Plugins/Console Logs/PostHogConsoleLogInterceptor.swift",
        "Replay/Plugins/Console Logs/PostHogLogEntry.swift",
        "Replay/Plugins/Console Logs/PostHogLogLevel.swift",
        "Replay/Plugins/Console Logs/PostHogSessionReplayConsoleLogsPlugin.swift",
        "Replay/Plugins/Network/PostHogSessionReplayNetworkPlugin.swift",
        "Replay/Plugins/Network/URLSessionExtension.swift",
        "Replay/Plugins/Network/URLSessionInterceptor.swift",
        "Replay/Plugins/Network/URLSessionSwizzler.swift",
        "Replay/Plugins/PostHogSessionReplayPlugin.swift",
        "Replay/PostHogReplayIntegration.swift",
        "Replay/PostHogSessionReplayConfig.swift",
        "Replay/PostHogSessionReplayConsoleLogConfig.swift",
        "Replay/RRStyle.swift",
        "Replay/RRWireframe.swift",
        "Replay/String+Util.swift",
        "Replay/UIColor+Util.swift",
        "Replay/UIImage+Util.swift",
        "Replay/UITextInputTraits+Util.swift",
        "Replay/UIView+Util.swift",
        "Replay/ViewTreeSnapshotStatus.swift",
        "Screen Views/ApplicationScreenViewPublisher.swift",
        "Screen Views/PostHogScreenViewIntegration.swift",
        "Surveys/BottomSection.swift",
        "Surveys/ConfirmationMessage.swift",
        "Surveys/PostHogSurveyIntegration.swift",
        "Surveys/QuestionHeader.swift",
        "Surveys/QuestionTypes.swift",
        "Surveys/SurveyDisplayController.swift",
        "Surveys/SurveySheet.swift",
        "Surveys/SurveysRootView.swift",
        "Surveys/SurveysWindow.swift",
        "Surveys/Utils/EdgeBorder.swift",
        "Surveys/Utils/EmojiRating.swift",
        "Surveys/Utils/MultipleChoiceOptions.swift",
        "Surveys/Utils/NumberRating.swift",
        "Surveys/Utils/Resources.swift",
        "Surveys/Utils/SegmentedControl.swift",
        "Surveys/Utils/Survey+Util.swift",
        "Surveys/Utils/SurveyButton.swift",
        "Surveys/Utils/SurveyPresentationDetentsRepresentable.swift",
        "Surveys/Utils/SwiftUI+Util.swift",
        "SwiftUI/PostHogMaskViewModifier.swift",
        "SwiftUI/PostHogNoMaskViewModifier.swift",
        "SwiftUI/PostHogSwiftUIViewModifiers.swift",
        "SwiftUI/PostHogTagViewModifier.swift",
        "UIViewController.swift",
        "Utils/AssociatedKeys.swift",
        "Utils/Data+Gzip.swift",
        "Utils/DateUtils.swift",
        "Utils/DictUtils.swift",
        "Utils/Errors.swift",
        "Utils/FileUtils.swift",
        "Utils/Hedgelog.swift",
        "Utils/Reachability.swift",
        "Utils/ReadWriteLock.swift",
        "Utils/TimeBasedEpochGenerator.swift",
        "Utils/UIApplication+.swift",
        "Utils/UIImage+WebP.swift",
        "Utils/UIWindow+.swift",
        "Utils/UUIDUtils.swift"
      ],
      "target_dependencies" : [
        "phlibwebp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.