Build Information
Failed to build ScrollingCarousel, reference 1.1.0 (acc858), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 01:30:59 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 ScrollingCarousel -destination generic/platform=watchOSBuild Log
| `- 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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
macro expansion @State:16:39: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift -target arm64_32-apple-watchos10.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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScrollingCarousel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.abi.json
SwiftCompile normal arm64_32 Compiling\ ScrollingCarousel.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollingCarousel.swift
macro expansion @State:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:39: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift -target arm64-apple-watchos10.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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScrollingCarousel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.abi.json
SwiftCompile normal arm64 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollingCarousel.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollingCarousel.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-21 21:30:49.238 xcodebuild[628:3896] [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 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftCompile normal arm64 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
Building workspace ScrollingCarousel with scheme ScrollingCarousel
(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:
ScrollingCarousel: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScrollingCarousel
2026-09-21 21:30:55.831 xcodebuild[793:4613] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ScrollingCarousel",
"name" : "ScrollingCarousel",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "ScrollingCarousel",
"targets" : [
"ScrollingCarousel"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScrollingCarousel",
"module_type" : "SwiftTarget",
"name" : "ScrollingCarousel",
"path" : "Sources/ScrollingCarousel",
"product_memberships" : [
"ScrollingCarousel"
],
"sources" : [
"ScrollingCarousel.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ScrollingCarousel",
"schemes" : [
"ScrollingCarousel"
]
}
}
2026-09-21 21:30:57.081 xcodebuild[801:4682] [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 ScrollingCarousel -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 ScrollingCarousel -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ScrollingCarousel: /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 'ScrollingCarousel-product' in project 'ScrollingCarousel'
➜ Explicit dependency on target 'ScrollingCarousel' in project 'ScrollingCarousel'
Target 'ScrollingCarousel' in project 'ScrollingCarousel' (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 ScrollingCarousel normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
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 ScrollingCarousel -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.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-watchos10.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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ScrollingCarousel normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
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 ScrollingCarousel -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.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-watchos10.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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64_32 Compiling\ ScrollingCarousel.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollingCarousel.swift
macro expansion @State:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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_32 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:39: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift -target arm64_32-apple-watchos10.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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScrollingCarousel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64_32/ScrollingCarousel.abi.json
SwiftCompile normal arm64_32 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:39: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift -target arm64-apple-watchos10.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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-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 6 -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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScrollingCarousel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel_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/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollingCarousel.build/Debug-watchos/ScrollingCarousel-t.build/Objects-normal/arm64/ScrollingCarousel.abi.json
SwiftCompile normal arm64 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScrollingCarousel.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:47: error: 'UIScreen' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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/ScrollingCarousel/ScrollingCarousel.swift:14:56: error: 'main' is unavailable in watchOS
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:34: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:43: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __screenWidth = SwiftUICore.State._makeStorage(({
| 2 | let value: CGFloat = UIScreen.main.bounds.width
| | `- error: 'main' is unavailable in watchOS
| 3 | return value
| 4 | }))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:50: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'UIScreen' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:8:59: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
| 6 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMxN1Njcm9sbGluZ0Nhcm91c2VsQUFWMTFzY3JlZW5XaWR0aDMzX0ZBRDMwQUE2OEE5RDBFMTM4OUM4RDYzOUEwNDEwMjZETEw1U3RhdGVmTXBfMjBfaW5pdGlhbFN0b3JlZFZhbHVlX2ZNdV8=")
| 7 | private var _screenWidth: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 8 | SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width)
| | `- error: 'main' is unavailable in watchOS
| 9 | })
|10 |
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:69: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'UIScreen' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:12:78: error: 'main' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|10 |
|11 | @SwiftUICore._StateProjectedValue
|12 | private var $screenWidth = SwiftUICore.State<CGFloat>(initialValue: UIScreen.main.bounds.width).projectedValue
| | `- error: 'main' is unavailable in watchOS
|13 |
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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:16:30: error: 'UIScreen' is unavailable in watchOS
`- /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift:14:73: note: expanded code originates here
12 | public struct ScrollingCarousel<Content: View>: View {
13 | @State private var horizontalPadding: CGFloat = 20
14 | @State private var screenWidth: CGFloat = UIScreen.main.bounds.width
| `- note: in expansion of macro 'State' on property 'screenWidth' here
+--- macro expansion @State ----------------------------------------
|14 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKCh7IGxldCB2YWx1ZTogQ0dGbG9hdCA9IFVJU2NyZWVuLm1haW4uYm91bmRzLndpZHRoCnJldHVybiB2YWx1ZSB9KSk=")
|15 | private static var $s17ScrollingCarouselAAV11screenWidth33_FAD30AA68A9D0E1389C8D639A041026DLL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: {
|16 | let x: CGFloat = UIScreen.main.bounds.width
| | `- error: 'UIScreen' is unavailable in watchOS
|17 | return x
|18 | }()))
+-------------------------------------------------------------------
15 | @State private var dynamicWidth: CGFloat = 248
16 | @State private var dynamicHeight: CGFloat = 0
/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 /Users/admin/builder/spi-builder-workspace/Sources/ScrollingCarousel/ScrollingCarousel.swift (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollingCarousel.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 21:30:58.168 xcodebuild[802:4707] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftCompile normal arm64_32 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScrollingCarousel (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
SwiftCompile normal arm64 (in target 'ScrollingCarousel' from project 'ScrollingCarousel')
Building workspace ScrollingCarousel with scheme ScrollingCarousel
(5 failures)
BUILD FAILURE 6.4 watchOS