Build Information
Failed to build DynamicButtonStack, reference 1.2.1 (3e9750), with Swift 6.1 for visionOS using Xcode 16.3 on 11 Feb 2026 23:13:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DynamicButtonStack -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/douglashill/DynamicButtonStack.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/douglashill/DynamicButtonStack
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 3e97501 Convert DynamicButtonStackDemo group to synced folder
Cloned https://github.com/douglashill/DynamicButtonStack.git
Revision (git rev-parse @):
3e9750167707144180f8caa5273b9b564bdd4adb
SUCCESS checkout https://github.com/douglashill/DynamicButtonStack.git at 1.2.1
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/douglashill/DynamicButtonStack.git
https://github.com/douglashill/DynamicButtonStack.git
{
"dependencies" : [
],
"manifest_display_name" : "DynamicButtonStack",
"name" : "DynamicButtonStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DynamicButtonStack",
"targets" : [
"DynamicButtonStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DynamicButtonStack",
"module_type" : "SwiftTarget",
"name" : "DynamicButtonStack",
"path" : ".",
"product_memberships" : [
"DynamicButtonStack"
],
"sources" : [
"DynamicButtonStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
"dependencies" : [
],
"manifest_display_name" : "DynamicButtonStack",
"name" : "DynamicButtonStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DynamicButtonStack",
"targets" : [
"DynamicButtonStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DynamicButtonStack",
"module_type" : "SwiftTarget",
"name" : "DynamicButtonStack",
"path" : ".",
"product_memberships" : [
"DynamicButtonStack"
],
"sources" : [
"DynamicButtonStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"project" : {
"configurations" : [
"Debug",
"Release"
],
"name" : "DynamicButtonStack",
"schemes" : [
"DynamicButtonStackDemo",
"DynamicButtonStackDemoAlt"
],
"targets" : [
"DynamicButtonStackDemo"
]
}
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"DynamicButtonStack"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DynamicButtonStack -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DynamicButtonStack -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
DynamicButtonStack: /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 'DynamicButtonStack' in project 'DynamicButtonStack'
➜ Explicit dependency on target 'DynamicButtonStack' in project 'DynamicButtonStack'
Target 'DynamicButtonStack' in project 'DynamicButtonStack' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1b3fac7736c86e5d659307b1b234388f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1b3fac7736c86e5d659307b1b234388f.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.DependencyMetadataFileList (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.DependencyStaticMetadataFileList (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.modulemap (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-OutputFileMap.json (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.LinkFileList (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftConstValuesFileList (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/DynamicButtonStack.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.modulemap (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DynamicButtonStack.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver DynamicButtonStack normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
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 DynamicButtonStack -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ DynamicButtonStack (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ DynamicButtonStack.swift /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:395:27: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
availableWidth - (contentEdgeInsets.left + contentEdgeInsets.right)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:395:52: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
availableWidth - (contentEdgeInsets.left + contentEdgeInsets.right)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:484:55: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
width: max(minLength, contentSize.width + contentEdgeInsets.left + contentEdgeInsets.right),
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:484:80: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
width: max(minLength, contentSize.width + contentEdgeInsets.left + contentEdgeInsets.right),
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:485:57: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
height: max(minLength, contentSize.height + contentEdgeInsets.top + contentEdgeInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:485:81: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
height: max(minLength, contentSize.height + contentEdgeInsets.top + contentEdgeInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:509:13: warning: 'imageEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
imageEdgeInsets = UIEdgeInsets(view: self, top: 0, leading: -extraImageShift, bottom: 0, trailing: halfInternalSpacing + extraImageShift)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:510:13: warning: 'titleEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
titleEdgeInsets = UIEdgeInsets(view: self, top: 0, leading: halfInternalSpacing - extraTitleShift, bottom: 0, trailing: extraTitleShift)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:523:13: warning: 'imageEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
imageEdgeInsets = UIEdgeInsets(view: self, top: -extraImageShift, leading: 0, bottom: titleSize.height + halfInternalSpacing + extraImageShift, trailing: -titleSize.width)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:524:13: warning: 'titleEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
titleEdgeInsets = UIEdgeInsets(view: self, top: imageSize.height + halfInternalSpacing - extraTitleShift, leading: -imageSize.width, bottom: extraTitleShift, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:558:29: error: 'screen' is unavailable in visionOS
let scale = window?.screen.scale ?? 1
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:34:39: note: 'screen' has been explicitly marked unavailable here
@property(nonatomic,strong) UIScreen *screen API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(visionos); // default is [UIScreen mainScreen]. changing the screen may be an expensive operation and should not be done in performance-sensitive code
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name DynamicButtonStack -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.o -index-unit-output-path /DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftDriverJobDiscovery normal arm64 Emitting module for DynamicButtonStack (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftDriver\ Compilation\ Requirements DynamicButtonStack normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name DynamicButtonStack -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/DynamicButtonStack-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/DynamicButtonStack-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftdoc (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.abi.json (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftsourceinfo (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 Compiling\ DynamicButtonStack.swift /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
Building workspace spi-builder-workspace with scheme DynamicButtonStack
(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:
DynamicButtonStack: /Users/admin/builder/spi-builder-workspace
resolved source packages: DynamicButtonStack
{
"dependencies" : [
],
"manifest_display_name" : "DynamicButtonStack",
"name" : "DynamicButtonStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DynamicButtonStack",
"targets" : [
"DynamicButtonStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DynamicButtonStack",
"module_type" : "SwiftTarget",
"name" : "DynamicButtonStack",
"path" : ".",
"product_memberships" : [
"DynamicButtonStack"
],
"sources" : [
"DynamicButtonStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"DynamicButtonStack"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DynamicButtonStack -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme DynamicButtonStack -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
DynamicButtonStack: /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 'DynamicButtonStack' in project 'DynamicButtonStack'
➜ Explicit dependency on target 'DynamicButtonStack' in project 'DynamicButtonStack'
Target 'DynamicButtonStack' in project 'DynamicButtonStack' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 3841c3aee189c1d36adbc8d57bd0a4a4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3841c3aee189c1d36adbc8d57bd0a4a4.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver DynamicButtonStack normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
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 DynamicButtonStack -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ DynamicButtonStack (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ DynamicButtonStack.swift /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:395:27: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
availableWidth - (contentEdgeInsets.left + contentEdgeInsets.right)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:395:52: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
availableWidth - (contentEdgeInsets.left + contentEdgeInsets.right)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:484:55: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
width: max(minLength, contentSize.width + contentEdgeInsets.left + contentEdgeInsets.right),
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:484:80: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
width: max(minLength, contentSize.width + contentEdgeInsets.left + contentEdgeInsets.right),
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:485:57: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
height: max(minLength, contentSize.height + contentEdgeInsets.top + contentEdgeInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:485:81: warning: 'contentEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
height: max(minLength, contentSize.height + contentEdgeInsets.top + contentEdgeInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:509:13: warning: 'imageEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
imageEdgeInsets = UIEdgeInsets(view: self, top: 0, leading: -extraImageShift, bottom: 0, trailing: halfInternalSpacing + extraImageShift)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:510:13: warning: 'titleEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
titleEdgeInsets = UIEdgeInsets(view: self, top: 0, leading: halfInternalSpacing - extraTitleShift, bottom: 0, trailing: extraTitleShift)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:523:13: warning: 'imageEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
imageEdgeInsets = UIEdgeInsets(view: self, top: -extraImageShift, leading: 0, bottom: titleSize.height + halfInternalSpacing + extraImageShift, trailing: -titleSize.width)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:524:13: warning: 'titleEdgeInsets' was deprecated in visionOS 1.0: This property is ignored when using UIButtonConfiguration
titleEdgeInsets = UIEdgeInsets(view: self, top: imageSize.height + halfInternalSpacing - extraTitleShift, leading: -imageSize.width, bottom: extraTitleShift, trailing: 0)
^
/Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift:558:29: error: 'screen' is unavailable in visionOS
let scale = window?.screen.scale ?? 1
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:34:39: note: 'screen' has been explicitly marked unavailable here
@property(nonatomic,strong) UIScreen *screen API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(visionos); // default is [UIScreen mainScreen]. changing the screen may be an expensive operation and should not be done in performance-sensitive code
^
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name DynamicButtonStack -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.o -index-unit-output-path /DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftDriverJobDiscovery normal arm64 Emitting module for DynamicButtonStack (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftDriver\ Compilation\ Requirements DynamicButtonStack normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name DynamicButtonStack -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.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/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.abi.json (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DynamicButtonStack.build/Debug-xros/DynamicButtonStack.build/Objects-normal/arm64/DynamicButtonStack.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/DynamicButtonStack.swiftmodule/arm64-apple-xros.abi.json
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
SwiftCompile normal arm64 Compiling\ DynamicButtonStack.swift /Users/admin/builder/spi-builder-workspace/DynamicButtonStack.swift (in target 'DynamicButtonStack' from project 'DynamicButtonStack')
Building workspace spi-builder-workspace with scheme DynamicButtonStack
(3 failures)
BUILD FAILURE 6.1 visionOS