Build Information
Failed to build SessionReplaySDK, reference main (4028db), with Swift 6.1 for macOS (Xcode) using Xcode 16.3 on 23 Feb 2026 12:22:44 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 platform=macOS,arch=arm64Build 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: macosXcodebuild
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 platform=macOS,arch=arm64 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 platform=macOS,arch=arm64 "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/MacOSX.platform/Developer/SDKs/MacOSX15.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: 444fa2a22f6b2e44c0c78263015ecc07
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/444fa2a22f6b2e44c0c78263015ecc07.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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/SessionReplaySDK.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/SessionReplaySDK.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/SessionReplaySDK.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/SessionReplaySDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/SessionReplaySDK.build/SessionReplaySDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
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/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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos12.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 -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/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/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/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\ 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\ 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
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\ 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\ 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
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift /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 -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/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/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/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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 15.4 -target-sdk-name macosx15.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.abi.json
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/Models.swift:55:40: error: cannot find type 'UIColor' in scope
public var sensitiveViewMaskColor: UIColor = .gray
^~~~~~~
/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\ 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\ 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
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
EmitSwiftModule normal arm64 (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 platform=macOS,arch=arm64
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 platform=macOS,arch=arm64
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/MacOSX.platform/Developer/SDKs/MacOSX15.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: c004f0a003c5ea084263997cc679c0d5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/c004f0a003c5ea084263997cc679c0d5.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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.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/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/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos12.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 -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/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/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/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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/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
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SessionReplaySDK/Core/Models.swift /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 -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/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/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/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/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 15.4 -target-sdk-name macosx15.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SessionReplaySDK.build/Debug/SessionReplaySDK.build/Objects-normal/arm64/SessionReplaySDK.abi.json
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/Models.swift:55:40: error: cannot find type 'UIColor' in scope
public var sensitiveViewMaskColor: UIColor = .gray
^~~~~~~
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\ 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\ 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\ 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\ 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
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\ 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
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:e5db84e8def55e8b91e1ff225b70f191f73b04c9, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionReplaySDK (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
EmitSwiftModule normal arm64 (in target 'SessionReplaySDK' from project 'SessionReplaySDK')
Building workspace spi-builder-workspace with scheme SessionReplaySDK
(3 failures)
BUILD FAILURE 6.1 macosXcodebuild