Build Information
Failed to build SessionReplaySDK, reference main (4028db), with Swift 6.1 for visionOS using Xcode 16.3 on 23 Feb 2026 04:16:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SessionReplaySDK -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlmoutasemNabil/SessionReplaySDK
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4028db0 Add async/completion-based stopSession API
Cloned https://github.com/AlmoutasemNabil/SessionReplaySDK.git
Revision (git rev-parse @):
4028db00fb504452e2e94dc51566a9d26a7b851b
SUCCESS checkout https://github.com/AlmoutasemNabil/SessionReplaySDK.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/AlmoutasemNabil/SessionReplaySDK.git
https://github.com/AlmoutasemNabil/SessionReplaySDK.git
{
"dependencies" : [
],
"manifest_display_name" : "SessionReplaySDK",
"name" : "SessionReplaySDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SessionReplaySDK",
"targets" : [
"SessionReplaySDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SessionReplaySDK",
"module_type" : "SwiftTarget",
"name" : "SessionReplaySDK",
"path" : "Sources/SessionReplaySDK",
"product_memberships" : [
"SessionReplaySDK"
],
"sources" : [
"Core/Models.swift",
"Core/SessionReplayManager.swift",
"Integration/SwiftUIIntegration.swift",
"Integration/UIKitIntegration.swift",
"Logging/NetworkInterceptor.swift",
"Logging/SessionLogger.swift",
"SessionReplaySDK.swift",
"Upload/SessionUploader.swift",
"Video/VideoWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
SessionReplaySDK: /Users/admin/builder/spi-builder-workspace
resolved source packages: SessionReplaySDK
{
"dependencies" : [
],
"manifest_display_name" : "SessionReplaySDK",
"name" : "SessionReplaySDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SessionReplaySDK",
"targets" : [
"SessionReplaySDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SessionReplaySDK",
"module_type" : "SwiftTarget",
"name" : "SessionReplaySDK",
"path" : "Sources/SessionReplaySDK",
"product_memberships" : [
"SessionReplaySDK"
],
"sources" : [
"Core/Models.swift",
"Core/SessionReplayManager.swift",
"Integration/SwiftUIIntegration.swift",
"Integration/UIKitIntegration.swift",
"Logging/NetworkInterceptor.swift",
"Logging/SessionLogger.swift",
"SessionReplaySDK.swift",
"Upload/SessionUploader.swift",
"Video/VideoWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SessionReplaySDK"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SessionReplaySDK -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
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SessionReplaySDK -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 settings from command line:
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
Resolve Package Graph
Resolved source packages:
SessionReplaySDK: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SessionReplaySDK' in project 'SessionReplaySDK'
➜ Explicit dependency on target 'SessionReplaySDK' in project 'SessionReplaySDK'
Target 'SessionReplaySDK' in project 'SessionReplaySDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: ba163b17334d55ad69ef73f4d9cd85f7
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/ba163b17334d55ad69ef73f4d9cd85f7.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.DependencyStaticMetadataFileList (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.DependencyMetadataFileList (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.modulemap (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-OutputFileMap.json (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.LinkFileList (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftFileList (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftConstValuesFileList (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SessionReplaySDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.modulemap (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/SessionReplaySDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver SessionReplaySDK normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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 SessionReplaySDK -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.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 -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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ NetworkInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: warning: var 'taskIdKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskIdKey: UInt8 = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: convert 'taskIdKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskIdKey: UInt8 = 0
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: add '@MainActor' to make var 'taskIdKey' part of global actor 'MainActor'
private var taskIdKey: UInt8 = 0
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskIdKey: UInt8 = 0
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: warning: var 'taskStartTimeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskStartTimeKey: UInt8 = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: convert 'taskStartTimeKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskStartTimeKey: UInt8 = 1
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: add '@MainActor' to make var 'taskStartTimeKey' part of global actor 'MainActor'
private var taskStartTimeKey: UInt8 = 1
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskStartTimeKey: UInt8 = 1
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: warning: var 'taskRequestKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskRequestKey: UInt8 = 2
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: convert 'taskRequestKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskRequestKey: UInt8 = 2
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: add '@MainActor' to make var 'taskRequestKey' part of global actor 'MainActor'
private var taskRequestKey: UInt8 = 2
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskRequestKey: UInt8 = 2
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: warning: var 'taskResponseDataKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskResponseDataKey: UInt8 = 3
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: convert 'taskResponseDataKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskResponseDataKey: UInt8 = 3
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: add '@MainActor' to make var 'taskResponseDataKey' part of global actor 'MainActor'
private var taskResponseDataKey: UInt8 = 3
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskResponseDataKey: UInt8 = 3
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: warning: var 'originalDelegateKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var originalDelegateKey: UInt8 = 4
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: convert 'originalDelegateKey' to a 'let' constant to make 'Sendable' shared state immutable
private var originalDelegateKey: UInt8 = 4
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: add '@MainActor' to make var 'originalDelegateKey' part of global actor 'MainActor'
private var originalDelegateKey: UInt8 = 4
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var originalDelegateKey: UInt8 = 4
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: warning: var 'hasInjectedDelegateKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var hasInjectedDelegateKey: UInt8 = 5
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: convert 'hasInjectedDelegateKey' to a 'let' constant to make 'Sendable' shared state immutable
private var hasInjectedDelegateKey: UInt8 = 5
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: add '@MainActor' to make var 'hasInjectedDelegateKey' part of global actor 'MainActor'
private var hasInjectedDelegateKey: UInt8 = 5
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var hasInjectedDelegateKey: UInt8 = 5
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: warning: var 'taskObserverKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskObserverKey: UInt8 = 6
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: convert 'taskObserverKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskObserverKey: UInt8 = 6
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: add '@MainActor' to make var 'taskObserverKey' part of global actor 'MainActor'
private var taskObserverKey: UInt8 = 6
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskObserverKey: UInt8 = 6
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: warning: var 'taskCompletedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskCompletedKey: UInt8 = 7
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: convert 'taskCompletedKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskCompletedKey: UInt8 = 7
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: add '@MainActor' to make var 'taskCompletedKey' part of global actor 'MainActor'
private var taskCompletedKey: UInt8 = 7
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskCompletedKey: UInt8 = 7
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkInterceptor' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NetworkInterceptor()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:40:20: note: class 'NetworkInterceptor' does not conform to the 'Sendable' protocol
public final class NetworkInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NetworkInterceptor()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NetworkInterceptor()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: warning: var 'accumulatedDataKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var accumulatedDataKey: UInt8 = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: convert 'accumulatedDataKey' to a 'let' constant to make 'Sendable' shared state immutable
private var accumulatedDataKey: UInt8 = 10
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: add '@MainActor' to make var 'accumulatedDataKey' part of global actor 'MainActor'
private var accumulatedDataKey: UInt8 = 10
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var accumulatedDataKey: UInt8 = 10
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: warning: static property 'hasSwizzled' 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 hasSwizzled = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: convert 'hasSwizzled' to a 'let' constant to make 'Sendable' shared state immutable
private static var hasSwizzled = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: add '@MainActor' to make static property 'hasSwizzled' part of global actor 'MainActor'
private static var hasSwizzled = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasSwizzled = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: warning: static property 'originalResumeIMP' 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 originalResumeIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: convert 'originalResumeIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalResumeIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: add '@MainActor' to make static property 'originalResumeIMP' part of global actor 'MainActor'
private static var originalResumeIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalResumeIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: warning: static property 'originalDataTaskRequestCompletionIMP' 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 originalDataTaskRequestCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: convert 'originalDataTaskRequestCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalDataTaskRequestCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: add '@MainActor' to make static property 'originalDataTaskRequestCompletionIMP' part of global actor 'MainActor'
private static var originalDataTaskRequestCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalDataTaskRequestCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: warning: static property 'originalDataTaskURLCompletionIMP' 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 originalDataTaskURLCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: convert 'originalDataTaskURLCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalDataTaskURLCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: add '@MainActor' to make static property 'originalDataTaskURLCompletionIMP' part of global actor 'MainActor'
private static var originalDataTaskURLCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalDataTaskURLCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: warning: static property 'originalUploadTaskDataCompletionIMP' 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 originalUploadTaskDataCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: convert 'originalUploadTaskDataCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalUploadTaskDataCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: add '@MainActor' to make static property 'originalUploadTaskDataCompletionIMP' part of global actor 'MainActor'
private static var originalUploadTaskDataCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalUploadTaskDataCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: warning: static property 'originalUploadTaskFileCompletionIMP' 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 originalUploadTaskFileCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: convert 'originalUploadTaskFileCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalUploadTaskFileCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: add '@MainActor' to make static property 'originalUploadTaskFileCompletionIMP' part of global actor 'MainActor'
private static var originalUploadTaskFileCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalUploadTaskFileCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: warning: static property 'originalSessionInitIMP' 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 originalSessionInitIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: convert 'originalSessionInitIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalSessionInitIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: add '@MainActor' to make static property 'originalSessionInitIMP' part of global actor 'MainActor'
private static var originalSessionInitIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalSessionInitIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:279:30: warning: capture of 'self' with non-sendable type 'TaskStateObserver?' in a '@Sendable' closure
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:267:15: note: class 'TaskStateObserver' does not conform to the 'Sendable' protocol
private class TaskStateObserver: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:413:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:450:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:482:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:514:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask)
^
SwiftCompile normal arm64 Compiling\ UIKitIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SessionReplaySDK.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
EmitSwiftModule normal arm64 (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionReplayManager' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionReplayManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:22:20: note: class 'SessionReplayManager' does not conform to the 'Sendable' protocol
public final class SessionReplayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionReplayManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionReplayManager()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: warning: var 'swizzled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var swizzled = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: convert 'swizzled' to a 'let' constant to make 'Sendable' shared state immutable
private var swizzled = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: add '@MainActor' to make var 'swizzled' part of global actor 'MainActor'
private var swizzled = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var swizzled = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift:44:16: warning: main actor-isolated property 'shouldMaskInReplay' cannot be used to satisfy nonisolated requirement from protocol 'SessionReplayMaskable'; this is an error in the Swift 6 language mode
public var shouldMaskInReplay: Bool = true
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift:43:34: note: add '@preconcurrency' to the 'SessionReplayMaskable' conformance to defer isolation checking to run time
public class MaskedView: UIView, SessionReplayMaskable {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift:39:9: note: requirement 'shouldMaskInReplay' declared here
var shouldMaskInReplay: Bool { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: warning: var 'taskIdKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskIdKey: UInt8 = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: convert 'taskIdKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskIdKey: UInt8 = 0
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: add '@MainActor' to make var 'taskIdKey' part of global actor 'MainActor'
private var taskIdKey: UInt8 = 0
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:27:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskIdKey: UInt8 = 0
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: warning: var 'taskStartTimeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskStartTimeKey: UInt8 = 1
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: convert 'taskStartTimeKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskStartTimeKey: UInt8 = 1
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: add '@MainActor' to make var 'taskStartTimeKey' part of global actor 'MainActor'
private var taskStartTimeKey: UInt8 = 1
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:28:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskStartTimeKey: UInt8 = 1
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: warning: var 'taskRequestKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskRequestKey: UInt8 = 2
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: convert 'taskRequestKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskRequestKey: UInt8 = 2
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: add '@MainActor' to make var 'taskRequestKey' part of global actor 'MainActor'
private var taskRequestKey: UInt8 = 2
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:29:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskRequestKey: UInt8 = 2
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: warning: var 'taskResponseDataKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskResponseDataKey: UInt8 = 3
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: convert 'taskResponseDataKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskResponseDataKey: UInt8 = 3
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: add '@MainActor' to make var 'taskResponseDataKey' part of global actor 'MainActor'
private var taskResponseDataKey: UInt8 = 3
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:30:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskResponseDataKey: UInt8 = 3
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: warning: var 'originalDelegateKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var originalDelegateKey: UInt8 = 4
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: convert 'originalDelegateKey' to a 'let' constant to make 'Sendable' shared state immutable
private var originalDelegateKey: UInt8 = 4
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: add '@MainActor' to make var 'originalDelegateKey' part of global actor 'MainActor'
private var originalDelegateKey: UInt8 = 4
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:31:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var originalDelegateKey: UInt8 = 4
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: warning: var 'hasInjectedDelegateKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var hasInjectedDelegateKey: UInt8 = 5
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: convert 'hasInjectedDelegateKey' to a 'let' constant to make 'Sendable' shared state immutable
private var hasInjectedDelegateKey: UInt8 = 5
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: add '@MainActor' to make var 'hasInjectedDelegateKey' part of global actor 'MainActor'
private var hasInjectedDelegateKey: UInt8 = 5
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:32:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var hasInjectedDelegateKey: UInt8 = 5
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: warning: var 'taskObserverKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskObserverKey: UInt8 = 6
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: convert 'taskObserverKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskObserverKey: UInt8 = 6
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: add '@MainActor' to make var 'taskObserverKey' part of global actor 'MainActor'
private var taskObserverKey: UInt8 = 6
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:33:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskObserverKey: UInt8 = 6
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: warning: var 'taskCompletedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var taskCompletedKey: UInt8 = 7
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: convert 'taskCompletedKey' to a 'let' constant to make 'Sendable' shared state immutable
private var taskCompletedKey: UInt8 = 7
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: add '@MainActor' to make var 'taskCompletedKey' part of global actor 'MainActor'
private var taskCompletedKey: UInt8 = 7
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:34:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var taskCompletedKey: UInt8 = 7
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkInterceptor' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = NetworkInterceptor()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:40:20: note: class 'NetworkInterceptor' does not conform to the 'Sendable' protocol
public final class NetworkInterceptor {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = NetworkInterceptor()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:42:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = NetworkInterceptor()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: warning: var 'accumulatedDataKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var accumulatedDataKey: UInt8 = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: convert 'accumulatedDataKey' to a 'let' constant to make 'Sendable' shared state immutable
private var accumulatedDataKey: UInt8 = 10
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: add '@MainActor' to make var 'accumulatedDataKey' part of global actor 'MainActor'
private var accumulatedDataKey: UInt8 = 10
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:304:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var accumulatedDataKey: UInt8 = 10
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: warning: static property 'hasSwizzled' 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 hasSwizzled = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: convert 'hasSwizzled' to a 'let' constant to make 'Sendable' shared state immutable
private static var hasSwizzled = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: add '@MainActor' to make static property 'hasSwizzled' part of global actor 'MainActor'
private static var hasSwizzled = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:330:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasSwizzled = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: warning: static property 'originalResumeIMP' 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 originalResumeIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: convert 'originalResumeIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalResumeIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: add '@MainActor' to make static property 'originalResumeIMP' part of global actor 'MainActor'
private static var originalResumeIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:334:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalResumeIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: warning: static property 'originalDataTaskRequestCompletionIMP' 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 originalDataTaskRequestCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: convert 'originalDataTaskRequestCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalDataTaskRequestCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: add '@MainActor' to make static property 'originalDataTaskRequestCompletionIMP' part of global actor 'MainActor'
private static var originalDataTaskRequestCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:335:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalDataTaskRequestCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: warning: static property 'originalDataTaskURLCompletionIMP' 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 originalDataTaskURLCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: convert 'originalDataTaskURLCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalDataTaskURLCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: add '@MainActor' to make static property 'originalDataTaskURLCompletionIMP' part of global actor 'MainActor'
private static var originalDataTaskURLCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:336:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalDataTaskURLCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: warning: static property 'originalUploadTaskDataCompletionIMP' 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 originalUploadTaskDataCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: convert 'originalUploadTaskDataCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalUploadTaskDataCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: add '@MainActor' to make static property 'originalUploadTaskDataCompletionIMP' part of global actor 'MainActor'
private static var originalUploadTaskDataCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:337:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalUploadTaskDataCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: warning: static property 'originalUploadTaskFileCompletionIMP' 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 originalUploadTaskFileCompletionIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: convert 'originalUploadTaskFileCompletionIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalUploadTaskFileCompletionIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: add '@MainActor' to make static property 'originalUploadTaskFileCompletionIMP' part of global actor 'MainActor'
private static var originalUploadTaskFileCompletionIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:338:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalUploadTaskFileCompletionIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: warning: static property 'originalSessionInitIMP' 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 originalSessionInitIMP: IMP?
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: convert 'originalSessionInitIMP' to a 'let' constant to make 'Sendable' shared state immutable
private static var originalSessionInitIMP: IMP?
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: add '@MainActor' to make static property 'originalSessionInitIMP' part of global actor 'MainActor'
private static var originalSessionInitIMP: IMP?
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:339:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var originalSessionInitIMP: IMP?
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:413:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:450:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:482:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift:514:45: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
let selector = #selector(URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionLogger' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionLogger()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:20:20: note: class 'SessionLogger' does not conform to the 'Sendable' protocol
public final class SessionLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionLogger()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionLogger()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionUploader' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionUploader()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionUploader()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionUploader()
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ VideoWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:47:13: warning: capture of 'self' with non-sendable type 'VideoWriter?' in a '@Sendable' closure
self?.setupWriter()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:21:20: note: class 'VideoWriter' does not conform to the 'Sendable' protocol
public final class VideoWriter {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:53:13: warning: capture of 'self' with non-sendable type 'VideoWriter?' in a '@Sendable' closure
self?.writeFrame(image)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:21:20: note: class 'VideoWriter' does not conform to the 'Sendable' protocol
public final class VideoWriter {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:59:30: warning: capture of 'self' with non-sendable type 'VideoWriter?' in a '@Sendable' closure
guard let self = self, self.isWriting else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:21:20: note: class 'VideoWriter' does not conform to the 'Sendable' protocol
public final class VideoWriter {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:60:44: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure
DispatchQueue.main.async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:60:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.main.async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:67:17: warning: capture of 'self' with non-sendable type 'VideoWriter' in a '@Sendable' closure
self.isWriting = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:21:20: note: class 'VideoWriter' does not conform to the 'Sendable' protocol
public final class VideoWriter {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:76:44: warning: capture of 'completion' with non-sendable type '() -> Void' in a '@Sendable' closure
DispatchQueue.main.async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:76:44: note: a function type must be marked '@Sendable' to conform to 'Sendable'
DispatchQueue.main.async { completion() }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:90:17: warning: capture of 'self' with non-sendable type 'VideoWriter' in a '@Sendable' closure
self.isWriting = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:21:20: note: class 'VideoWriter' does not conform to the 'Sendable' protocol
public final class VideoWriter {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:260:24: warning: capture of 'exportSession' with non-sendable type 'AVAssetExportSession' in a '@Sendable' closure
switch exportSession.status {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
@interface AVAssetExportSession : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:262:21: warning: capture of 'completion' with non-sendable type '(Bool, (any Error)?) -> Void' in a '@Sendable' closure
completion(true, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift:262:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(true, nil)
^
SwiftCompile normal arm64 Compiling\ SessionLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionLogger' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionLogger()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:20:20: note: class 'SessionLogger' does not conform to the 'Sendable' protocol
public final class SessionLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionLogger()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:22:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionLogger()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:163:30: warning: capture of 'self' with non-sendable type 'SessionLogger?' in a '@Sendable' closure
guard let self = self, self.isCapturing else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:20:20: note: class 'SessionLogger' does not conform to the 'Sendable' protocol
public final class SessionLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:180:24: warning: capture of 'level' with non-sendable type 'LogLevel' in a '@Sendable' closure
level: level,
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift:213:13: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
public enum LogLevel: String, Codable, Comparable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:196:30: warning: capture of 'self' with non-sendable type 'SessionLogger?' in a '@Sendable' closure
guard let self = self, self.isCapturing else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:20:20: note: class 'SessionLogger' does not conform to the 'Sendable' protocol
public final class SessionLogger {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:198:40: warning: capture of 'entry' with non-sendable type 'NetworkEntry' in a '@Sendable' closure
self.networkEntries.append(entry)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift:260:15: note: consider making struct 'NetworkEntry' conform to the 'Sendable' protocol
public struct NetworkEntry: Codable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:309:30: warning: capture of 'self' with non-sendable type 'ConsoleCapture?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
guard let self = self else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift:283:21: note: class 'ConsoleCapture' does not conform to the 'Sendable' protocol
private final class ConsoleCapture {
^
SwiftCompile normal arm64 Compiling\ SessionUploader.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionUploader' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionUploader()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionUploader()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:152:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionUploader()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:194:19: warning: value 'config' was defined but never used; consider replacing with boolean test
guard let config = config else {
~~~~^~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:241:13: warning: capture of 'self' with non-sendable type 'SessionUploader?' in a '@Sendable' closure
self?.performUpload(
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:242:28: warning: capture of 'session' with non-sendable type 'SessionReplayData' in a '@Sendable' closure
sessionId: session.sessionId,
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift:383:15: note: consider making struct 'SessionReplayData' conform to the 'Sendable' protocol
public struct SessionReplayData: Codable, Identifiable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:245:25: warning: capture of 'config' with non-sendable type 'SessionUploadConfig' in a '@Sendable' closure
config: config,
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:23:15: note: consider making struct 'SessionUploadConfig' conform to the 'Sendable' protocol
public struct SessionUploadConfig {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:246:29: warning: capture of 'completion' with non-sendable type '(Result<SessionUploadResponse, any Error>) -> Void' in a '@Sendable' closure
completion: completion
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:246:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion: completion
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:280:13: warning: capture of 'self' with non-sendable type 'SessionUploader?' in a '@Sendable' closure
self?.performUpload(
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:284:25: warning: capture of 'config' with non-sendable type 'SessionUploadConfig' in a '@Sendable' closure
config: config,
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:23:15: note: consider making struct 'SessionUploadConfig' conform to the 'Sendable' protocol
public struct SessionUploadConfig {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:285:29: warning: capture of 'completion' with non-sendable type '(Result<SessionUploadResponse, any Error>) -> Void' in a '@Sendable' closure
completion: completion
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:285:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion: completion
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:293:27: warning: capture of 'self' with non-sendable type 'SessionUploader?' in a '@Sendable' closure
if let task = self?.activeTasks[sessionId] {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:371:13: warning: capture of 'self' with non-sendable type 'SessionUploader?' in a '@Sendable' closure
self?.activeTasks.removeValue(forKey: sessionId)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:150:20: note: class 'SessionUploader' does not conform to the 'Sendable' protocol
public final class SessionUploader {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:378:25: warning: capture of 'completion' with non-sendable type '(Result<SessionUploadResponse, any Error>) -> Void' in a '@Sendable' closure
completion(.failure(SessionUploadError.uploadCancelled))
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:378:25: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.failure(SessionUploadError.uploadCancelled))
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:384:33: warning: capture of 'config' with non-sendable type 'SessionUploadConfig' in a '@Sendable' closure
if retryCount < config.maxRetries {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:23:15: note: consider making struct 'SessionUploadConfig' conform to the 'Sendable' protocol
public struct SessionUploadConfig {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:317:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self?.delegate?.uploadDidStart(sessionId: sessionId)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:317:13: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self?.delegate?.uploadDidStart(sessionId: sessionId)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:445:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
self?.delegate?.uploadDidComplete(sessionId: sessionId, response: uploadResponse)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:445:17: note: 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
self?.delegate?.uploadDidComplete(sessionId: sessionId, response: uploadResponse)
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift:444:38: note: access can happen concurrently
DispatchQueue.main.async { [weak self] in
^~~~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ Models.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -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 -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 -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/swift-overrides.hmap -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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionReplaySDK -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.o -index-unit-output-path /SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SessionReplayManager' may have shared mutable state; this is an error in the Swift 6 language mode
public static let shared = SessionReplayManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:22:20: note: class 'SessionReplayManager' does not conform to the 'Sendable' protocol
public final class SessionReplayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
public static let shared = SessionReplayManager()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:26:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let shared = SessionReplayManager()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: warning: var 'swizzled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private var swizzled = false
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: convert 'swizzled' to a 'let' constant to make 'Sendable' shared state immutable
private var swizzled = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: add '@MainActor' to make var 'swizzled' part of global actor 'MainActor'
private var swizzled = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:812:13: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private var swizzled = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:149:34: error: 'UIScreen' is unavailable in visionOS
let screenSize = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:149:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let screenSize = UIScreen.main.bounds.size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:59:39: note: property declared here
@property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:126:17: note: add '@MainActor' to make instance method 'startSession()' part of global actor 'MainActor'
public func startSession() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:149:43: warning: main actor-isolated class property 'main' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let screenSize = UIScreen.main.bounds.size
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: class property declared here
@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:126:17: note: add '@MainActor' to make instance method 'startSession()' part of global actor 'MainActor'
public func startSession() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:294:30: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let location = touch.location(in: window)
^
UIKit.UITouch.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
@MainActor open func location(in view: UIView?) -> CGPoint}
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:295:31: warning: main actor-isolated property 'timestamp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let timestamp = touch.timestamp
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:53:51: note: property declared here
@property(nonatomic,readonly) NSTimeInterval timestamp;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:299:26: warning: main actor-isolated property 'phase' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
phase: touch.phase.rawValue,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:54:51: note: property declared here
@property(nonatomic,readonly) UITouchPhase phase;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:301:29: warning: main actor-isolated property 'tapCount' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
tapCount: touch.tapCount,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:55:51: note: property declared here
@property(nonatomic,readonly) NSUInteger tapCount; // touch down within a certain point within a certain amount of time
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:302:26: warning: main actor-isolated property 'force' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
force: touch.force,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:76:39: note: property declared here
@property(nonatomic,readonly) CGFloat force API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:303:27: warning: main actor-isolated property 'majorRadius' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
radius: touch.majorRadius,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:60:39: note: property declared here
@property(nonatomic,readonly) CGFloat majorRadius API_AVAILABLE(ios(8.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:304:25: warning: main actor-isolated property 'type' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
type: touch.type.rawValue,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:56:51: note: property declared here
@property(nonatomic,readonly) UITouchType type API_AVAILABLE(ios(9.0));
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:291:17: note: add '@MainActor' to make instance method 'recordTouchEvent(_:in:)' part of global actor 'MainActor'
public func recordTouchEvent(_ touch: UITouch, in window: UIWindow) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:492:13: warning: capture of 'self' with non-sendable type 'SessionReplayManager?' in a '@Sendable' closure
self?.saveCrashRecoveryData()
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:22:20: note: class 'SessionReplayManager' does not conform to the 'Sendable' protocol
public final class SessionReplayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:567:49: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
guard let window = UIApplication.shared.windows.first(where: { $0.isKeyWindow }) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:597:16: warning: value 'count' was defined but never used; consider replacing with boolean test
if let count = currentSession?.frameCount {
~~~~^~~~~~~~
( ) != nil
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:567:49: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let window = UIApplication.shared.windows.first(where: { $0.isKeyWindow }) else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: property declared here
@property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:566:18: note: add '@MainActor' to make instance method 'captureScreenshot()' part of global actor 'MainActor'
private func captureScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:567:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let window = UIApplication.shared.windows.first(where: { $0.isKeyWindow }) else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:566:18: note: add '@MainActor' to make instance method 'captureScreenshot()' part of global actor 'MainActor'
private func captureScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:567:75: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
guard let window = UIApplication.shared.windows.first(where: { $0.isKeyWindow }) else {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:42:55: note: property declared here
@property(nonatomic,readonly,getter=isKeyWindow) BOOL keyWindow;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:583:63: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let renderer = UIGraphicsImageRenderer(bounds: window.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:566:18: note: add '@MainActor' to make instance method 'captureScreenshot()' part of global actor 'MainActor'
private func captureScreenshot() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:585:20: warning: call to main actor-isolated instance method 'drawHierarchy(in:afterScreenUpdates:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
window.drawHierarchy(in: window.bounds, afterScreenUpdates: false)
^
UIKit.UIView.drawHierarchy:3:24: note: calls to instance method 'drawHierarchy(in:afterScreenUpdates:)' from outside of its actor context are implicitly asynchronous
@MainActor open func drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool}
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:585:45: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
window.drawHierarchy(in: window.bounds, afterScreenUpdates: 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:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:593:75: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
drawTouchIndicators(in: context.cgContext, bounds: window.bounds)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:601:13: warning: capture of 'self' with non-sendable type 'SessionReplayManager?' in a '@Sendable' closure
self?.processFrame(image)
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:22:20: note: class 'SessionReplayManager' does not conform to the 'Sendable' protocol
public final class SessionReplayManager {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:615:36: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let frameInRoot = view.convert(view.bounds, to: rootView)
^
UIKit.UIView.convert:3:24: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
@MainActor open func convert(_ rect: CGRect, to coordinateSpace: any UICoordinateSpace) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:612:18: note: add '@MainActor' to make instance method 'collectSensitiveFramesRecursive(_:rootView:frames:)' part of global actor 'MainActor'
private func collectSensitiveFramesRecursive(_ view: UIView, rootView: UIView, frames: inout [CGRect]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:615:49: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let frameInRoot = view.convert(view.bounds, to: rootView)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:188:40: note: property declared here
@property(nonatomic) CGRect bounds; // default bounds is zero origin, frame size. animatable
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:612:18: note: add '@MainActor' to make instance method 'collectSensitiveFramesRecursive(_:rootView:frames:)' part of global actor 'MainActor'
private func collectSensitiveFramesRecursive(_ view: UIView, rootView: UIView, frames: inout [CGRect]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:621:29: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
for subview in view.subviews {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:222:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *subviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:612:18: note: add '@MainActor' to make instance method 'collectSensitiveFramesRecursive(_:rootView:frames:)' part of global actor 'MainActor'
private func collectSensitiveFramesRecursive(_ view: UIView, rootView: UIView, frames: inout [CGRect]) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:628:17: warning: main actor-isolated property 'isSensitive' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if view.isSensitive {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift:66:9: note: property declared here
var isSensitive: Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:626:18: note: add '@MainActor' to make instance method 'shouldMaskView' part of global actor 'MainActor'
private func shouldMaskView(_ view: UIView) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:639:64: warning: main actor-isolated property 'isSecureTextEntry' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
if let textField = view as? UITextField, textField.isSecureTextEntry {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:254:52: note: property declared here
@property(nonatomic,getter=isSecureTextEntry) BOOL secureTextEntry; // default is NO
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:626:18: note: add '@MainActor' to make instance method 'shouldMaskView' part of global actor 'MainActor'
private func shouldMaskView(_ view: UIView) -> Bool {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:688:29: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.frame.origin.x)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:689:29: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.frame.origin.y)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:690:29: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.frame.size.width)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:691:29: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.frame.size.height)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:185:40: note: property declared here
@property(nonatomic) CGRect frame;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:692:29: warning: main actor-isolated property 'isHidden' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.isHidden)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:307:56: note: property declared here
@property(nonatomic,getter=isHidden) BOOL hidden; // default is NO. doesn't check superviews
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:693:29: warning: main actor-isolated property 'alpha' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(view.alpha)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:304:56: note: property declared here
@property(nonatomic) CGFloat alpha; // animatable. default is 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:695:34: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
hasher.combine(label.text)
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:35:59: note: property declared here
@property(nullable, nonatomic,copy) NSString *text; // default is nil
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:698:29: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
for subview in view.subviews {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:222:64: note: property declared here
@property(nonatomic,readonly,copy) NSArray<__kindof UIView *> *subviews;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:687:18: note: add '@MainActor' to make instance method 'computeViewHash(_:into:)' part of global actor 'MainActor'
private func computeViewHash(_ view: UIView, into hasher: inout Hasher) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:759:41: warning: main actor-isolated property 'systemVersion' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
osVersion: UIDevice.current.systemVersion,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:43:51: note: property declared here
@property(nonatomic,readonly,strong) NSString *systemVersion; // e.g. @"4.0"
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:755:18: note: add '@MainActor' to make instance method 'saveSessionMetadata(_:logData:)' part of global actor 'MainActor'
private func saveSessionMetadata(_ session: ReplaySession, logData: SessionLogData?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:759:33: warning: main actor-isolated class property 'current' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
osVersion: UIDevice.current.systemVersion,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:37:49: note: class property declared here
@property(class, nonatomic, readonly) UIDevice *currentDevice;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:755:18: note: add '@MainActor' to make instance method 'saveSessionMetadata(_:logData:)' part of global actor 'MainActor'
private func saveSessionMetadata(_ session: ReplaySession, logData: SessionLogData?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:761:40: warning: main actor-isolated property 'identifierForVendor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
deviceId: UIDevice.current.identifierForVendor?.uuidString,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:46:61: note: property declared here
@property(nullable, nonatomic,readonly,strong) NSUUID *identifierForVendor API_AVAILABLE(ios(6.0)); // a UUID that may be used to uniquely identify the device, same across apps from a single vendor.
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:755:18: note: add '@MainActor' to make instance method 'saveSessionMetadata(_:logData:)' part of global actor 'MainActor'
private func saveSessionMetadata(_ session: ReplaySession, logData: SessionLogData?) {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:761:32: warning: main actor-isolated class property 'current' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
deviceId: UIDevice.current.identifierForVendor?.uuidString,
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:37:49: note: class property declared here
@property(class, nonatomic, readonly) UIDevice *currentDevice;
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:755:18: note: add '@MainActor' to make instance method 'saveSessionMetadata(_:logData:)' part of global actor 'MainActor'
private func saveSessionMetadata(_ session: ReplaySession, logData: SessionLogData?) {
^
@MainActor
SwiftCompile normal arm64 Compiling\ SwiftUIIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for SessionReplaySDK (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftDriver\ Compilation\ Requirements SessionReplaySDK normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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 SessionReplaySDK -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.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 -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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-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/SessionReplaySDK-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SessionReplaySDK-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftmodule (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftdoc (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.abi.json (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftsourceinfo (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionReplaySDK.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftDriverJobDiscovery normal arm64 Compiling SessionLogger.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftDriverJobDiscovery normal arm64 Compiling NetworkInterceptor.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
Building workspace spi-builder-workspace with scheme SessionReplaySDK
(3 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SessionReplaySDK: /Users/admin/builder/spi-builder-workspace
resolved source packages: SessionReplaySDK
{
"dependencies" : [
],
"manifest_display_name" : "SessionReplaySDK",
"name" : "SessionReplaySDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SessionReplaySDK",
"targets" : [
"SessionReplaySDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SessionReplaySDK",
"module_type" : "SwiftTarget",
"name" : "SessionReplaySDK",
"path" : "Sources/SessionReplaySDK",
"product_memberships" : [
"SessionReplaySDK"
],
"sources" : [
"Core/Models.swift",
"Core/SessionReplayManager.swift",
"Integration/SwiftUIIntegration.swift",
"Integration/UIKitIntegration.swift",
"Logging/NetworkInterceptor.swift",
"Logging/SessionLogger.swift",
"SessionReplaySDK.swift",
"Upload/SessionUploader.swift",
"Video/VideoWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SessionReplaySDK"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SessionReplaySDK -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SessionReplaySDK -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
SessionReplaySDK: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SessionReplaySDK' in project 'SessionReplaySDK'
➜ Explicit dependency on target 'SessionReplaySDK' in project 'SessionReplaySDK'
Target 'SessionReplaySDK' in project 'SessionReplaySDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 66f0ddffd218cc34efe76be1c9ba951a
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/66f0ddffd218cc34efe76be1c9ba951a.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver SessionReplaySDK normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
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 SessionReplaySDK -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -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 -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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:149:34: error: 'UIScreen' is unavailable in visionOS
let screenSize = UIScreen.main.bounds.size
^~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
@interface UIScreen : NSObject <UITraitEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:567:49: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
guard let window = UIApplication.shared.windows.first(where: { $0.isKeyWindow }) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift:597:16: warning: value 'count' was defined but never used; consider replacing with boolean test
if let count = currentSession?.frameCount {
~~~~^~~~~~~~
( ) != nil
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -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 -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 -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/swift-overrides.hmap -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/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionReplaySDK -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.o -index-unit-output-path /SessionReplaySDK.build/Debug-xros/SessionReplaySDK.build/Objects-normal/arm64/SessionReplayManager.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ Models.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SessionReplaySDK.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIKitIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/UIKitIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ NetworkInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/NetworkInterceptor.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SessionLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Logging/SessionLogger.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SwiftUIIntegration.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Integration/SwiftUIIntegration.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
EmitSwiftModule normal arm64 (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ VideoWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Video/VideoWriter.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SessionUploader.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Upload/SessionUploader.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling SessionReplaySDK.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
SwiftCompile normal arm64 Compiling\ SessionReplayManager.swift /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/SessionReplayManager.swift (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
Building workspace spi-builder-workspace with scheme SessionReplaySDK
(3 failures)
BUILD FAILURE 6.1 visionOS