Build Information
Successful build of PostHog, reference main (218fb6), with Swift 6.1 for macOS (SPM) on 30 Apr 2026 06:25:12 UTC.
Swift 6 data race errors: 24
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[264/286] Compiling PostHog FileUtils.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[265/286] Compiling PostHog Hedgelog.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[266/286] Compiling PostHog PostHogMulticastCallback.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[267/286] Compiling PostHog Reachability.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[268/286] Compiling PostHog TimeBasedEpochGenerator.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[269/286] Compiling PostHog UIApplication+.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[270/286] Compiling PostHog UIImage+WebP.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[271/286] Compiling PostHog UIWindow+.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[272/286] Compiling PostHog UUIDUtils.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[273/286] Compiling PostHog resource_bundle_accessor.swift
/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:45: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
43 | let secondsPerDay: Double = 86400
44 |
45 | 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
46 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Hedgelog.swift:10:5: warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | var hedgeLogEnabled = false
| |- warning: var 'hedgeLogEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hedgeLogEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hedgeLogEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | func toggleHedgeLog(_ enabled: Bool) {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:144:23: warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: generic class 'PostHogThrottledMulticastCallback' does not conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
142 | func invoke(_ value: T) {
143 | Self.throttleQueue.async { [weak self] in
144 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PostHogThrottledMulticastCallback<T>?' in a '@Sendable' closure
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:147:40: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
98 | /// onViewLayout.invoke(())
99 | /// ```
100 | final class PostHogThrottledMulticastCallback<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
101 | private var callbacks: [UUID: ThrottledCallback] = [:]
102 | private let lock = NSLock()
:
145 | let callbacks = self.lock.withLock { Array(self.callbacks.values) }
146 | for callback in callbacks {
147 | callback.invokeIfReady(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:75:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public enum Connection: CustomStringConvertible {
| `- note: consider making enum 'Connection' conform to the 'Sendable' protocol
65 | case unavailable, wifi, cellular
66 | public var description: String {
:
73 |
74 | @available(*, deprecated, renamed: "unavailable")
75 | public static let none: Connection = .unavailable
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Reachability.Connection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/Reachability.swift:273:47: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
271 |
272 | // notify on the configured `notificationQueue`, or the caller's (i.e. `reachabilitySerialQueue`)
273 | notificationQueue?.async(execute: notify) ?? notify()
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
274 | }
275 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/TimeBasedEpochGenerator.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class TimeBasedEpochGenerator {
| `- note: class 'TimeBasedEpochGenerator' does not conform to the 'Sendable' protocol
11 | static let shared = TimeBasedEpochGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeBasedEpochGenerator' 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
12 |
13 | // Private initializer to prevent multiple instances
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:21: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- 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
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/PostHog/Utils/PostHogMulticastCallback.swift:174:29: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
172 | lastFired = currentTime
173 | DispatchQueue.main.async { [handler] in
174 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | }
176 | }
[274/286] Compiling PostHog SurveyButton.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 |
[275/286] Compiling PostHog SurveyPresentationDetentsRepresentable.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 |
[276/286] Compiling PostHog SwiftUI+Util.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 |
[277/286] Compiling PostHog PostHogDeepLinkListener.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 |
[278/286] 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 |
[279/286] 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 |
[280/286] 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 |
[281/286] 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 |
[282/286] Compiling PostHog PostHogTracingHeadersIntegration.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 |
[283/286] 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 |
[284/286] 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 |
[285/286] Compiling PostHog BundleUtils.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 |
[286/286] 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 |
Build complete! (26.23s)
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/7902] Fetching ohhttpstubs
[318/22804] Fetching ohhttpstubs, quick
[1626/42627] Fetching ohhttpstubs, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.95s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.95s)
Fetched https://github.com/Quick/Nimble.git from cache (1.95s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (5.05s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.59s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.85s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.46s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.70s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.31s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 6.1.0
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"
},
{
"name" : "visionos",
"version" : "1.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_property_filters.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_unknown_question_type.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/PostHogTests/Resources/fixture_survey_unknown_type.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",
"BundleUtilsTest.swift",
"ExampleSanitizer.swift",
"PostHogApiTest.swift",
"PostHogAppLifeCycleIntegrationTest.swift",
"PostHogAutocaptureEventTrackerSpec.swift",
"PostHogAutocaptureIntegrationSpec.swift",
"PostHogConfigTest.swift",
"PostHogContextTest.swift",
"PostHogCrashReportProcessorTest.swift",
"PostHogDebugImageProviderTest.swift",
"PostHogDeepLinkIntegrationTests.swift",
"PostHogDeviceBucketingTests.swift",
"PostHogEnrichedAnalyticsTest.swift",
"PostHogErrorTrackingUtilsTest.swift",
"PostHogExceptionProcessorTest.swift",
"PostHogFeatureFlagsTest.swift",
"PostHogFeatureFlagsV3Test.swift",
"PostHogFileBackedQueueConcurrencyTest.swift",
"PostHogFileBackedQueueTest.swift",
"PostHogIdentityTests.swift",
"PostHogIntegrationInstallationTest.swift",
"PostHogLegacyQueueTest.swift",
"PostHogMulticastCallbackTest.swift",
"PostHogPropertiesSerializationTest.swift",
"PostHogQueueTest.swift",
"PostHogRageClickIntegrationTest.swift",
"PostHogRemoteConfigTest.swift",
"PostHogReplayBufferQueueTest.swift",
"PostHogReplayQueueTest.swift",
"PostHogSDKPersonProfilesTest.swift",
"PostHogSDKTest.swift",
"PostHogSamplingTest.swift",
"PostHogScreenViewIntegrationTest.swift",
"PostHogSessionManagerTest.swift",
"PostHogSessionReplayEventTriggersTest.swift",
"PostHogSessionReplayPluginTest.swift",
"PostHogSessionReplayTest.swift",
"PostHogStackTraceProcessorTest.swift",
"PostHogStorageManagerTest.swift",
"PostHogStorageMergeTest.swift",
"PostHogStorageMigrationTest.swift",
"PostHogStorageTest.swift",
"PostHogSurveyEnumsTest.swift",
"PostHogSurveyEventsTest.swift",
"PostHogSurveysTest.swift",
"PostHogTracingHeadersTest.swift",
"PostHogWebPTest.swift",
"RageClickDetectorTest.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" : [
"AppLifeCycle/ApplicationLifecyclePublisher.swift",
"AppLifeCycle/PostHogAppLifeCycleIntegration.swift",
"AppLifeCycle/PostHogDeepLinkHelper.swift",
"ApplicationViewLayoutPublisher.swift",
"Autocapture/AutocaptureEventProcessing.swift",
"Autocapture/ForwardingPickerViewDelegate.swift",
"Autocapture/PostHogAutocaptureEventTracker.swift",
"Autocapture/PostHogAutocaptureIntegration.swift",
"Autocapture/PostHogRageClickConfig.swift",
"Autocapture/PostHogRageClickIntegration.swift",
"Autocapture/RageClickDetector.swift",
"Autocapture/SwiftUI/View+PostHogLabel.swift",
"Autocapture/UIView+PostHogLabel.swift",
"DI.swift",
"ErrorTracking/Models/PostHogBinaryImageInfo.swift",
"ErrorTracking/Models/PostHogStackFrame.swift",
"ErrorTracking/PostHogCrashReportProcessor.swift",
"ErrorTracking/PostHogErrorTrackingAutoCaptureIntegration.swift",
"ErrorTracking/PostHogErrorTrackingConfig.swift",
"ErrorTracking/PostHogExceptionProcessor.swift",
"ErrorTracking/Utils/PostHogDebugImageProvider.swift",
"ErrorTracking/Utils/PostHogErrorTrackingUtils.swift",
"ErrorTracking/Utils/PostHogStackTraceProcessor.swift",
"Models/PostHogEvent.swift",
"Models/PostHogFeatureFlagResult.swift",
"Models/Surveys/PostHogSurvey+Display.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/PostHogGraphicsImageRenderer.swift",
"Replay/PostHogReplayBufferDelegate.swift",
"Replay/PostHogReplayBufferQueue.swift",
"Replay/PostHogReplayIntegration.swift",
"Replay/PostHogReplayQueue.swift",
"Replay/PostHogSampling.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",
"ScreenViews/ApplicationScreenViewPublisher.swift",
"ScreenViews/PostHogScreenViewIntegration.swift",
"Surveys/BottomSection.swift",
"Surveys/ConfirmationMessage.swift",
"Surveys/Models/PostHogDisplaySurvey.swift",
"Surveys/Models/PostHogDisplaySurveyAppearance.swift",
"Surveys/Models/PostHogDisplaySurveyQuestion.swift",
"Surveys/Models/PostHogNextSurveyQuestion.swift",
"Surveys/Models/PostHogSurveyResponse.swift",
"Surveys/PostHogSurveyIntegration.swift",
"Surveys/PostHogSurveysConfig.swift",
"Surveys/PostHogSurveysDefaultDelegate.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/PostHogDeepLinkListener.swift",
"SwiftUI/PostHogMaskViewModifier.swift",
"SwiftUI/PostHogNoMaskViewModifier.swift",
"SwiftUI/PostHogSwiftUIViewModifiers.swift",
"SwiftUI/PostHogTagViewModifier.swift",
"Tracing/PostHogTracingHeadersIntegration.swift",
"UIViewController.swift",
"Utils/AssociatedKeys.swift",
"Utils/BundleUtils.swift",
"Utils/Data+Gzip.swift",
"Utils/DateUtils.swift",
"Utils/DictUtils.swift",
"Utils/Errors.swift",
"Utils/FileUtils.swift",
"Utils/Hedgelog.swift",
"Utils/PostHogMulticastCallback.swift",
"Utils/Reachability.swift",
"Utils/TimeBasedEpochGenerator.swift",
"Utils/UIApplication+.swift",
"Utils/UIImage+WebP.swift",
"Utils/UIWindow+.swift",
"Utils/UUIDUtils.swift"
],
"target_dependencies" : [
"phlibwebp",
"PHPLCrashReporter"
],
"type" : "library"
},
{
"c99name" : "PHPLCrashReporter",
"module_type" : "ClangTarget",
"name" : "PHPLCrashReporter",
"path" : "vendor/PHPLCrashReporter",
"product_memberships" : [
"PostHog"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/vendor/PHPLCrashReporter/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Dependencies/protobuf-c/protobuf-c/protobuf-c.c",
"Source/CrashReporter.m",
"Source/CrashReporterFramework.m",
"Source/PLCrashAsync.c",
"Source/PLCrashAsyncCompactUnwindEncoding.c",
"Source/PLCrashAsyncDwarfCFAState.cpp",
"Source/PLCrashAsyncDwarfCFAStateEvaluation.cpp",
"Source/PLCrashAsyncDwarfCIE.cpp",
"Source/PLCrashAsyncDwarfEncoding.cpp",
"Source/PLCrashAsyncDwarfExpression.cpp",
"Source/PLCrashAsyncDwarfFDE.cpp",
"Source/PLCrashAsyncDwarfPrimitives.cpp",
"Source/PLCrashAsyncImageList.cpp",
"Source/PLCrashAsyncMObject.c",
"Source/PLCrashAsyncMachExceptionInfo.c",
"Source/PLCrashAsyncMachOImage.c",
"Source/PLCrashAsyncMachOString.c",
"Source/PLCrashAsyncObjCSection.mm",
"Source/PLCrashAsyncSignalInfo.c",
"Source/PLCrashAsyncSymbolication.c",
"Source/PLCrashAsyncThread.c",
"Source/PLCrashAsyncThread_arm.c",
"Source/PLCrashAsyncThread_current.S",
"Source/PLCrashAsyncThread_current.c",
"Source/PLCrashAsyncThread_x86.c",
"Source/PLCrashFrameCompactUnwind.c",
"Source/PLCrashFrameDWARFUnwind.cpp",
"Source/PLCrashFrameStackUnwind.c",
"Source/PLCrashFrameWalker.c",
"Source/PLCrashHostInfo.m",
"Source/PLCrashLogWriter.m",
"Source/PLCrashLogWriterEncoding.c",
"Source/PLCrashMachExceptionPort.m",
"Source/PLCrashMachExceptionPortSet.m",
"Source/PLCrashMachExceptionServer.m",
"Source/PLCrashProcessInfo.m",
"Source/PLCrashReport.m",
"Source/PLCrashReport.pb-c.c",
"Source/PLCrashReportApplicationInfo.m",
"Source/PLCrashReportBinaryImageInfo.m",
"Source/PLCrashReportExceptionInfo.m",
"Source/PLCrashReportMachExceptionInfo.m",
"Source/PLCrashReportMachineInfo.m",
"Source/PLCrashReportProcessInfo.m",
"Source/PLCrashReportProcessorInfo.m",
"Source/PLCrashReportRegisterInfo.m",
"Source/PLCrashReportSignalInfo.m",
"Source/PLCrashReportStackFrameInfo.m",
"Source/PLCrashReportSymbolInfo.m",
"Source/PLCrashReportSystemInfo.m",
"Source/PLCrashReportTextFormatter.m",
"Source/PLCrashReportThreadInfo.m",
"Source/PLCrashReporter.m",
"Source/PLCrashReporterConfig.m",
"Source/PLCrashReporterNSError.m",
"Source/PLCrashSignalHandler.mm",
"Source/PLCrashSysctl.c",
"Source/PLCrashUncaughtExceptionHandler.m",
"Source/dwarf_opstream.cpp"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.