Build Information
Successful build of klaviyo-swift-sdk, reference 4.2.1 (0c1084
), with Swift 6.1 for visionOS using Xcode 16.3 on 25 Apr 2025 01:14:27 UTC.
Swift 6 data race errors: 31
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme klaviyo-swift-sdk-Package -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Build Log
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Profile.swift:68:41: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
self.timezone = timezone ?? environment.timeZone()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/ProfileAPIExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Cancellation.swift,\ ConcurrencySupport.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ConcurrencySupport.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift:312:5: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
var _cancellationCancellables: [_CancelToken: Set<AnyCancellable>] = [:]
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift:312:5: note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
var _cancellationCancellables: [_CancelToken: Set<AnyCancellable>] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift:312:5: note: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
var _cancellationCancellables: [_CancelToken: Set<AnyCancellable>] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift:312:5: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
var _cancellationCancellables: [_CancelToken: Set<AnyCancellable>] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Cancellation.swift:118:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
^
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
@frozen public struct AnyHashable {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ConcurrencySupport.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ConcurrencySupport.swift:93:26: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
continuation.yield(element)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ConcurrencySupport.swift:93:26: note: 'element' used after being passed as a 'sending' parameter; Later uses could race
continuation.yield(element)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ConcurrencySupport.swift:93:26: note: access can happen concurrently
continuation.yield(element)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ Create.swift,\ Effect.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Create.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Create.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift:484:20: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
send(transform(action))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift:484:20: note: a function type must be marked '@Sendable' to conform to 'Sendable'
send(transform(action))
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift:484:20: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
send(transform(action))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Effect.swift:484:20: note: a function type must be marked '@Sendable' to conform to 'Sendable'
send(transform(action))
^
SwiftCompile normal arm64 Compiling\ StateChangePublisher.swift,\ StateManagement.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift:14:16: warning: static property 'debouncedPublisher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var debouncedPublisher: (AnyPublisher<KlaviyoState, Never>) -> AnyPublisher<KlaviyoState, Never> = { publisher in
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift:14:16: note: convert 'debouncedPublisher' to a 'let' constant to make 'Sendable' shared state immutable
static var debouncedPublisher: (AnyPublisher<KlaviyoState, Never>) -> AnyPublisher<KlaviyoState, Never> = { publisher in
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift:14:16: note: add '@MainActor' to make static property 'debouncedPublisher' part of global actor 'MainActor'
static var debouncedPublisher: (AnyPublisher<KlaviyoState, Never>) -> AnyPublisher<KlaviyoState, Never> = { publisher in
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift:14:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var debouncedPublisher: (AnyPublisher<KlaviyoState, Never>) -> AnyPublisher<KlaviyoState, Never> = { publisher in
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:565:16: warning: static property 'production' is not concurrency-safe because non-'Sendable' type 'Store<KlaviyoState, KlaviyoAction>' may have shared mutable state; this is an error in the Swift 6 language mode
static let production = Store(
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:153:13: note: generic class 'Store' does not conform to the 'Sendable' protocol
final class Store<State, Action> {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:565:16: note: add '@MainActor' to make static property 'production' part of global actor 'MainActor'
static let production = Store(
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:565:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let production = Store(
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:526:63: warning: 'applicationIconBadgeNumber' was deprecated in visionOS 1.0: Use -[UNUserNotificationCenter setBadgeCount:withCompletionHandler:] instead.
userDefaults.set(UIApplication.shared.applicationIconBadgeNumber, forKey: "badgeCount")
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:130:13: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
environment.emitDeveloperWarning("SDK must be initialized before usage.")
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:187:32: warning: capture of 'pendingRequests' with non-sendable type '[KlaviyoState.PendingRequest]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
for request in pendingRequests {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/KlaviyoState.swift:22:10: note: consider making enum 'PendingRequest' conform to the 'Sendable' protocol
enum PendingRequest: Equatable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:207:26: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
.merge(with: environment.appLifeCycle.lifeCycleEvents().map(\.transformToKlaviyoAction).eraseToEffect())
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:253:66: warning: capture of 'enablement' with non-sendable type 'PushEnablement' in a '@Sendable' closure; this is an error in the Swift 6 language mode
await send(KlaviyoAction.setPushToken(pushToken, enablement))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/Models/PushEnablement.swift:10:13: note: enum 'PushEnablement' does not conform to the 'Sendable' protocol
public enum PushEnablement: String, Codable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'KlaviyoCore'
import KlaviyoCore
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:307:42: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let settings = await environment.getNotificationSettings()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:309:46: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let autoclearing = await environment.getBadgeAutoClearingSetting()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:316:17: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
environment.timer(state.flushInterval)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:364:64: warning: capture of 'request' with non-sendable type 'KlaviyoRequest' in a '@Sendable' closure; this is an error in the Swift 6 language mode
let result = await environment.klaviyoAPI.send(request, numAttempts)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/Networking/KlaviyoRequest.swift:10:15: note: struct 'KlaviyoRequest' does not conform to the 'Sendable' protocol
public struct KlaviyoRequest: Equatable, Codable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:364:36: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let result = await environment.klaviyoAPI.send(request, numAttempts)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:373:17: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
environment.emitDeveloperWarning("Unknown error thrown during request processing \(error)")
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:399:20: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
return environment.timer(state.flushInterval)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:559:53: warning: capture of 'request' with non-sendable type 'KlaviyoRequest' in a '@Sendable' closure; this is an error in the Swift 6 language mode
return .task { .deQueueCompletedResults(request) }
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/Networking/KlaviyoRequest.swift:10:15: note: struct 'KlaviyoRequest' does not conform to the 'Sendable' protocol
public struct KlaviyoRequest: Equatable, Codable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:190:35: warning: sending value of non-Sendable type 'KlaviyoAction' risks causing data races; this is an error in the Swift 6 language mode
await send(.enqueueEvent(event))
~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:190:35: note: sending value of non-Sendable type 'KlaviyoAction' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
await send(.enqueueEvent(event))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:190:35: note: access can happen concurrently
await send(.enqueueEvent(event))
~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:194:35: warning: sending value of non-Sendable type 'KlaviyoAction' risks causing data races; this is an error in the Swift 6 language mode
await send(.enqueueProfile(profile))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:194:35: note: sending value of non-Sendable type 'KlaviyoAction' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
await send(.enqueueProfile(profile))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:194:35: note: access can happen concurrently
await send(.enqueueProfile(profile))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:196:35: warning: sending value of non-Sendable type 'KlaviyoAction' risks causing data races; this is an error in the Swift 6 language mode
await send(.setPushToken(token, enablement))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:196:35: note: sending value of non-Sendable type 'KlaviyoAction' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
await send(.setPushToken(token, enablement))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:196:35: note: access can happen concurrently
await send(.setPushToken(token, enablement))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SwiftDriverJobDiscovery normal arm64 Compiling AggregateEventPayload.swift, CreateEventPayload.swift, CreateProfilePayload.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ Misc.swift,\ Publisher.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Publisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift:82:7: warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
let dso = { () -> UnsafeMutableRawPointer in
^
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutableRawPointer : _Pointer {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift:82:7: note: add '@MainActor' to make let 'dso' part of global actor 'MainActor'
let dso = { () -> UnsafeMutableRawPointer in
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift:82:7: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
let dso = { () -> UnsafeMutableRawPointer in
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Publisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Publisher.swift:56:19: warning: sending 'subscriber' risks causing data races; this is an error in the Swift 6 language mode
defer { subscriber.send(completion: .finished) }
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Publisher.swift:56:19: note: task-isolated 'subscriber' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
defer { subscriber.send(completion: .finished) }
^~~~~~~~~~
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoAPIError.swift, PushBackground.swift, PushEnablement.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ Event.swift,\ LifecycleEventsExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/LifecycleEventsExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift:61:23: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
time: Date = environment.date(),
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift:62:29: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
uniqueId: String = environment.uuid().uuidString) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift:85:16: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
time = environment.date()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift:86:37: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
self.uniqueId = uniqueId ?? environment.uuid().uuidString
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/LifecycleEventsExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling ProfilePayload.swift, PushTokenPayload.swift, UnregisterPushTokenPayload.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ ReducerProtocol.swift,\ Store.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ReducerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/ReducerProtocol.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:284:21: warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
var index = tasks.wrappedValue.startIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift:36:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
final class Box<Wrapped> {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:254:13: warning: sending 'effectCancellable' risks causing data races; this is an error in the Swift 6 language mode
effectCancellable.cancel()
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:254:13: note: task-isolated 'effectCancellable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
effectCancellable.cancel()
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:262:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task(priority: priority) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: note: closure captures 'self' which is accessible to code in the current task
if let task = self.send($0, originatingFrom: action) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:278:21: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
var index = tasks.wrappedValue.startIndex
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:278:21: note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
var index = tasks.wrappedValue.startIndex
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
if let task = self.send($0, originatingFrom: action) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let task = self.send($0, originatingFrom: action) {
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:62: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
if let task = self.send($0, originatingFrom: action) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:62: note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let task = self.send($0, originatingFrom: action) {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:266:19: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
tasks.wrappedValue.append(task)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:266:19: note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
tasks.wrappedValue.append(task)
^~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:284:21: warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
var index = tasks.wrappedValue.startIndex
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Misc.swift:36:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
final class Box<Wrapped> {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:254:13: warning: sending 'effectCancellable' risks causing data races; this is an error in the Swift 6 language mode
effectCancellable.cancel()
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:254:13: note: task-isolated 'effectCancellable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
effectCancellable.cancel()
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:262:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task(priority: priority) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: note: closure captures 'self' which is accessible to code in the current task
if let task = self.send($0, originatingFrom: action) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:278:21: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
var index = tasks.wrappedValue.startIndex
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:278:21: note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
var index = tasks.wrappedValue.startIndex
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
if let task = self.send($0, originatingFrom: action) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:31: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let task = self.send($0, originatingFrom: action) {
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:62: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
if let task = self.send($0, originatingFrom: action) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:265:62: note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let task = self.send($0, originatingFrom: action) {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:266:19: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
tasks.wrappedValue.append(task)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Vendor/ComposableArchitecture/Store.swift:266:19: note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
tasks.wrappedValue.append(task)
^~~~~
SwiftDriverJobDiscovery normal arm64 Compiling AppContextInfo.swift, AppLifeCycleEvents.swift, KlaviyoEnvironment.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ Klaviyo.swift,\ KlaviyoInternal.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources/resource_bundle_accessor.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:154:36: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let enablement = await environment.getNotificationSettings()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:14:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:16:42: note: closure captures 'action' which is accessible to code in the current task
klaviyoSwiftEnvironment.send(action)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:16:42: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
klaviyoSwiftEnvironment.send(action)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:16:42: note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
klaviyoSwiftEnvironment.send(action)
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:169:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:171:34: note: closure captures non-Sendable 'properties'
if let url = properties["url"] as? String, let url = URL(string: url) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:172:50: note: closure captures non-Sendable 'deepLinkHandler'
if let deepLinkHandler = deepLinkHandler {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:178:21: note: closure captures non-Sendable 'completionHandler'
completionHandler()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:171:34: warning: sending 'properties' risks causing data races; this is an error in the Swift 6 language mode
if let url = properties["url"] as? String, let url = URL(string: url) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:171:34: note: task-isolated 'properties' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let url = properties["url"] as? String, let url = URL(string: url) {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:172:50: warning: sending 'deepLinkHandler' risks causing data races; this is an error in the Swift 6 language mode
if let deepLinkHandler = deepLinkHandler {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:172:50: note: task-isolated 'deepLinkHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
if let deepLinkHandler = deepLinkHandler {
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:178:21: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
completionHandler()
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Klaviyo.swift:178:21: note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
completionHandler()
^~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:16:16: warning: static property 'cancellable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var cancellable: Cancellable?
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:16:16: note: convert 'cancellable' to a 'let' constant to make 'Sendable' shared state immutable
static var cancellable: Cancellable?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:16:16: note: add '@MainActor' to make static property 'cancellable' part of global actor 'MainActor'
static var cancellable: Cancellable?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:16:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var cancellable: Cancellable?
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Emitting module for KlaviyoSwift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftDriver\ Compilation\ Requirements KlaviyoSwift normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoSwift -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling Profile.swift, ProfileAPIExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftDriver\ Compilation KlaviyoCore normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoCore -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KlaviyoSwift-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-Swift.h (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KlaviyoSwift-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftmodule (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.swiftmodule
SwiftDriverJobDiscovery normal arm64 Compiling Cancellation.swift, ConcurrencySupport.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftdoc (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.abi.json (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftsourceinfo (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwiftExtension.o (in target 'KlaviyoSwiftExtension' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwiftExtension.o
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AnyCodable.o (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/AnyCodable.o
SwiftDriver KlaviyoForms normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoForms -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.o normal (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.o
SwiftDriverJobDiscovery normal arm64 Compiling Create.swift, Effect.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoSwiftEnvironment.swift, Error.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ KlaviyoSDK+Forms.swift,\ PreviewGridViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoSDK+Forms.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewGridViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoSDK+Forms.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewGridViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ KlaviyoForms (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
EmitSwiftModule normal arm64 (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'IAFPresentationManager' may have shared mutable state; this is an error in the Swift 6 language mode
static let shared = IAFPresentationManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:14:7: note: class 'IAFPresentationManager' does not conform to the 'Sendable' protocol
class IAFPresentationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
static let shared = IAFPresentationManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let shared = IAFPresentationManager()
^
nonisolated(unsafe)
@__swiftmacro_12KlaviyoForms0035KlaviyoWebViewControllerswift_IgGGkfMX269_0_33_28A03C75E1B3310DABB1F33B98A888C7Ll7PreviewfMf_.swift:25:21: warning: reference to var 'klaviyoSwiftEnvironment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
_ = klaviyoSwiftEnvironment.send(.initialize(companyId))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: var declared here
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'KlaviyoWebViewOverlayManager' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = KlaviyoWebViewOverlayManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:12:7: note: class 'KlaviyoWebViewOverlayManager' does not conform to the 'Sendable' protocol
class KlaviyoWebViewOverlayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = KlaviyoWebViewOverlayManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = KlaviyoWebViewOverlayManager()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ WKNavigationEvent.swift,\ Logger+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Models/WKNavigationEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Models/WKNavigationEvent.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/Logger+Ext.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var subsystem = "com.klaviyo.klaviyo-swift-sdk.klaviyoForms"
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ PreviewTabViewController.swift,\ PreviewWebViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewTabViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewWebViewModel.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewTabViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development\ Assets/PreviewWebViewModel.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:36:26: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let script = WKUserScript(source: toggleHandlerScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:32:25: note: add '@MainActor' to make static method 'initializeLoadScripts()' part of global actor 'MainActor'
private static func initializeLoadScripts() -> Set<WKUserScript> {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:41:26: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let script = WKUserScript(source: closeHandlerScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:32:25: note: add '@MainActor' to make static method 'initializeLoadScripts()' part of global actor 'MainActor'
private static func initializeLoadScripts() -> Set<WKUserScript> {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:115:62: warning: main actor-isolated property 'name' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let handler = MessageHandler(rawValue: message.name) else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h:57:49: note: property declared here
@property (nonatomic, readonly, copy) NSString *name;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:114:10: note: add '@MainActor' to make instance method 'handleScriptMessage' part of global actor 'MainActor'
func handleScriptMessage(_ message: WKScriptMessage) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:122:38: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let dict = message.body as? [String: AnyObject] else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h:47:42: note: property declared here
@property (nonatomic, readonly, copy) id body;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:114:10: note: add '@MainActor' to make instance method 'handleScriptMessage' part of global actor 'MainActor'
func handleScriptMessage(_ message: WKScriptMessage) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:138:54: warning: non-sendable result type 'Any' cannot be sent from main actor-isolated context in call to instance method 'evaluateJavaScript'; this is an error in the Swift 6 language mode
let result = try await delegate?.evaluateJavaScript(script)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:60:24: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
await delegate.preloadUrl()
~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:60:24: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'preloadUrl()' risks causing races in between task-isolated and main actor-isolated uses
await delegate.preloadUrl()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:70:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
group.addTask { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:71:31: note: closure captures 'self' which is accessible to code in the current task
guard let self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:136:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:138:44: note: closure captures 'self' which is accessible to code in the current task
let result = try await delegate?.evaluateJavaScript(script)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:147:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:148:23: note: closure captures 'self' which is accessible to code in the current task
await delegate?.dismiss()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:138:54: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
let result = try await delegate?.evaluateJavaScript(script)
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:138:54: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'evaluateJavaScript' risks causing races in between task-isolated and main actor-isolated uses
let result = try await delegate?.evaluateJavaScript(script)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:148:33: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
await delegate?.dismiss()
~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/PreviewWebViewModel.swift:148:33: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'dismiss()' risks causing races in between task-isolated and main actor-isolated uses
await delegate?.dismiss()
^
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ IAFPresentationManager.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources/resource_bundle_accessor.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'IAFPresentationManager' may have shared mutable state; this is an error in the Swift 6 language mode
static let shared = IAFPresentationManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:14:7: note: class 'IAFPresentationManager' does not conform to the 'Sendable' protocol
class IAFPresentationManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
static let shared = IAFPresentationManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:15:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let shared = IAFPresentationManager()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:48:17: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
environment.emitDeveloperWarning("SDK must be initialized before usage.")
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:57:37: warning: sending 'viewModel' risks causing data races; this is an error in the Swift 6 language mode
try await viewModel.preloadWebsite(timeout: NetworkSession.networkTimeout)
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFPresentationManager.swift:57:37: note: sending main actor-isolated 'viewModel' to nonisolated instance method 'preloadWebsite(timeout:)' risks causing data races between nonisolated and main actor-isolated uses
try await viewModel.preloadWebsite(timeout: NetworkSession.networkTimeout)
^
SwiftDriverJobDiscovery normal arm64 Compiling Event.swift, LifecycleEventsExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ KlaviyoWebViewController.swift,\ KlaviyoWebViewDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewDelegate.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:19:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let config = WKWebViewConfiguration()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:21:12: warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
config.websiteDataStore = WKWebsiteDataStore.default()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: mutation of this property is only permitted within the actor
@property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:21:50: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
config.websiteDataStore = WKWebsiteDataStore.default()
^
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
@MainActor open class func `default`() -> WKWebsiteDataStore}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:23:19: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let webView = WKWebView(frame: .zero, configuration: config)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:114:1: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:24:13: warning: main actor-isolated property 'isOpaque' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
webView.isOpaque = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:305:56: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isOpaque) BOOL opaque; // default is YES. opaque views must fill their entire bounds or the results are undefined. the active CGContext in drawRect: will not have been cleared and may have non-zeroed pixels
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:25:24: warning: main actor-isolated property 'contentInsetAdjustmentBehavior' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
webView.scrollView.contentInsetAdjustmentBehavior = .never
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:76:65: note: mutation of this property is only permitted within the actor
@property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:25:13: warning: main actor-isolated property 'scrollView' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
webView.scrollView.contentInsetAdjustmentBehavior = .never
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:468:55: note: mutation of this property is only permitted within the actor
@property (nonatomic, readonly, strong) UIScrollView *scrollView;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:30:17: warning: main actor-isolated property 'isInspectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
webView.isInspectable = true
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:662:50: note: mutation of this property is only permitted within the actor
@property (nonatomic, getter=isInspectable) BOOL inspectable NS_SWIFT_NAME(isInspectable) API_AVAILABLE(macos(13.3), ios(16.4));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:18:14: note: add '@MainActor' to make global function 'createDefaultWebView()' part of global actor 'MainActor'
private func createDefaultWebView() -> WKWebView {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:159:9: warning: expression implicitly coerced from 'Any?' to 'Any'
try await webView.evaluateJavaScript(script)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:159:13: note: provide a default value to avoid this warning
try await webView.evaluateJavaScript(script)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:159:13: note: force-unwrap the value to avoid this warning
try await webView.evaluateJavaScript(script)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:159:13: note: explicitly cast to 'Any' with 'as Any' to silence this warning
try await webView.evaluateJavaScript(script)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as Any
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:247:26: warning: call to main actor-isolated initializer 'init(viewModel:webViewFactory:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let viewController = KlaviyoWebViewController(viewModel: viewModel)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:50:5: note: calls to initializer 'init(viewModel:webViewFactory:)' from outside of its actor context are implicitly asynchronous
init(viewModel: KlaviyoWebViewModeling, webViewFactory: @escaping () -> WKWebView = createDefaultWebView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:50:5: note: main actor isolation inferred from inheritance from class 'UIViewController'
init(viewModel: KlaviyoWebViewModeling, webViewFactory: @escaping () -> WKWebView = createDefaultWebView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:251:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let parentViewController = PreviewTabViewController()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:253:26: warning: call to main actor-isolated instance method 'addChild' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
parentViewController.addChild(viewController)
^
UIKit.UIViewController.addChild:3:24: note: calls to instance method 'addChild' from outside of its actor context are implicitly asynchronous
@MainActor open func addChild(_ childController: UIViewController)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:254:31: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
parentViewController.view.addSubview(viewController.view)
^
UIKit.UIView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
@MainActor open func addSubview(_ view: UIView)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:254:26: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
parentViewController.view.addSubview(viewController.view)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:254:57: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
parentViewController.view.addSubview(viewController.view)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:255:20: warning: call to main actor-isolated instance method 'didMove(toParent:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController.didMove(toParent: parentViewController)
^
UIKit.UIViewController.didMove:3:24: note: calls to instance method 'didMove(toParent:)' from outside of its actor context are implicitly asynchronous
@MainActor open func didMove(toParent parent: UIViewController?)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:257:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:464:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:257:20: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.translatesAutoresizingMaskIntoConstraints = false
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:258:24: warning: call to main actor-isolated class method 'activate' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
NSLayoutConstraint.activate([
^
UIKit.NSLayoutConstraint.activate:3:30: note: calls to class method 'activate' from outside of its actor context are implicitly asynchronous
@MainActor open class func activate(_ constraints: [NSLayoutConstraint])}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:259:39: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController.view.topAnchor.constraint(equalTo: parentViewController.view.topAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:259:29: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.topAnchor.constraint(equalTo: parentViewController.view.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:576:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:259:24: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.topAnchor.constraint(equalTo: parentViewController.view.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:259:85: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.topAnchor.constraint(equalTo: parentViewController.view.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:576:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:259:80: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.topAnchor.constraint(equalTo: parentViewController.view.topAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:260:42: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController.view.bottomAnchor.constraint(equalTo: parentViewController.view.bottomAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:260:29: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.bottomAnchor.constraint(equalTo: parentViewController.view.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:577:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:260:24: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.bottomAnchor.constraint(equalTo: parentViewController.view.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:260:88: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.bottomAnchor.constraint(equalTo: parentViewController.view.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:577:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:260:83: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.bottomAnchor.constraint(equalTo: parentViewController.view.bottomAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:261:43: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController.view.leadingAnchor.constraint(equalTo: parentViewController.view.leadingAnchor),
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:261:29: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.leadingAnchor.constraint(equalTo: parentViewController.view.leadingAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:572:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:261:24: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.leadingAnchor.constraint(equalTo: parentViewController.view.leadingAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:261:89: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.leadingAnchor.constraint(equalTo: parentViewController.view.leadingAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:572:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:261:84: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.leadingAnchor.constraint(equalTo: parentViewController.view.leadingAnchor),
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:262:44: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
viewController.view.trailingAnchor.constraint(equalTo: parentViewController.view.trailingAnchor)
^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:262:29: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.trailingAnchor.constraint(equalTo: parentViewController.view.trailingAnchor)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:573:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:262:24: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.trailingAnchor.constraint(equalTo: parentViewController.view.trailingAnchor)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:262:90: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.trailingAnchor.constraint(equalTo: parentViewController.view.trailingAnchor)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:573:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:262:85: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
viewController.view.trailingAnchor.constraint(equalTo: parentViewController.view.trailingAnchor)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:116:54: note: property declared here
@property(null_resettable, nonatomic,strong) UIView *view; // The getter first invokes [self loadView] if the view hasn't been set yet. Subclasses must call super if they override the setter or getter.
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:246:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
@__swiftmacro_12KlaviyoForms0035KlaviyoWebViewControllerswift_IgGGkfMX269_0_33_28A03C75E1B3310DABB1F33B98A888C7Ll7PreviewfMf_.swift:25:21: warning: reference to var 'klaviyoSwiftEnvironment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
_ = klaviyoSwiftEnvironment.send(.initialize(companyId))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: var declared here
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:247:26: warning: sending 'viewModel' risks causing data races; this is an error in the Swift 6 language mode
let viewController = KlaviyoWebViewController(viewModel: viewModel)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:247:26: note: sending task-isolated 'viewModel' to main actor-isolated initializer 'init(viewModel:webViewFactory:)' risks causing data races between main actor-isolated and task-isolated uses
let viewController = KlaviyoWebViewController(viewModel: viewModel)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewDelegate.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
@__swiftmacro_12KlaviyoForms0035KlaviyoWebViewControllerswift_IgGGkfMX269_0_33_28A03C75E1B3310DABB1F33B98A888C7Ll7PreviewfMf_.swift:25:21: warning: reference to var 'klaviyoSwiftEnvironment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
_ = klaviyoSwiftEnvironment.send(.initialize(companyId))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:270:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: var declared here
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
SwiftDriverJobDiscovery normal arm64 Compiling ReducerProtocol.swift, Store.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ ResourceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/ResourceLoader.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/ResourceLoader.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling APIRequestErrorHandling.swift, KlaviyoState.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ IAFWebViewModel.swift,\ IAFNativeBridgeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/IAFNativeBridgeEvent.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:36:22: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
var apiURL = environment.cdnURL()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:56:16: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
return WKUserScript(source: klaviyoJsScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:60:23: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let sdkName = environment.sdkName()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:62:16: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
return WKUserScript(source: sdkNameScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:66:26: warning: reference to var 'environment' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
let sdkVersion = environment.sdkVersion()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:68:16: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
return WKUserScript(source: sdkVersionScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:74:16: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
return WKUserScript(source: handshakeScript, injectionTime: .atDocumentEnd, forMainFrameOnly: true)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h:64:1: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
- (instancetype)initWithSource:(NSString *)source injectionTime:(WKUserScriptInjectionTime)injectionTime forMainFrameOnly:(BOOL)forMainFrameOnly;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:144:62: warning: main actor-isolated property 'name' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let handler = MessageHandler(rawValue: message.name) else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h:57:49: note: property declared here
@property (nonatomic, readonly, copy) NSString *name;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:143:10: note: add '@MainActor' to make instance method 'handleScriptMessage' part of global actor 'MainActor'
func handleScriptMessage(_ message: WKScriptMessage) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:151:44: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let jsonString = message.body as? String else { return }
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h:47:42: note: property declared here
@property (nonatomic, readonly, copy) id body;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:143:10: note: add '@MainActor' to make instance method 'handleScriptMessage' part of global actor 'MainActor'
func handleScriptMessage(_ message: WKScriptMessage) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:185:30: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if UIApplication.shared.canOpenURL(url) {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:165:18: note: add '@MainActor' to make instance method 'handleNativeBridgeEvent' part of global actor 'MainActor'
private func handleNativeBridgeEvent(_ event: IAFNativeBridgeEvent) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:186:38: warning: call to main actor-isolated instance method 'open(_:options:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
UIApplication.shared.open(url)
^
UIKit.UIApplication.open:3:24: note: calls to instance method 'open(_:options:completionHandler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func open(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey : Any] = [:], completionHandler completion: (@MainActor @Sendable (Bool) -> Void)? = nil)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:165:18: note: add '@MainActor' to make instance method 'handleNativeBridgeEvent' part of global actor 'MainActor'
private func handleNativeBridgeEvent(_ event: IAFNativeBridgeEvent) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:186:31: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
UIApplication.shared.open(url)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:165:18: note: add '@MainActor' to make instance method 'handleNativeBridgeEvent' part of global actor 'MainActor'
private func handleNativeBridgeEvent(_ event: IAFNativeBridgeEvent) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:99:24: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
await delegate.preloadUrl()
~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:99:24: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'preloadUrl()' risks causing races in between task-isolated and main actor-isolated uses
await delegate.preloadUrl()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:113:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
group.addTask { [weak self] in
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:114:31: note: closure captures 'self' which is accessible to code in the current task
guard let self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:174:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:175:23: note: closure captures 'self' which is accessible to code in the current task
await delegate?.dismiss()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:192:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
Task {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:193:23: note: closure captures 'self' which is accessible to code in the current task
await delegate?.dismiss()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:175:33: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
await delegate?.dismiss()
~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:175:33: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'dismiss()' risks causing races in between task-isolated and main actor-isolated uses
await delegate?.dismiss()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:193:33: warning: sending value of non-Sendable type 'any KlaviyoWebViewDelegate' risks causing data races; this is an error in the Swift 6 language mode
await delegate?.dismiss()
~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:193:33: note: sending task-isolated value of non-Sendable type 'any KlaviyoWebViewDelegate' to main actor-isolated instance method 'dismiss()' risks causing races in between task-isolated and main actor-isolated uses
await delegate?.dismiss()
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/IAFNativeBridgeEvent.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling Misc.swift, Publisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ WebViewConsoleRelayMessage.swift,\ KlaviyoWebViewOverlayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/WebViewConsoleRelayMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/WebViewConsoleRelayMessage.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'KlaviyoWebViewOverlayManager' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = KlaviyoWebViewOverlayManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:12:7: note: class 'KlaviyoWebViewOverlayManager' does not conform to the 'Sendable' protocol
class KlaviyoWebViewOverlayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = KlaviyoWebViewOverlayManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebViewOverlayManager.swift:13:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = KlaviyoWebViewOverlayManager()
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, Klaviyo.swift, KlaviyoInternal.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ KlaviyoWebViewModeling.swift,\ PreloadError.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewModeling.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/PreloadError.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewModeling.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/PreloadError.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling StateChangePublisher.swift, StateManagement.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftDriver\ Compilation KlaviyoSwift normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoSwift -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling WKNavigationEvent.swift, Logger+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ UIApplication+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/UIApplication+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/Utilities/UIApplication+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, IAFPresentationManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
ExtractAppIntentsMetadata (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name KlaviyoCore --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk --xcode-version 16E140 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.KlaviyoCore --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/KlaviyoCore.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/KlaviyoCore.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoCore.build/Objects-normal/arm64/KlaviyoCore.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-24 18:14:25.039 appintentsmetadataprocessor[1141:5656] Starting appintentsmetadataprocessor export
2025-04-24 18:14:25.080 appintentsmetadataprocessor[1141:5656] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.o (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoCore.o
SwiftDriverJobDiscovery normal arm64 Compiling ResourceLoader.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.o normal (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.o
SwiftDriverJobDiscovery normal arm64 Emitting module for KlaviyoForms (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriver\ Compilation\ Requirements KlaviyoForms normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoForms -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KlaviyoForms-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-Swift.h (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KlaviyoForms-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftdoc (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.abi.json (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftsourceinfo (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoSDK+Forms.swift, PreviewGridViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
ExtractAppIntentsMetadata (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name KlaviyoSwift --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk --xcode-version 16E140 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.KlaviyoSwift --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/KlaviyoSwift.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/KlaviyoSwift.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoSwift.build/Objects-normal/arm64/KlaviyoSwift.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-24 18:14:25.172 appintentsmetadataprocessor[1144:5674] Starting appintentsmetadataprocessor export
2025-04-24 18:14:25.211 appintentsmetadataprocessor[1144:5674] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.o (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoSwift.o
SwiftDriverJobDiscovery normal arm64 Compiling UIApplication+Ext.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoWebViewModeling.swift, PreloadError.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling PreviewTabViewController.swift, PreviewWebViewModel.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling IAFWebViewModel.swift, IAFNativeBridgeEvent.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoWebViewController.swift, KlaviyoWebViewDelegate.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling WebViewConsoleRelayMessage.swift, KlaviyoWebViewOverlayManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriver\ Compilation KlaviyoForms normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KlaviyoForms -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.o normal (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.o
ExtractAppIntentsMetadata (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name KlaviyoForms --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk --xcode-version 16E140 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.KlaviyoForms --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/KlaviyoForms.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/KlaviyoForms.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/klaviyo-swift-sdk.build/Debug-xros/KlaviyoForms.build/Objects-normal/arm64/KlaviyoForms.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-24 18:14:26.209 appintentsmetadataprocessor[1147:5693] Starting appintentsmetadataprocessor export
2025-04-24 18:14:26.243 appintentsmetadataprocessor[1147:5693] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.o (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KlaviyoForms.o
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "combine-schedulers",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/combine-schedulers"
}
],
"manifest_display_name" : "klaviyo-swift-sdk",
"name" : "klaviyo-swift-sdk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "KlaviyoSwift",
"targets" : [
"KlaviyoSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KlaviyoForms",
"targets" : [
"KlaviyoForms"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KlaviyoSwiftExtension",
"targets" : [
"KlaviyoSwiftExtension"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KlaviyoSwiftTests",
"module_type" : "SwiftTarget",
"name" : "KlaviyoSwiftTests",
"path" : "Tests/KlaviyoSwiftTests",
"product_dependencies" : [
"SnapshotTesting",
"CustomDump",
"CasePaths",
"CombineSchedulers"
],
"sources" : [
"APIRequestErrorHandlingTests.swift",
"AppLifeCycleEventsTests.swift",
"EncodableTests.swift",
"EventTests.swift",
"KlaviyoModelsTest.swift",
"KlaviyoSDKTests.swift",
"KlaviyoStateTests.swift",
"KlaviyoTestUtils.swift",
"StateChangePublisherTests.swift",
"StateManagementEdgeCaseTests.swift",
"StateManagementTests.swift",
"TestData.swift",
"Vendor/ComposableArchitecture/TestStore.swift"
],
"target_dependencies" : [
"KlaviyoSwift",
"KlaviyoCore"
],
"type" : "test"
},
{
"c99name" : "KlaviyoSwiftExtension",
"module_type" : "SwiftTarget",
"name" : "KlaviyoSwiftExtension",
"path" : "Sources/KlaviyoSwiftExtension",
"product_memberships" : [
"KlaviyoSwiftExtension"
],
"sources" : [
"KlaviyoExtension.swift"
],
"type" : "library"
},
{
"c99name" : "KlaviyoSwift",
"module_type" : "SwiftTarget",
"name" : "KlaviyoSwift",
"path" : "Sources/KlaviyoSwift",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"KlaviyoSwift",
"KlaviyoForms"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Klaviyo.swift",
"KlaviyoInternal.swift",
"KlaviyoSwiftEnvironment.swift",
"Models/Error.swift",
"Models/Event.swift",
"Models/LifecycleEventsExtension.swift",
"Models/Profile.swift",
"Models/ProfileAPIExtension.swift",
"StateManagement/APIRequestErrorHandling.swift",
"StateManagement/KlaviyoState.swift",
"StateManagement/StateChangePublisher.swift",
"StateManagement/StateManagement.swift",
"Vendor/ComposableArchitecture/Cancellation.swift",
"Vendor/ComposableArchitecture/ConcurrencySupport.swift",
"Vendor/ComposableArchitecture/Create.swift",
"Vendor/ComposableArchitecture/Effect.swift",
"Vendor/ComposableArchitecture/Misc.swift",
"Vendor/ComposableArchitecture/Publisher.swift",
"Vendor/ComposableArchitecture/ReducerProtocol.swift",
"Vendor/ComposableArchitecture/Store.swift"
],
"target_dependencies" : [
"KlaviyoCore"
],
"type" : "library"
},
{
"c99name" : "KlaviyoFormsTests",
"module_type" : "SwiftTarget",
"name" : "KlaviyoFormsTests",
"path" : "Tests/KlaviyoFormsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoFormsTests/Assets/IAFUnitTest.html",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"IAFNativeBridgeEventTests.swift",
"IAFWebViewModelPreloadingTests.swift",
"IAFWebViewModelTests.swift",
"Mocks/MockIAFWebViewDelegate.swift",
"Mocks/MockWKScriptMessage.swift"
],
"target_dependencies" : [
"KlaviyoSwift",
"KlaviyoCore",
"KlaviyoForms"
],
"type" : "test"
},
{
"c99name" : "KlaviyoForms",
"module_type" : "SwiftTarget",
"name" : "KlaviyoForms",
"path" : "Sources/KlaviyoForms",
"product_memberships" : [
"KlaviyoForms"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Assets/InAppFormsTemplate.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/HTML/jstest.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Development Assets/Scripts/toggleHandler.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Resources/HTML/klaviyo.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Resources/Scripts/closeHandler.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/Resources/Scripts/consoleHandler.js",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"InAppForms/IAFPresentationManager.swift",
"InAppForms/IAFWebViewModel.swift",
"InAppForms/Models/IAFNativeBridgeEvent.swift",
"KlaviyoSDK+Forms.swift",
"KlaviyoWebView/Development Assets/PreviewGridViewController.swift",
"KlaviyoWebView/Development Assets/PreviewTabViewController.swift",
"KlaviyoWebView/Development Assets/PreviewWebViewModel.swift",
"KlaviyoWebView/KlaviyoWebViewController.swift",
"KlaviyoWebView/KlaviyoWebViewDelegate.swift",
"KlaviyoWebView/KlaviyoWebViewModeling.swift",
"KlaviyoWebView/PreloadError.swift",
"KlaviyoWebView/WebViewConsoleRelayMessage.swift",
"KlaviyoWebViewOverlayManager.swift",
"Models/WKNavigationEvent.swift",
"Utilities/Logger+Ext.swift",
"Utilities/ResourceLoader.swift",
"Utilities/UIApplication+Ext.swift"
],
"target_dependencies" : [
"KlaviyoSwift"
],
"type" : "library"
},
{
"c99name" : "KlaviyoCoreTests",
"module_type" : "SwiftTarget",
"name" : "KlaviyoCoreTests",
"path" : "Tests/KlaviyoCoreTests",
"product_dependencies" : [
"SnapshotTesting",
"CustomDump",
"CasePaths"
],
"sources" : [
"ArchivalUtilsTests.swift",
"EncodableTests.swift",
"FileUtilsTests.swift",
"KlaviyoAPITests.swift",
"NetworkSessionTests.swift",
"SimpleMockURLProtocol.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"KlaviyoCore"
],
"type" : "test"
},
{
"c99name" : "KlaviyoCore",
"module_type" : "SwiftTarget",
"name" : "KlaviyoCore",
"path" : "Sources/KlaviyoCore",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"KlaviyoSwift",
"KlaviyoForms"
],
"sources" : [
"AppContextInfo.swift",
"AppLifeCycleEvents.swift",
"KlaviyoEnvironment.swift",
"Models/APIModels/AggregateEventPayload.swift",
"Models/APIModels/CreateEventPayload.swift",
"Models/APIModels/CreateProfilePayload.swift",
"Models/APIModels/ProfilePayload.swift",
"Models/APIModels/PushTokenPayload.swift",
"Models/APIModels/UnregisterPushTokenPayload.swift",
"Models/KlaviyoAPIError.swift",
"Models/PushBackground.swift",
"Models/PushEnablement.swift",
"Networking/KlaviyoAPI.swift",
"Networking/KlaviyoEndpoint.swift",
"Networking/KlaviyoRequest.swift",
"Networking/NetworkSession.swift",
"Networking/PrivateMethods.swift",
"Networking/RequestMethod.swift",
"Networking/SDKRequestIterator.swift",
"Utils/ArchivalUtils.swift",
"Utils/FileUtils.swift",
"Utils/LoggerClient.swift",
"Utils/Version.swift",
"Vendor/ReachabilitySwift.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.