Build Information
Failed to build PreviewResizable, reference main (ff59f6), with Swift 6.4 for visionOS using Xcode 27.0 on 18 Sep 2026 22:19:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PreviewResizable -destination generic/platform=xrOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannxou/PreviewResizable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yannxou/PreviewResizable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ff59f64 Update README.md
Cloned https://github.com/yannxou/PreviewResizable.git
Revision (git rev-parse @):
ff59f6419111b1912f288d67da4867ed365419a9
SUCCESS checkout https://github.com/yannxou/PreviewResizable.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/yannxou/PreviewResizable.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
PreviewResizable: /Users/admin/builder/spi-builder-workspace
resolved source packages: PreviewResizable
2026-09-18 18:18:08.847 xcodebuild[529:3040] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "PreviewResizable",
"name" : "PreviewResizable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "PreviewResizable",
"targets" : [
"PreviewResizable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreviewResizable",
"module_type" : "SwiftTarget",
"name" : "PreviewResizable",
"path" : "Sources/PreviewResizable",
"product_memberships" : [
"PreviewResizable"
],
"sources" : [
"ChildSizeReader.swift",
"PreviewResizableViewModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "PreviewResizable",
"schemes" : [
"PreviewResizable"
]
}
}
2026-09-18 18:18:49.753 xcodebuild[651:4164] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PreviewResizable -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 PreviewResizable -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
PreviewResizable: /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 'PreviewResizable-product' in project 'PreviewResizable'
➜ Explicit dependency on target 'PreviewResizable' in project 'PreviewResizable'
Target 'PreviewResizable' in project 'PreviewResizable' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d12e74eb5e0ed4e4f310ef66ac44cbe1
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d12e74eb5e0ed4e4f310ef66ac44cbe1.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
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
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
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
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/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/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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.modulemap (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.DependencyMetadataFileList (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.DependencyStaticMetadataFileList (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftConstValuesFileList (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.LinkFileList (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftFileList (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-OutputFileMap.json (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/PreviewResizable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.modulemap (in target 'PreviewResizable' from project 'PreviewResizable')
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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/PreviewResizable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver PreviewResizable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PreviewResizable -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-5BU2ADS7JXQMYENKQHW9X8XOU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-46GOQP8J1QTHLYQSJW81T8UZ3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-C8XHKSHX96D5YYALNM4W70Z0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-1Q8IQP6M38UWSGZ95UCEY2M44.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-CDA349K2K4US766844K8E0PVA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BXA97MNLI4BB0HF5I8MJE403D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-AW1O397P711WTY8KSK8LZX9YA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-CI4H5RO9IYFFWQ2COB512Q2S9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-1WBA714DZSVUL5JQDJ08CLKZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6WKHNW5S40U2QGHXXGETUDIRA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-5NQ9Z1GV07GBSRQGAQCGXGVRI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5RGRVV2TZ6WC4WZW5IXF8NQ04.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-ENTECK156YEWITZRRBTOCE4KR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-425JDMN5HPM3D0UEI8LEHP6NM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8OR6T47OOYJA90ZBO3N1USDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-2GT67HHHHK5CF1V1S31LH0PU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-AYM0BHR77VKMWZCO2T0XGV2HF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-BPYSMHWI520EQRL2HW519ZY7Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-1VUZPM79PNCAHXVBERD53WRSF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-9ZHN6JKBS40BBA81RQMV8H0IC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-BC5IJI3YI34RQ61ZNVDRDZ6RN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-11B64KJD36B3YOHBR1BBXBJY8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-60P5LVNQO3ESRRM5DCJ05PFNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-9XXAB17Y6E4BBPQADD61NZ23.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-3XTHY7HWV6RF3KXKYQVHUBUXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-26TIBFYCEJZVP216ZZAU1X8KN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-692CJ8BG6RE5H04487EJJOVXW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-4U1VXMWIZD80E7PRUQF2G7P9X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CLT3466HKC22GCKAWSCNG0H7T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-5E0I2846LO3ZE24CSVR2O57TI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-AVLTZVCXBU2TO75JCN4AGU8XJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-EP5EU7FNGP4VOA3EDM18P1KHO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-CCUV1M8EULNEQJUXO7L0PJAL4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-1004XEJ3IXOOAU0KL58SM3D0K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-5MI70N1VLDQSWTX4COWLMSIRO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-BFUJ177R223UT2ZI327ZTZY91.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-45UXYEQRN95KG6BF2CW0QIYK9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8TH2M8WJIQMET4SADWX0N8372.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-CXS3C78T5TQDGLEGXIBJ04WJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-8GON1KVEKRN3NOQI8RETBRWJP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-6F9TY5TEPCCZ1K2KYM4GMEGHD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-5CC6COR9KJYI1UBL7CSHLU2OG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BANTQ3WXXGKZJYC0LLB3MD9K0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-BNGT87TS0GMBFF7TY70HHB69.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AOVGLUWEAN6CG2UZFNESGSP6C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-8IIV1V1FPNAPA4LY1Y23LOM2N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-8TBYAKHCX6UC8QQSS7BD8GQK5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-EQPZZF3W6BWG89K0PY9NZO3T0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-8GQGFVARUE99D8VJX3TINY0VP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-73N6Z547OZUEZ8ADGEC6XRHWN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-5FE9U89GVFF9A7X7AGO2R8ENI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-E5KMWDZEKS4QW9RO1KBRDEXV6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C9I28SI56F2SEVH1BCWTKGODO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-7L19IC4ZH9BPYLVTD8IIFWN9R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-9MSPUJ85OBXBTOD7NJCT1GZ0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-1DR4J4YDVDGAYQTZ0FKZ1PU09.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-1SN37095DAPVJ068LLP9TBDQX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-8G2XC01RPQ5HYIZE6JNUT864I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-EKNUM9P3PRIBHZK1ZBD6BA2T7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-56BKSYXNVAP91BYZRWAKQZKGI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-55P8FRNK50AFZOMMB2LBBOX33.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-10LV922UPGE28QX2SOIO7ALIZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-2K3S8EA590EB3GMH6D6784BWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-E12HJSJSLO0YKWYBES11UKJ02.pcm
SwiftExplicitDependencyCompileModuleFromInterface arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-URHKVVOFZL5Z.swiftmodule
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitFoundation-3N77COW7DLP77CM0PWZXSR9BD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-12T8WVKUNCL1N7VXH87MM4YOB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-D1IBHC28BRHWLNUG1Q75G5YN0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-8WF1P230U10QM666EQMNV7OF1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreML-37QYERWC0RQN4IY4377UD0TY1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-6OBBMA39VFD4CB6SG2PE41FAP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-E8GATWFYYBEBB41O9N0LRRGYC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-1J5U29ERBPNPI1HKEJHXOP8EV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Vision-DVVG9MQGC3IMTVPTC1691MQ6Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-7I4MDYIPJ4IWU1ZSL4JE3I7M6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2D2PMAAE45TMO6S28UCGCO5BR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-DFCX8GQJWVA3CZBITWEHAZEFX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitCore-307YVPJLQNB66BTBIONHZNP86.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-77PUPXISY3V3TUF5FJEHUQC86.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/GameController-7QL0VMQHE24OWQFUR0UFT89DW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKit-27VDPOZ50FG2MJG7OFV6IFQYQ.pcm
SwiftCompile normal arm64 Compiling\ PreviewResizableViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift (in target 'PreviewResizable' from project 'PreviewResizable')
macro expansion @State:7:55: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:7:96: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:23: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PreviewResizableViewModifier.swift
macro expansion @State:2:64: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:67: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:108: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:199: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftEmitModule normal arm64 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
macro expansion @State:7:55: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:7:96: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:23: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:64: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:67: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:108: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:199: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:240: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/PreviewResizable/ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PreviewResizable -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.abi.json
SwiftCompile normal arm64 (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ChildSizeReader.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 18:18:51.279 xcodebuild[652:4211] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64 (in target 'PreviewResizable' from project 'PreviewResizable')
Building workspace PreviewResizable with scheme PreviewResizable
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
PreviewResizable: /Users/admin/builder/spi-builder-workspace
resolved source packages: PreviewResizable
2026-09-18 18:18:58.660 xcodebuild[762:4644] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "PreviewResizable",
"name" : "PreviewResizable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "PreviewResizable",
"targets" : [
"PreviewResizable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreviewResizable",
"module_type" : "SwiftTarget",
"name" : "PreviewResizable",
"path" : "Sources/PreviewResizable",
"product_memberships" : [
"PreviewResizable"
],
"sources" : [
"ChildSizeReader.swift",
"PreviewResizableViewModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "PreviewResizable",
"schemes" : [
"PreviewResizable"
]
}
}
2026-09-18 18:18:59.858 xcodebuild[770:4714] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PreviewResizable -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 PreviewResizable -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
PreviewResizable: /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 'PreviewResizable-product' in project 'PreviewResizable'
➜ Explicit dependency on target 'PreviewResizable' in project 'PreviewResizable'
Target 'PreviewResizable' in project 'PreviewResizable' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver PreviewResizable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PreviewResizable -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ChildSizeReader.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
macro expansion @State:7:55: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:7:96: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:23: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:64: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:67: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:108: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:199: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:240: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.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/PreviewResizable/ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PreviewResizable -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-xros/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable.abi.json
SwiftCompile normal arm64 (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PreviewResizableViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift (in target 'PreviewResizable' from project 'PreviewResizable')
macro expansion @State:7:55: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:7:96: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxNlByZXZpZXdSZXNpemFibGUwYUIxMlZpZXdNb2RpZmllclY0c2l6ZTMzXzc2QzM3QTIwNDdBQ0NCNURCMjY1OTdFN0YwMzJBMEUwTEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 6 | private var _size: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width))
| | `- error: 'UIScreen' is unavailable in visionOS
| 8 | })
| 9 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in visionOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'UIScreen' is unavailable in visionOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:2:23: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PreviewResizableViewModifier.swift
macro expansion @State:2:64: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __size = SwiftUICore.State._makeStorage({
| 2 | CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| | `- error: 'UIScreen' is unavailable in visionOS
| 3 | })
| 4 |
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:67: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:11:108: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $size = SwiftUICore.State(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)).projectedValue
| | `- error: 'UIScreen' is unavailable in visionOS
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
macro expansion @State:14:199: error: 'UIScreen' is unavailable in visionOS
`- /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:118: note: expanded code originates here
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- note: in expansion of macro 'State' on property 'size' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgQ0dTaXplKHdpZHRoOiBVSVNjcmVlbi5tYWluLmJvdW5kcy5zaXplLndpZHRoLCBoZWlnaHQ6IFVJU2NyZWVuLm1haW4uYm91bmRzLnNpemUud2lkdGgpIH0p")
|14 | private static var $s16PreviewResizable0aB12ViewModifierV4size33_76C37A2047ACCB5DB26597E7F032A0E0LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)))
| | `- error: 'UIScreen' is unavailable in visionOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 18:19:00.858 xcodebuild[771:4740] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64 (in target 'PreviewResizable' from project 'PreviewResizable')
Building workspace PreviewResizable with scheme PreviewResizable
(3 failures)
BUILD FAILURE 6.4 visionOS