Build Information
Failed to build PreviewResizable, reference main (ff59f6), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 22:18:49 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=watchOSBuild Log
|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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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_32 /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
SwiftCompile normal arm64_32 Compiling\ ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64_32 /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:39.428 xcodebuild[643:4091] [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')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64_32 (in target 'PreviewResizable' from project 'PreviewResizable')
Building workspace PreviewResizable with scheme PreviewResizable
(5 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:45.840 xcodebuild[793:4674] [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:47.044 xcodebuild[801:4753] [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=watchOS
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=watchOS
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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver PreviewResizable normal arm64_32 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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
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-watchos/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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/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-watchos/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-watchos/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-watchos/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/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-watchos/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
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
macro expansion @State:7:55: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:64: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:7:96: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:105: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:54: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:95: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:23: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:32: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:64: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:73: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:67: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:76: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:108: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:117: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:199: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:208: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:240: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:249: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'PreviewResizable' from project 'PreviewResizable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/Objects-normal/arm64_32/PreviewResizable.abi.json
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
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 watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:64: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:7:96: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:105: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:54: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:95: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:23: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:32: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:64: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:73: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:67: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:76: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:108: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:117: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:199: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:208: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
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:14:240: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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 watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:64: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:7:96: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:105: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:54: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:95: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:23: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:32: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:64: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:73: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:67: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:76: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:108: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:117: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:199: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:208: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:240: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:249: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
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-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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-watchos/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/PreviewResizable-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PreviewResizable.build/Debug-watchos/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-watchos/PreviewResizable-t.build/Objects-normal/arm64/PreviewResizable_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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-watchos/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-watchos/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-watchos/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-watchos/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-watchos/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-watchos/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-watchos/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_32 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 watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:64: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:7:96: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:105: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:45: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:54: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/PreviewResizableViewModifier.swift:12:86: error: 'UIScreen' is unavailable in watchOS
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 watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:95: error: 'main' is unavailable in watchOS
10 | struct PreviewResizableViewModifier: ViewModifier {
11 |
12 | @State private var size = CGSize(width: UIScreen.main.bounds.size.width, height: UIScreen.main.bounds.size.width)
| `- error: 'main' is unavailable in watchOS
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:23: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:32: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:2:64: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.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:73: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
| 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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:67: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:76: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:11:108: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.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:117: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
|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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:199: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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:208: error: 'main' is unavailable in watchOS
`- /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: 'main' is unavailable in watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' 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
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
macro expansion @State:14:240: error: 'UIScreen' is unavailable in watchOS
`- /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 watchOS
+-------------------------------------------------------------------
13 | @State private var isDragging = false
14 | @State private var contentSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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_32 /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
SwiftCompile normal arm64_32 Compiling\ ChildSizeReader.swift /Users/admin/builder/spi-builder-workspace/Sources/PreviewResizable/ChildSizeReader.swift (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftCompile normal arm64_32 /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/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:18:47.930 xcodebuild[802:4783] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'PreviewResizable' from project 'PreviewResizable')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PreviewResizable (in target 'PreviewResizable' from project 'PreviewResizable')
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
(5 failures)
BUILD FAILURE 6.4 watchOS