Build Information
Successful build of klaviyo-swift-sdk, reference master (0e71fb
), with Swift 6.1 for visionOS using Xcode 16.3 on 16 Jun 2025 19:03:46 UTC.
Swift 6 data race errors: 34
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
defer { subscriber.send(completion: .finished) }
^~~~~~~~~~
SwiftCompile normal arm64 Compiling\ StateManagement.swift,\ Logger+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Utilities/Logger+Ext.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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:574: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:574: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:574: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:535: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:131: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:189: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:209: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.lifecycleEventsWithReachability().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:255: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:17: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:310: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:312: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:319: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:368: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:368: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:377: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:403: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:568: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:198: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:198: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:198:35: note: access can happen concurrently
await send(.setPushToken(token, enablement))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:192: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:192: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:192:35: note: access can happen concurrently
await send(.enqueueEvent(event))
~~~~^~~~~~~~~~~~~~~~~~~~~~
/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(.enqueueProfile(profile))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/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(.enqueueProfile(profile))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateManagement.swift:196:35: note: access can happen concurrently
await send(.enqueueProfile(profile))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Utilities/Logger+Ext.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/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.klaviyoSwift"
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/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.klaviyoSwift"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/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.klaviyoSwift"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/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.klaviyoSwift"
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Compiling RequestMethod.swift, SDKRequestIterator.swift, ArchivalUtils.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ KlaviyoState.swift,\ StateChangePublisher.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/KlaviyoState.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/StateChangePublisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/KlaviyoState.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/KlaviyoState.swift:105: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 internal 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/KlaviyoState.swift:135: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.raiseFatalError("Unexpected request type. \(request.endpoint)")
^
/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/KlaviyoState.swift:222:27: 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
anonymousId = 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/StateManagement/KlaviyoState.swift:256:61: 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 currentDeviceMetadata = DeviceMetadata(context: environment.appContextInfo())
^
/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/KlaviyoState.swift:260: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
pushBackground: environment.getBackgroundSetting(),
^
/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/KlaviyoState.swift:299:25: 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
background: environment.getBackgroundSetting().rawValue,
^
/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/KlaviyoState.swift:323:9: 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.logger.error("Attempt to save state without an api key.")
^
/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/KlaviyoState.swift:332:21: 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 directory = environment.fileClient.libraryDirectory()
^
/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/KlaviyoState.swift:338: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
try environment.fileClient.write(environment.encodeJSON(AnyEncodable(state)), file)
^
/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/KlaviyoState.swift:338: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
try environment.fileClient.write(environment.encodeJSON(AnyEncodable(state)), file)
^
/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/KlaviyoState.swift:340:9: 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.logger.error("Unable to save klaviyo state.")
^
/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/KlaviyoState.swift:346: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
try environment.fileClient.removeItem(file.path)
^
/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/KlaviyoState.swift:348:9: 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.logger.error("Unable to remove state file.")
^
/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/KlaviyoState.swift:353:5: 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("""
^
/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/KlaviyoState.swift:365:11: 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
guard environment.fileClient.fileExists(fileName.path) else {
^
/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/KlaviyoState.swift:368:32: 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
guard let stateData = try? environment.dataFromUrl(fileName) else {
^
/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/KlaviyoState.swift:369:9: 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.logger.error("Klaviyo state file invalid starting from scratch.")
^
/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/KlaviyoState.swift:373: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
guard var state: KlaviyoState = try? environment.decoder.decode(stateData) else {
^
/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/KlaviyoState.swift:374:9: 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.logger.error("Unable to decode existing state file. Removing.")
^
/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/KlaviyoState.swift:382: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
anonymousId: 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/StateManagement/KlaviyoState.swift:390: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 anonymousId = 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/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 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)
^~~~~
SwiftCompile normal arm64 Compiling\ ProfileData.swift,\ SDKError.swift,\ APIRequestErrorHandling.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/ProfileData.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/SDKError.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/StateManagement/APIRequestErrorHandling.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/ProfileData.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/Models/SDKError.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/StateManagement/APIRequestErrorHandling.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/APIRequestErrorHandling.swift:46:9: 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.logger.error("error when decoding error data")
^
/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/APIRequestErrorHandling.swift:60:9: 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.logger.error("An http error occured status code: \(statuscode) data: \(responseString)")
^
/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/APIRequestErrorHandling.swift:70:9: 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.logger.error("A network error occurred: \(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/APIRequestErrorHandling.swift:80:9: 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("An internal error occurred msg: \(data)")
^
/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/APIRequestErrorHandling.swift:84:9: 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("An internal request error occurred msg: \(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/APIRequestErrorHandling.swift:88:9: 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("An unknown request error occured \(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/APIRequestErrorHandling.swift:92:9: 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("A data encoding error occurred during transmission.")
^
/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/APIRequestErrorHandling.swift:96:9: 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("Invalid data supplied for request. Skipping.")
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/KlaviyoEnvironment.swift:12:12: note: var declared here
public var environment = KlaviyoEnvironment.production
^
SwiftDriverJobDiscovery normal arm64 Compiling WithTimeout.swift, ReachabilitySwift.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:26:24: warning: static property 'profileDataCancellable' 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 profileDataCancellable: Cancellable?
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:26:24: note: convert 'profileDataCancellable' to a 'let' constant to make 'Sendable' shared state immutable
private static var profileDataCancellable: Cancellable?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:26:24: note: add '@MainActor' to make static property 'profileDataCancellable' part of global actor 'MainActor'
private static var profileDataCancellable: Cancellable?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:26:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var profileDataCancellable: Cancellable?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:27:24: warning: static property 'apiKeyCancellable' 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 apiKeyCancellable: Cancellable?
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:27:24: note: convert 'apiKeyCancellable' to a 'let' constant to make 'Sendable' shared state immutable
private static var apiKeyCancellable: Cancellable?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:27:24: note: add '@MainActor' to make static property 'apiKeyCancellable' part of global actor 'MainActor'
private static var apiKeyCancellable: Cancellable?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:27:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var apiKeyCancellable: Cancellable?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:29:24: warning: static property 'profileDataSubject' is not concurrency-safe because non-'Sendable' type 'CurrentValueSubject<KlaviyoInternal.ProfileDataResult, Never>' may have shared mutable state; this is an error in the Swift 6 language mode
private static let profileDataSubject = CurrentValueSubject<ProfileDataResult, Never>(.failure(.notInitialized))
^
Combine.CurrentValueSubject:2:20: note: generic class 'CurrentValueSubject' does not conform to the 'Sendable' protocol
final public class CurrentValueSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
import Combine
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:29:24: note: add '@MainActor' to make static property 'profileDataSubject' part of global actor 'MainActor'
private static let profileDataSubject = CurrentValueSubject<ProfileDataResult, Never>(.failure(.notInitialized))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:29:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let profileDataSubject = CurrentValueSubject<ProfileDataResult, Never>(.failure(.notInitialized))
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:30:24: warning: static property 'apiKeySubject' is not concurrency-safe because non-'Sendable' type 'CurrentValueSubject<KlaviyoInternal.APIKeyResult, Never>' may have shared mutable state; this is an error in the Swift 6 language mode
private static let apiKeySubject = CurrentValueSubject<APIKeyResult, Never>(.failure(.notInitialized))
^
Combine.CurrentValueSubject:2:20: note: generic class 'CurrentValueSubject' does not conform to the 'Sendable' protocol
final public class CurrentValueSubject<Output, Failure> : Subject where Failure : Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:30:24: note: add '@MainActor' to make static property 'apiKeySubject' part of global actor 'MainActor'
private static let apiKeySubject = CurrentValueSubject<APIKeyResult, Never>(.failure(.notInitialized))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoInternal.swift:30:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let apiKeySubject = CurrentValueSubject<APIKeyResult, Never>(.failure(.notInitialized))
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Compiling ProfilePayload.swift, PushTokenPayload.swift, UnregisterPushTokenPayload.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
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)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoAPIError.swift, ObjectStateError.swift, PushBackground.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ LifecycleEventsExtension.swift,\ Profile.swift,\ ProfileAPIExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/LifecycleEventsExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Profile.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/ProfileAPIExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Profile.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/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\ KlaviyoSwiftEnvironment.swift,\ Error.swift,\ Event.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Error.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Event.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.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/KlaviyoSwiftEnvironment.swift:13:5: warning: var 'klaviyoSwiftEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: convert 'klaviyoSwiftEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: add '@MainActor' to make var 'klaviyoSwiftEnvironment' part of global actor 'MainActor'
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:13:5: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
var klaviyoSwiftEnvironment = KlaviyoSwiftEnvironment.production
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:22:16: warning: static property 'production' is not concurrency-safe because non-'Sendable' type 'KlaviyoSwiftEnvironment' may have shared mutable state; this is an error in the Swift 6 language mode
static let production: KlaviyoSwiftEnvironment = {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:15:8: note: consider making struct 'KlaviyoSwiftEnvironment' conform to the 'Sendable' protocol
struct KlaviyoSwiftEnvironment {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:22:16: note: add '@MainActor' to make static property 'production' part of global actor 'MainActor'
static let production: KlaviyoSwiftEnvironment = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/KlaviyoSwiftEnvironment.swift:22:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let production: KlaviyoSwiftEnvironment = {
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoSwift/Models/Error.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/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
^
SwiftDriverJobDiscovery normal arm64 Compiling ReducerProtocol.swift, Store.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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))
^
SwiftDriverJobDiscovery normal arm64 Compiling PushEnablement.swift, KlaviyoAPI.swift, KlaviyoEndpoint.swift (in target 'KlaviyoCore' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling Misc.swift, Publisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling AppContextInfo.swift, AppLifeCycleEvents.swift, KlaviyoEnvironment.swift (in target 'KlaviyoCore' 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
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
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
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-06-16 12:03:42.010 appintentsmetadataprocessor[1125:5737] Starting appintentsmetadataprocessor export
2025-06-16 12:03:42.056 appintentsmetadataprocessor[1125:5737] Extracted no relevant App Intents symbols, skipping writing output
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
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
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
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
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
@__swiftmacro_12KlaviyoForms0035KlaviyoWebViewControllerswift_IgGGkfMX310_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(apiKey))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311: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/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\ KlaviyoWebViewModeling.swift,\ WebViewConsoleRelayMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewModeling.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/WebViewConsoleRelayMessage.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/WebViewConsoleRelayMessage.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
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
SwiftDriverJobDiscovery normal arm64 Compiling ProfileData.swift, SDKError.swift, APIRequestErrorHandling.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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:96:32: 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
lifecycleCancellable = environment.appLifeCycle.lifeCycleEvents()
^
/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:217: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
^
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, Klaviyo.swift, KlaviyoInternal.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:52:50: warning: reference to static property 'defaultUserAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
webView.customUserAgent = NetworkSession.defaultUserAgent
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoCore/Networking/NetworkSession.swift:55:23: note: static property declared here
public static var defaultUserAgent: String = defaultUserAgent(bundle: .main)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:59:57: warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: $0)
^
WebKit.WKUserContentController.removeScriptMessageHandler:2:22: note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
@MainActor open func removeScriptMessageHandler(forName name: String)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:59:35: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: $0)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:59:21: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: $0)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:63:57: warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: "consoleMessageHandler")
^
WebKit.WKUserContentController.removeScriptMessageHandler:2:22: note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
@MainActor open func removeScriptMessageHandler(forName name: String)}
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:63:35: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: "consoleMessageHandler")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
@property (nonatomic, strong) WKUserContentController *userContentController;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:63:21: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
webView.configuration.userContentController.removeScriptMessageHandler(forName: "consoleMessageHandler")
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
@property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:288: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:45:5: note: calls to initializer 'init(viewModel:webViewFactory:)' from outside of its actor context are implicitly asynchronous
init(viewModel: KlaviyoWebViewModeling, webViewFactory: @MainActor () -> WKWebView = createDefaultWebView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:45:5: note: main actor isolation inferred from inheritance from class 'UIViewController'
init(viewModel: KlaviyoWebViewModeling, webViewFactory: @MainActor () -> WKWebView = createDefaultWebView) {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:287: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:292: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:287: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:294: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:287: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:295: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:287: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:295: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:287: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:295: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:287: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:296: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:287: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:298: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:287: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:298: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:287: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:299: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:287: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:300: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:287: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:300: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:287: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:300: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:287: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:300: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:287: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:300: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:287: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:301: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:287: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:301: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:287: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:301: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:287: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:301: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:287: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:301: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:287: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:302: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:287: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:302: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:287: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:302: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:287: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:302: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:287: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:302: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:287: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:303: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:287: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:303: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:287: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:303: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:287: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:303: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:287: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:303: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:287:6: note: add '@MainActor' to make global function 'createKlaviyoWebPreview(viewModel:)' part of global actor 'MainActor'
func createKlaviyoWebPreview(viewModel: KlaviyoWebViewModeling) -> UIViewController {
^
@MainActor
@__swiftmacro_12KlaviyoForms0035KlaviyoWebViewControllerswift_IgGGkfMX310_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(apiKey))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311: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:58:9: warning: cannot access property 'viewModel' with a non-sendable type 'any KlaviyoWebViewModeling' from nonisolated deinit; this is an error in the Swift 6 language mode
viewModel.messageHandlers?.forEach {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewModeling.swift:13:10: note: protocol 'KlaviyoWebViewModeling' does not conform to the 'Sendable' protocol
protocol KlaviyoWebViewModeling: AnyObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:157:34: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
continuation.resume(returning: result)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:157:34: note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
continuation.resume(returning: result)
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:288: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:288: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_IgGGkfMX310_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(apiKey))
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311:1: note: in expansion of macro 'Preview' here
#Preview("Klaviyo Form") {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/KlaviyoWebView/KlaviyoWebViewController.swift:311: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 KlaviyoState.swift, StateChangePublisher.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ IAFNativeBridgeEvent.swift,\ InAppFormsConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/IAFNativeBridgeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/InAppFormsConfig.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/InAppFormsConfig.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling Cancellation.swift, ConcurrencySupport.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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)
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoSwiftEnvironment.swift, Error.swift, Event.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 Create.swift, Effect.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
SwiftCompile normal arm64 Compiling\ IAFWebViewModel.swift,\ IAFLifecycleEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/IAFLifecycleEvent.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:41: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:66: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:73: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:80:30: 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
guard let formsEnv = environment.formsDataEnvironment()?.rawValue else { return nil }
^
/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:145:23: warning: sending value of non-Sendable type '() async throws -> ()' risks causing data races; this is an error in the Swift 6 language mode
try await withTimeout(seconds: timeout) { [weak self] in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:145:23: note: sending main actor-isolated value of non-Sendable type '() async throws -> ()' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
try await withTimeout(seconds: timeout) { [weak self] in
^
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:147:44: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
await self.handshakeStream.first { _ in true }
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/IAFWebViewModel.swift:147:44: note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
await self.handshakeStream.first { _ in true }
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoForms/InAppForms/Models/IAFLifecycleEvent.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling LifecycleEventsExtension.swift, Profile.swift, ProfileAPIExtension.swift (in target 'KlaviyoSwift' from project 'klaviyo-swift-sdk')
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:37: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:33: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:42: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:33: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:131:17: warning: no 'async' operations occur within 'await' expression
await delegate?.dismiss(animated: false)
^
SwiftDriverJobDiscovery normal arm64 Compiling StateManagement.swift, Logger+Ext.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 ResourceLoader.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
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
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
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-06-16 12:03:44.551 appintentsmetadataprocessor[1148:5855] Starting appintentsmetadataprocessor export
2025-06-16 12:03:44.592 appintentsmetadataprocessor[1148:5855] Extracted no relevant App Intents symbols, skipping writing output
SwiftDriverJobDiscovery normal arm64 Compiling IAFNativeBridgeEvent.swift, InAppFormsConfig.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
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 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.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.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.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 resource_bundle_accessor.swift, IAFPresentationManager.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoSDK+Forms.swift, PreviewGridViewController.swift (in target 'KlaviyoForms' from project 'klaviyo-swift-sdk')
SwiftDriverJobDiscovery normal arm64 Compiling KlaviyoWebViewModeling.swift, WebViewConsoleRelayMessage.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, IAFLifecycleEvent.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')
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-06-16 12:03:45.486 appintentsmetadataprocessor[1151:5878] Starting appintentsmetadataprocessor export
2025-06-16 12:03:45.523 appintentsmetadataprocessor[1151:5878] 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",
"KlaviyoInternalTests.swift",
"KlaviyoModelsTest.swift",
"KlaviyoSDKTests.swift",
"KlaviyoStateTests.swift",
"KlaviyoTestUtils.swift",
"ProfileDataTests.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",
"Models/ProfileData.swift",
"Models/SDKError.swift",
"StateManagement/APIRequestErrorHandling.swift",
"StateManagement/KlaviyoState.swift",
"StateManagement/StateChangePublisher.swift",
"StateManagement/StateManagement.swift",
"Utilities/Logger+Ext.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",
"IAFPresentationManagerTests.swift",
"IAFWebViewModelPreloadingTests.swift",
"IAFWebViewModelTests.swift",
"KlaviyoFormsTestUtils.swift",
"KlaviyoWebViewControllerTests.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/IAFLifecycleEvent.swift",
"InAppForms/Models/IAFNativeBridgeEvent.swift",
"InAppForms/Models/InAppFormsConfig.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/WebViewConsoleRelayMessage.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",
"UInt64+ExtTests.swift",
"WithTimeoutTests.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/ObjectStateError.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/UInt64+Ext.swift",
"Utils/Version.swift",
"Utils/WithTimeout.swift",
"Vendor/ReachabilitySwift.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.