The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: error: value of type 'ARView' has no member 'session'
 19 |         var modelEntityDetailsDict: [String: [String]] = [:]
 20 |
 21 |         if let arAnchors = uiView.session.currentFrame?.anchors {
    |                                   `- error: value of type 'ARView' has no member 'session'
 22 |             for arAnchor in arAnchors {
 23 |                 if let modelName = arAnchor.name {
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:43:16: error: value of type 'ARView' has no member 'session'
 41 |         let anchorDataURL = self.worldMapDir.appendingPathComponent("ARExperience.map")
 42 |
 43 |         uiView.session.getCurrentWorldMap { (worldMap, error) in
    |                `- error: value of type 'ARView' has no member 'session'
 44 |             guard let worldMap = worldMap else {
 45 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:77:79: error: cannot find 'ARWorldMap' in scope
 75 |         do {
 76 |             let anchorData = try Data(contentsOf: anchorDataURL)
 77 |             if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: ARWorldMap.self, from: anchorData) {
    |                                                                               `- error: cannot find 'ARWorldMap' in scope
 78 |                 let configuration = ARWorldTrackingConfiguration()
 79 |                 configuration.initialWorldMap = worldMap
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:77:53: error: static method 'unarchivedObject(ofClass:from:)' requires that 'NSObject' conform to 'NSCoding'
 75 |         do {
 76 |             let anchorData = try Data(contentsOf: anchorDataURL)
 77 |             if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: ARWorldMap.self, from: anchorData) {
    |                                                     `- error: static method 'unarchivedObject(ofClass:from:)' requires that 'NSObject' conform to 'NSCoding'
 78 |                 let configuration = ARWorldTrackingConfiguration()
 79 |                 configuration.initialWorldMap = worldMap
Foundation.NSKeyedUnarchiver.unarchivedObject:3:31: note: where 'DecodedObjectType' = 'NSObject'
1 | class NSKeyedUnarchiver {
2 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
3 |   @nonobjc public static func unarchivedObject<DecodedObjectType>(ofClass cls: DecodedObjectType.Type, from data: Data) throws -> DecodedObjectType? where DecodedObjectType : NSObject, DecodedObjectType : NSCoding}
  |                               `- note: where 'DecodedObjectType' = 'NSObject'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:78:37: error: cannot find 'ARWorldTrackingConfiguration' in scope
 76 |             let anchorData = try Data(contentsOf: anchorDataURL)
 77 |             if let worldMap = try NSKeyedUnarchiver.unarchivedObject(ofClass: ARWorldMap.self, from: anchorData) {
 78 |                 let configuration = ARWorldTrackingConfiguration()
    |                                     `- error: cannot find 'ARWorldTrackingConfiguration' in scope
 79 |                 configuration.initialWorldMap = worldMap
 80 |                 uiView.session.run(configuration, options: [.resetTracking, .removeExistingAnchors])
/Users/admin/builder/spi-builder-workspace/Sources/ARPersistence/ARPersistence.swift:80:24: error: value of type 'ARView' has no member 'session'
 78 |                 let configuration = ARWorldTrackingConfiguration()
 79 |                 configuration.initialWorldMap = worldMap
 80 |                 uiView.session.run(configuration, options: [.resetTracking, .removeExistingAnchors])
    |                        `- error: value of type 'ARView' has no member 'session'
 81 |             }
 82 |         } 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