Build Information
Failed to build ARPersistence, reference 1.0.0 (e1fcbc), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 05:30:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Shiru99/ARPersistence.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Shiru99/ARPersistence
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at e1fcbc7 AR - Persistance Package - minor fixes
Cloned https://github.com/Shiru99/ARPersistence.git
Revision (git rev-parse @):
e1fcbc7299b94e778703414a7a82de838a776d11
SUCCESS checkout https://github.com/Shiru99/ARPersistence.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Shiru99/ARPersistence.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] ARPersistence
[31 / 123]
[36 / 123]
[44 / 123]
[46 / 123]
[47 / 123]
[52 / 123]
[55 / 123]
[59 / 123]
[65 / 123]
[68 / 123]
[70 / 123]
[71 / 123]
[83 / 123]
[89 / 123]
[91 / 123]
[96 / 123]
[100 / 123]
[107 / 123]
[108 / 123]
[109 / 123]
[112 / 123]
[114 / 123] ARPersistence
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile ARPersistence.swift
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:21:35: [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m19 |[0;0m var modelEntityDetailsDict: [String: [String]] = [:]
[0;36m20 |[0;0m
[0;36m21 |[0;0m if let arAnchors = [4;39muiView[0;0m.[4;39msession[0;0m.currentFrame?.anchors {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m22 |[0;0m for arAnchor in arAnchors {
[0;36m23 |[0;0m if let modelName = arAnchor.name {
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:43:16: [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m41 |[0;0m let anchorDataURL = self.worldMapDir.appendingPathComponent("ARExperience.map")
[0;36m42 |[0;0m
[0;36m43 |[0;0m [4;39muiView[0;0m.[4;39msession[0;0m.getCurrentWorldMap { (worldMap, error) in
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m44 |[0;0m guard let worldMap = worldMap else {
[0;36m45 |[0;0m return
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:77:79: [1;31merror: [1;39mcannot find 'ARWorldMap' in scope[0;0m
[0;36m75 |[0;0m do {
[0;36m76 |[0;0m let anchorData = try Data(contentsOf: anchorDataURL)
[0;36m77 |[0;0m if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: [4;39mARWorldMap[0;0m.self, from: anchorData) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ARWorldMap' in scope[0;0m
[0;36m78 |[0;0m let configuration = ARWorldTrackingConfiguration()
[0;36m79 |[0;0m configuration.initialWorldMap = worldMap
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:77:53: [1;31merror: [1;39mstatic method 'unarchivedObject(ofClass:from:)' requires that 'NSObject' conform to 'NSCoding'[0;0m
[0;36m75 |[0;0m do {
[0;36m76 |[0;0m let anchorData = try Data(contentsOf: anchorDataURL)
[0;36m77 |[0;0m if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: ARWorldMap.self, from: anchorData) {
[0;36m|[0;0m `- [1;31merror: [1;39mstatic method 'unarchivedObject(ofClass:from:)' requires that 'NSObject' conform to 'NSCoding'[0;0m
[0;36m78 |[0;0m let configuration = ARWorldTrackingConfiguration()
[0;36m79 |[0;0m configuration.initialWorldMap = worldMap
Foundation.NSKeyedUnarchiver.unarchivedObject:3:31: [1;39mnote: [1;39mwhere 'DecodedObjectType' = 'NSObject'[0;0m
[0;36m1 |[0;0m class NSKeyedUnarchiver {
[0;36m2 |[0;0m @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[0;36m3 |[0;0m @nonobjc public static func unarchivedObject<DecodedObjectType>(ofClass cls: DecodedObjectType.Type, from data: Data) throws -> DecodedObjectType? where DecodedObjectType : NSObject, DecodedObjectType : NSCoding}
[0;36m|[0;0m `- [1;39mnote: [1;39mwhere 'DecodedObjectType' = 'NSObject'[0;0m
[0;36m4 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:78:37: [1;31merror: [1;39mcannot find 'ARWorldTrackingConfiguration' in scope[0;0m
[0;36m76 |[0;0m let anchorData = try Data(contentsOf: anchorDataURL)
[0;36m77 |[0;0m if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: ARWorldMap.self, from: anchorData) {
[0;36m78 |[0;0m let configuration = [4;39mARWorldTrackingConfiguration[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ARWorldTrackingConfiguration' in scope[0;0m
[0;36m79 |[0;0m configuration.initialWorldMap = worldMap
[0;36m80 |[0;0m uiView.session.run(configuration, options: [.resetTracking, .removeExistingAnchors])
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:80:24: [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m78 |[0;0m let configuration = ARWorldTrackingConfiguration()
[0;36m79 |[0;0m configuration.initialWorldMap = worldMap
[0;36m80 |[0;0m [4;39muiView[0;0m.[4;39msession[0;0m.run(configuration, options: [.resetTracking, .removeExistingAnchors])
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'ARView' has no member 'session'[0;0m
[0;36m81 |[0;0m }
[0;36m82 |[0;0m } catch {
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.dia -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import ARKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ARKit.framework/Modules/ARKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/ComputeGraph.swiftoverlay -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ARPersistence -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.swiftmodule -index-unit-output-path /ARPersistence.build/Debug/ARPersistence-t.build/Objects-normal/arm64/ARPersistence.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm