Build Information
Failed to build WelcomeSheet, reference v1.2.0 (933320), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 23:25:41 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 WelcomeSheet -destination generic/platform=watchOSBuild Log
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:52:29: error: 'UIUserInterfaceStyle' is unavailable in watchOS
50 | let welcomeSheetView: WelcomeSheetView
51 |
52 | var userInterfaceStyle: UIUserInterfaceStyle? {
| `- error: 'UIUserInterfaceStyle' is unavailable in watchOS
53 | if preferredColorScheme == .dark {
54 | return .dark
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:32:28: note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
30 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
31 |
32 | typedef NS_ENUM(NSInteger, UIUserInterfaceStyle) {
| `- note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
33 | UIUserInterfaceStyleUnspecified,
34 | UIUserInterfaceStyleLight,
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:60:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
58 | }
59 |
60 | func makeUIViewController(context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) -> ModalWelcomeSheetUIViewController {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
61 | let vc = ModalWelcomeSheetUIViewController()
62 | vc.welcomeSheetView = welcomeSheetView
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollOnlyOnOverflow.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetModal.swift
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:72:97: error: cannot find type 'UIViewControllerRepresentableContext' in scope
70 | }
71 |
72 | func updateUIViewController(_ uiViewController: ModalWelcomeSheetUIViewController, context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
73 | if show {
74 | uiViewController.show()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:46:56: error: cannot find type 'UIViewControllerRepresentable' in scope
44 | }
45 |
46 | struct ModalWelcomeSheetUIViewControllerRepresentable: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
47 | let show: Bool
48 | let isSlideToDismissDisabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:12:9: error: 'super' cannot be used in class 'ModalWelcomeSheetUIHostingController' because it has no superclass
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
| `- error: 'super' cannot be used in class 'ModalWelcomeSheetUIHostingController' because it has no superclass
13 |
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:14:14: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'rootView'
12 | super.init(rootView: rootView)
13 |
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'rootView'
15 |
16 | modalPresentationStyle = .formSheet
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:16:9: error: cannot find 'modalPresentationStyle' in scope
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
15 |
16 | modalPresentationStyle = .formSheet
| `- error: cannot find 'modalPresentationStyle' in scope
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:16:35: error: cannot infer contextual base in reference to member 'formSheet'
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
15 |
16 | modalPresentationStyle = .formSheet
| `- error: cannot infer contextual base in reference to member 'formSheet'
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:17:9: error: cannot find 'preferredContentSize' in scope
15 |
16 | modalPresentationStyle = .formSheet
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
| `- error: cannot find 'preferredContentSize' in scope
18 | presentationController?.delegate = self
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:18:9: error: cannot find 'presentationController' in scope
16 | modalPresentationStyle = .formSheet
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
| `- error: cannot find 'presentationController' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:104: error: cannot find 'rootView' in scope
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: cannot find 'rootView' in scope
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:28:19: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'dismiss'
26 | return { [weak self] in
27 | action()
28 | self?.dismiss(animated: true)
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'dismiss'
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:40:16: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'overrideUserInterfaceStyle'
38 | guard let welcomeSheetView else { return }
39 | let hostVC = ModalWelcomeSheetUIHostingController(rootView: welcomeSheetView)
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'overrideUserInterfaceStyle'
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
42 | present(hostVC, animated: true)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:41:16: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'isModalInPresentation'
39 | let hostVC = ModalWelcomeSheetUIHostingController(rootView: welcomeSheetView)
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'isModalInPresentation'
42 | present(hostVC, animated: true)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:42:17: error: cannot convert value of type 'ModalWelcomeSheetUIHostingController' to expected argument type 'UIViewController'
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
42 | present(hostVC, animated: true)
| `- error: cannot convert value of type 'ModalWelcomeSheetUIHostingController' to expected argument type 'UIViewController'
43 | }
44 | }
SwiftCompile normal arm64_32 Compiling\ UIWelcomeSheetPage.swift,\ UIWelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIWelcomeSheetPage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIWelcomeSheetPageRow.swift
SwiftCompile normal arm64_32 Compiling\ WelcomeSheetStoryboardController.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:14:77: error: 'UIViewController' is unavailable in watchOS
12 | public protocol WelcomeSheetDelegate: AnyObject {
13 | @objc
14 | optional func welcomeSheetController(didDismiss welcomeSheetController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:17:72: error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
17 | optional func welcomeSheetController(pages welcomeSheetController: UIViewController) -> [UIWelcomeSheetPage]
| `- error: 'UIViewController' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:50: error: cannot find type 'UIHostingController' in scope
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: cannot find type 'UIHostingController' in scope
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:28:13: error: cannot find 'rootView' in scope
26 | public var pages: [UIWelcomeSheetPage] = [] {
27 | didSet {
28 | rootView.pages = pages.map { $0.welcomeSheetPage() }
| `- error: cannot find 'rootView' in scope
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:56:26: error: method does not override any method from its superclass
54 | }
55 |
56 | public override func viewDidLoad() {
| `- error: method does not override any method from its superclass
57 | if let pages = delegate?.welcomeSheetController?(pages: self) {
58 | self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:38:9: error: cannot find 'rootView' in scope
36 | public init() {
37 | super.init(rootView: WelcomeSheetView(pages: [], onDismiss: {}))
38 | rootView.onDismiss = getOnDismiss(with: didDismiss)
| `- error: cannot find 'rootView' in scope
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:45:9: error: cannot find 'rootView' in scope
43 | super.init(rootView: WelcomeSheetView(pages: pages.map { $0.welcomeSheetPage() }, onDismiss: {}))
44 | self.onDismiss = onDismiss
45 | rootView.onDismiss = getOnDismiss(with: didDismiss)
| `- error: cannot find 'rootView' in scope
46 |
47 | self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:48:14: error: value of type 'WelcomeSheetStoryboardController' has no member 'isModalInPresentation'
46 |
47 | self.pages = pages
48 | self.isModalInPresentation = isSlideToDismissDisabled
| `- error: value of type 'WelcomeSheetStoryboardController' has no member 'isModalInPresentation'
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:53:9: error: cannot find 'rootView' in scope
51 | required public init?(coder: NSCoder) {
52 | super.init(rootView: WelcomeSheetView(pages: [], onDismiss: {}))
53 | rootView.onDismiss = getOnDismiss(with: didDismiss)
| `- error: cannot find 'rootView' in scope
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:57:65: error: cannot convert value of type 'WelcomeSheetStoryboardController' to expected argument type 'UIViewController'
55 |
56 | public override func viewDidLoad() {
57 | if let pages = delegate?.welcomeSheetController?(pages: self) {
| `- error: cannot convert value of type 'WelcomeSheetStoryboardController' to expected argument type 'UIViewController'
58 | self.pages = pages
59 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:60:13: error: cannot find 'rootView' in scope
58 | self.pages = pages
59 | } else {
60 | rootView.pages = pages.map { $0.welcomeSheetPage() }
| `- error: cannot find 'rootView' in scope
61 | }
62 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetStoryboardController.swift
SwiftCompile normal arm64_32 Compiling\ AnyView+Extensitons.swift,\ Color+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnyView+Extensitons.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color+Extensions.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WelcomeSheet (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:31: error: 'UIScreen' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/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/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:40: error: 'main' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift:10:1: warning: extension declares a conformance of imported type 'AnyView' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
8 | import SwiftUI
9 |
10 | extension AnyView: Identifiable {
| |- warning: extension declares a conformance of imported type 'AnyView' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var id: UUID {
12 | UUID()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift:49:36: error: 'UIView' is unavailable in watchOS
47 |
48 | /// Clousure executed after optional button is tapped.
49 | public var optionalButtonView: UIView?
| `- error: 'UIView' is unavailable in watchOS
50 |
51 | func welcomeSheetPage() -> WelcomeSheetPage {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:59:223: error: 'UIView' is unavailable in watchOS
57 |
58 | /// Creates Welcome Sheet page.
59 | public init(title: String, rows: [WelcomeSheetPageRow], mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
60 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:83:277: error: 'UIView' is unavailable in watchOS
81 |
82 | /// Creates Welcome Sheet page.
83 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
84 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:88:248: error: 'UIView' is unavailable in watchOS
86 |
87 | /// Creates Welcome Sheet page.
88 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
89 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
90 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:93:252: error: 'UIView' is unavailable in watchOS
91 |
92 | /// Creates Welcome Sheet page.
93 | public init(title: String, rows: [WelcomeSheetPageRow], backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
94 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
95 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:155:40: error: 'UIView' is unavailable in watchOS
153 | }
154 |
155 | static func getAnyViewFrom(uiVIew: UIView?) -> AnyView? {
| `- error: 'UIView' is unavailable in watchOS
156 | guard let uiVIew else { return nil }
157 | return AnyView(OptionalButtonView(uiView: uiVIew))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:11:17: error: 'UIView' is unavailable in watchOS
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
11 | let uiView: UIView
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:30: error: cannot find type 'Context' in scope
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: cannot find type 'Context' in scope
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:42: error: 'UIView' is unavailable in watchOS
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:50: error: cannot find type 'Context' in scope
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:33: error: 'UIView' is unavailable in watchOS
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:10:28: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | let uiView: UIView
12 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:50: error: cannot find type 'UIHostingController' in scope
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: cannot find type 'UIHostingController' in scope
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:11:23: error: initializer does not override a designated initializer from its superclass
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
11 | override internal init(rootView: WelcomeSheetView) {
| `- error: initializer does not override a designated initializer from its superclass
12 | super.init(rootView: rootView)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:76: error: 'UIPresentationController' is unavailable in watchOS
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: 'UIPresentationController' is unavailable in watchOS
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:89: error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h:21:11: note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
19 |
20 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
21 | @protocol UIPopoverPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
22 | @optional
23 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:12: error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| |- error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
| `- note: add stubs for conformance
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:33:42: error: 'UIViewController' is unavailable in watchOS
31 | }
32 |
33 | class ModalWelcomeSheetUIViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
34 | var isSlideToDismissDisabled: Bool?
35 | var welcomeSheetView: WelcomeSheetView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:52:29: error: 'UIUserInterfaceStyle' is unavailable in watchOS
50 | let welcomeSheetView: WelcomeSheetView
51 |
52 | var userInterfaceStyle: UIUserInterfaceStyle? {
| `- error: 'UIUserInterfaceStyle' is unavailable in watchOS
53 | if preferredColorScheme == .dark {
54 | return .dark
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:32:28: note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
30 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
31 |
32 | typedef NS_ENUM(NSInteger, UIUserInterfaceStyle) {
| `- note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
33 | UIUserInterfaceStyleUnspecified,
34 | UIUserInterfaceStyleLight,
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:60:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
58 | }
59 |
60 | func makeUIViewController(context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) -> ModalWelcomeSheetUIViewController {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
61 | let vc = ModalWelcomeSheetUIViewController()
62 | vc.welcomeSheetView = welcomeSheetView
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:72:97: error: cannot find type 'UIViewControllerRepresentableContext' in scope
70 | }
71 |
72 | func updateUIViewController(_ uiViewController: ModalWelcomeSheetUIViewController, context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
73 | if show {
74 | uiViewController.show()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:46:56: error: cannot find type 'UIViewControllerRepresentable' in scope
44 | }
45 |
46 | struct ModalWelcomeSheetUIViewControllerRepresentable: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
47 | let show: Bool
48 | let isSlideToDismissDisabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift:15:18: error: 'UIDevice' is unavailable in watchOS
13 | let onDismiss: () -> Void
14 |
15 | let isiPad = UIDevice.current.userInterfaceIdiom == .pad
| `- error: 'UIDevice' is unavailable in watchOS
16 |
17 | @State private var optionalView: AnyView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:14:13: error: cannot find 'rootView' in scope
12 | public var pages: [WelcomeSheetPage] = [] {
13 | didSet {
14 | rootView.pages = pages
| `- error: cannot find 'rootView' in scope
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:14:77: error: 'UIViewController' is unavailable in watchOS
12 | public protocol WelcomeSheetDelegate: AnyObject {
13 | @objc
14 | optional func welcomeSheetController(didDismiss welcomeSheetController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:17:72: error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
17 | optional func welcomeSheetController(pages welcomeSheetController: UIViewController) -> [UIWelcomeSheetPage]
| `- error: 'UIViewController' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:28:13: error: cannot find 'rootView' in scope
26 | public var pages: [UIWelcomeSheetPage] = [] {
27 | didSet {
28 | rootView.pages = pages.map { $0.welcomeSheetPage() }
| `- error: cannot find 'rootView' in scope
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:56:26: error: method does not override any method from its superclass
54 | }
55 |
56 | public override func viewDidLoad() {
| `- error: method does not override any method from its superclass
57 | if let pages = delegate?.welcomeSheetController?(pages: self) {
58 | self.pages = pages
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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WelcomeSheet -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet_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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.abi.json
SwiftCompile normal arm64_32 (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ WelcomeSheetPage.swift,\ WelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:59:223: error: 'UIView' is unavailable in watchOS
57 |
58 | /// Creates Welcome Sheet page.
59 | public init(title: String, rows: [WelcomeSheetPageRow], mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
60 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:83:277: error: 'UIView' is unavailable in watchOS
81 |
82 | /// Creates Welcome Sheet page.
83 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
84 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:88:248: error: 'UIView' is unavailable in watchOS
86 |
87 | /// Creates Welcome Sheet page.
88 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
89 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
90 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:93:252: error: 'UIView' is unavailable in watchOS
91 |
92 | /// Creates Welcome Sheet page.
93 | public init(title: String, rows: [WelcomeSheetPageRow], backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
94 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
95 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:155:40: error: 'UIView' is unavailable in watchOS
153 | }
154 |
155 | static func getAnyViewFrom(uiVIew: UIView?) -> AnyView? {
| `- error: 'UIView' is unavailable in watchOS
156 | guard let uiVIew else { return nil }
157 | return AnyView(OptionalButtonView(uiView: uiVIew))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetPage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetPageRow.swift
SwiftCompile normal arm64_32 Compiling\ UIColor+Extensions.swift,\ UIImage+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImage+Extensions.swift
SwiftCompile normal arm64_32 Compiling\ iPadSheetDimensions.swift,\ iPhoneDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:12:21: error: 'UIScreen' is unavailable in watchOS
10 | struct iPadSheetDimensions {
11 | static var width: CGFloat {
12 | let width = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
13 |
14 | if width >= 1024 { // iPad pro 12.9"
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:12:30: error: 'main' is unavailable in watchOS
10 | struct iPadSheetDimensions {
11 | static var width: CGFloat {
12 | let width = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
13 |
14 | if width >= 1024 { // iPad pro 12.9"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:26:22: error: 'UIScreen' is unavailable in watchOS
24 |
25 | static var height: CGFloat {
26 | let height = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
27 |
28 | if height >= 1366 { // iPad pro 12.9"
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:26:31: error: 'main' is unavailable in watchOS
24 |
25 | static var height: CGFloat {
26 | let height = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
27 |
28 | if height >= 1366 { // iPad pro 12.9"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:31: error: 'UIScreen' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/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/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:40: error: 'main' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:14:12: error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
14 | if UIScreen.main.nativeBounds.height == 2340 || screenHeight < 736 { // iPhone mini, Smaller than iPhone plus
| `- error: 'UIScreen' is unavailable in watchOS
15 | return 30
16 | } else { // The rest
/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/WelcomeSheet/Dimensions/iPhoneDimensions.swift:14:21: error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
14 | if UIScreen.main.nativeBounds.height == 2340 || screenHeight < 736 { // iPhone mini, Smaller than iPhone plus
| `- error: 'main' is unavailable in watchOS
15 | return 30
16 | } else { // The rest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:32:27: error: 'UIScreen' is unavailable in watchOS
30 |
31 | static var horizontalPaddingAddend: CGFloat {
32 | if screenHeight * UIScreen.main.nativeScale >= 896 * 3 || screenHeight == 736 { // iPhone pro max, iPhone plus
| `- error: 'UIScreen' is unavailable in watchOS
33 | return 20
34 | } else if screenHeight == 568 { // iPhone SE 1st gen
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile iPadSheetDimensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile iPhoneDimensions.swift
SwiftCompile normal arm64_32 Compiling\ HorizontalAlignment.swift,\ OptionalButtonView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:11:17: error: 'UIView' is unavailable in watchOS
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
11 | let uiView: UIView
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:30: error: cannot find type 'Context' in scope
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: cannot find type 'Context' in scope
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:42: error: 'UIView' is unavailable in watchOS
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:50: error: cannot find type 'Context' in scope
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:33: error: 'UIView' is unavailable in watchOS
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HorizontalAlignment.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OptionalButtonView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WelcomeSheet (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 19:25:31.819 xcodebuild[665:4257] [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\ WelcomeSheet (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64_32 (in target 'WelcomeSheet' from project 'WelcomeSheet')
Building workspace WelcomeSheet with scheme WelcomeSheet
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
WelcomeSheet: /Users/admin/builder/spi-builder-workspace
resolved source packages: WelcomeSheet
2026-09-18 19:25:38.505 xcodebuild[822:4868] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "WelcomeSheet",
"name" : "WelcomeSheet",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "WelcomeSheet",
"targets" : [
"WelcomeSheet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WelcomeSheet",
"module_type" : "SwiftTarget",
"name" : "WelcomeSheet",
"path" : "Sources/WelcomeSheet",
"product_memberships" : [
"WelcomeSheet"
],
"sources" : [
"Dimensions/iPadSheetDimensions.swift",
"Dimensions/iPhoneDimensions.swift",
"Extensions/AnyView+Extensitons.swift",
"Extensions/Color+Extensions.swift",
"Extensions/UIColor+Extensions.swift",
"Extensions/UIImage+Extensions.swift",
"Models/UIWelcomeSheetPage.swift",
"Models/UIWelcomeSheetPageRow.swift",
"Models/WelcomeSheetPage.swift",
"Models/WelcomeSheetPageRow.swift",
"Views/HorizontalAlignment.swift",
"Views/OptionalButtonView.swift",
"Views/ScrollOnlyOnOverflow.swift",
"Views/WelcomeSheetModal.swift",
"Views/WelcomeSheetPageView.swift",
"Views/WelcomeSheetView.swift",
"WelcomeSheet.swift",
"WelcomeSheetController.swift",
"WelcomeSheetStoryboardController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "WelcomeSheet",
"schemes" : [
"WelcomeSheet"
]
}
}
2026-09-18 19:25:39.663 xcodebuild[830:4943] [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 WelcomeSheet -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 WelcomeSheet -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
WelcomeSheet: /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 'WelcomeSheet-product' in project 'WelcomeSheet'
➜ Explicit dependency on target 'WelcomeSheet' in project 'WelcomeSheet'
Target 'WelcomeSheet' in project 'WelcomeSheet' (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 WelcomeSheet normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WelcomeSheet' from project 'WelcomeSheet')
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 WelcomeSheet -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet_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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64_32/WelcomeSheet-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WelcomeSheet normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WelcomeSheet' from project 'WelcomeSheet')
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 WelcomeSheet -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet_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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ iPadSheetDimensions.swift,\ iPhoneDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:12:21: error: 'UIScreen' is unavailable in watchOS
10 | struct iPadSheetDimensions {
11 | static var width: CGFloat {
12 | let width = UIScreen.main.bounds.width
| `- error: 'UIScreen' is unavailable in watchOS
13 |
14 | if width >= 1024 { // iPad pro 12.9"
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:12:30: error: 'main' is unavailable in watchOS
10 | struct iPadSheetDimensions {
11 | static var width: CGFloat {
12 | let width = UIScreen.main.bounds.width
| `- error: 'main' is unavailable in watchOS
13 |
14 | if width >= 1024 { // iPad pro 12.9"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:26:22: error: 'UIScreen' is unavailable in watchOS
24 |
25 | static var height: CGFloat {
26 | let height = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
27 |
28 | if height >= 1366 { // iPad pro 12.9"
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift:26:31: error: 'main' is unavailable in watchOS
24 |
25 | static var height: CGFloat {
26 | let height = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
27 |
28 | if height >= 1366 { // iPad pro 12.9"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:31: error: 'UIScreen' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/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/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:40: error: 'main' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:14:12: error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
14 | if UIScreen.main.nativeBounds.height == 2340 || screenHeight < 736 { // iPhone mini, Smaller than iPhone plus
| `- error: 'UIScreen' is unavailable in watchOS
15 | return 30
16 | } else { // The rest
/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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile iPadSheetDimensions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile iPhoneDimensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:14:21: error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
14 | if UIScreen.main.nativeBounds.height == 2340 || screenHeight < 736 { // iPhone mini, Smaller than iPhone plus
| `- error: 'main' is unavailable in watchOS
15 | return 30
16 | } else { // The rest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:32:27: error: 'UIScreen' is unavailable in watchOS
30 |
31 | static var horizontalPaddingAddend: CGFloat {
32 | if screenHeight * UIScreen.main.nativeScale >= 896 * 3 || screenHeight == 736 { // iPhone pro max, iPhone plus
| `- error: 'UIScreen' is unavailable in watchOS
33 | return 20
34 | } else if screenHeight == 568 { // iPhone SE 1st gen
/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 Compiling\ UIColor+Extensions.swift,\ UIImage+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+Extensions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImage+Extensions.swift
SwiftCompile normal arm64 Compiling\ AnyView+Extensitons.swift,\ Color+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnyView+Extensitons.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color+Extensions.swift
SwiftCompile normal arm64 Compiling\ WelcomeSheetPage.swift,\ WelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:59:223: error: 'UIView' is unavailable in watchOS
57 |
58 | /// Creates Welcome Sheet page.
59 | public init(title: String, rows: [WelcomeSheetPageRow], mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
60 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:83:277: error: 'UIView' is unavailable in watchOS
81 |
82 | /// Creates Welcome Sheet page.
83 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
84 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:88:248: error: 'UIView' is unavailable in watchOS
86 |
87 | /// Creates Welcome Sheet page.
88 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
89 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
90 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:93:252: error: 'UIView' is unavailable in watchOS
91 |
92 | /// Creates Welcome Sheet page.
93 | public init(title: String, rows: [WelcomeSheetPageRow], backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
94 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
95 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:155:40: error: 'UIView' is unavailable in watchOS
153 | }
154 |
155 | static func getAnyViewFrom(uiVIew: UIView?) -> AnyView? {
| `- error: 'UIView' is unavailable in watchOS
156 | guard let uiVIew else { return nil }
157 | return AnyView(OptionalButtonView(uiView: uiVIew))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetPage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetPageRow.swift
SwiftCompile normal arm64 Compiling\ HorizontalAlignment.swift,\ OptionalButtonView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:11:17: error: 'UIView' is unavailable in watchOS
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
11 | let uiView: UIView
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:30: error: cannot find type 'Context' in scope
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: cannot find type 'Context' in scope
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:42: error: 'UIView' is unavailable in watchOS
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:50: error: cannot find type 'Context' in scope
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:33: error: 'UIView' is unavailable in watchOS
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HorizontalAlignment.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OptionalButtonView.swift
SwiftCompile normal arm64 Compiling\ ScrollOnlyOnOverflow.swift,\ WelcomeSheetModal.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift:66:9: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
64 | extension ScrollView {
65 | func scrollOnlyOnOverflow() -> some View {
66 | OverflowScrollView(scrollView: self)
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift:66:9: warning: call to main actor-isolated initializer 'init(scrollView:)' in a synchronous nonisolated context [#ActorIsolatedCall]
17 | }
18 |
19 | fileprivate init(scrollView: ScrollView<Content>) {
| |- note: calls to initializer 'init(scrollView:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
20 | self._axes = .init(wrappedValue: scrollView.axes)
21 | self.showsIndicator = scrollView.showsIndicators
:
64 | extension ScrollView {
65 | func scrollOnlyOnOverflow() -> some View {
66 | OverflowScrollView(scrollView: self)
| `- warning: call to main actor-isolated initializer 'init(scrollView:)' in a synchronous nonisolated context [#ActorIsolatedCall]
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:50: error: cannot find type 'UIHostingController' in scope
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: cannot find type 'UIHostingController' in scope
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:11:23: error: initializer does not override a designated initializer from its superclass
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
11 | override internal init(rootView: WelcomeSheetView) {
| `- error: initializer does not override a designated initializer from its superclass
12 | super.init(rootView: rootView)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:76: error: 'UIPresentationController' is unavailable in watchOS
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: 'UIPresentationController' is unavailable in watchOS
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:89: error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h:21:11: note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
19 |
20 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
21 | @protocol UIPopoverPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
22 | @optional
23 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:12: error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| |- error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
| `- note: add stubs for conformance
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:33:42: error: 'UIViewController' is unavailable in watchOS
31 | }
32 |
33 | class ModalWelcomeSheetUIViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
34 | var isSlideToDismissDisabled: Bool?
35 | var welcomeSheetView: WelcomeSheetView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:52:29: error: 'UIUserInterfaceStyle' is unavailable in watchOS
50 | let welcomeSheetView: WelcomeSheetView
51 |
52 | var userInterfaceStyle: UIUserInterfaceStyle? {
| `- error: 'UIUserInterfaceStyle' is unavailable in watchOS
53 | if preferredColorScheme == .dark {
54 | return .dark
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:32:28: note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
30 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
31 |
32 | typedef NS_ENUM(NSInteger, UIUserInterfaceStyle) {
| `- note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
33 | UIUserInterfaceStyleUnspecified,
34 | UIUserInterfaceStyleLight,
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:60:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
58 | }
59 |
60 | func makeUIViewController(context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) -> ModalWelcomeSheetUIViewController {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
61 | let vc = ModalWelcomeSheetUIViewController()
62 | vc.welcomeSheetView = welcomeSheetView
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:72:97: error: cannot find type 'UIViewControllerRepresentableContext' in scope
70 | }
71 |
72 | func updateUIViewController(_ uiViewController: ModalWelcomeSheetUIViewController, context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
73 | if show {
74 | uiViewController.show()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:46:56: error: cannot find type 'UIViewControllerRepresentable' in scope
44 | }
45 |
46 | struct ModalWelcomeSheetUIViewControllerRepresentable: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
47 | let show: Bool
48 | let isSlideToDismissDisabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:12:9: error: 'super' cannot be used in class 'ModalWelcomeSheetUIHostingController' because it has no superclass
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
| `- error: 'super' cannot be used in class 'ModalWelcomeSheetUIHostingController' because it has no superclass
13 |
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:14:14: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'rootView'
12 | super.init(rootView: rootView)
13 |
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'rootView'
15 |
16 | modalPresentationStyle = .formSheet
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:16:9: error: cannot find 'modalPresentationStyle' in scope
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
15 |
16 | modalPresentationStyle = .formSheet
| `- error: cannot find 'modalPresentationStyle' in scope
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:16:35: error: cannot infer contextual base in reference to member 'formSheet'
14 | self.rootView.onDismiss = getOnDismiss(with: rootView.onDismiss)
15 |
16 | modalPresentationStyle = .formSheet
| `- error: cannot infer contextual base in reference to member 'formSheet'
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:17:9: error: cannot find 'preferredContentSize' in scope
15 |
16 | modalPresentationStyle = .formSheet
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
| `- error: cannot find 'preferredContentSize' in scope
18 | presentationController?.delegate = self
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:18:9: error: cannot find 'presentationController' in scope
16 | modalPresentationStyle = .formSheet
17 | preferredContentSize = CGSize(width: iPadSheetDimensions.width, height: iPadSheetDimensions.height)
18 | presentationController?.delegate = self
| `- error: cannot find 'presentationController' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:104: error: cannot find 'rootView' in scope
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: cannot find 'rootView' in scope
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:28:19: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'dismiss'
26 | return { [weak self] in
27 | action()
28 | self?.dismiss(animated: true)
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'dismiss'
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:40:16: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'overrideUserInterfaceStyle'
38 | guard let welcomeSheetView else { return }
39 | let hostVC = ModalWelcomeSheetUIHostingController(rootView: welcomeSheetView)
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'overrideUserInterfaceStyle'
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
42 | present(hostVC, animated: true)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:41:16: error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'isModalInPresentation'
39 | let hostVC = ModalWelcomeSheetUIHostingController(rootView: welcomeSheetView)
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
| `- error: value of type 'ModalWelcomeSheetUIHostingController' has no member 'isModalInPresentation'
42 | present(hostVC, animated: true)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:42:17: error: cannot convert value of type 'ModalWelcomeSheetUIHostingController' to expected argument type 'UIViewController'
40 | hostVC.overrideUserInterfaceStyle = self.overrideUserInterfaceStyle
41 | hostVC.isModalInPresentation = isSlideToDismissDisabled ?? false
42 | present(hostVC, animated: true)
| `- error: cannot convert value of type 'ModalWelcomeSheetUIHostingController' to expected argument type 'UIViewController'
43 | }
44 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollOnlyOnOverflow.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetModal.swift
SwiftCompile normal arm64 Compiling\ UIWelcomeSheetPage.swift,\ UIWelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIWelcomeSheetPage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIWelcomeSheetPageRow.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WelcomeSheet (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:31: error: 'UIScreen' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'UIScreen' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/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/WelcomeSheet/Dimensions/iPhoneDimensions.swift:11:40: error: 'main' is unavailable in watchOS
9 |
10 | struct iPhoneDimensions {
11 | static let screenHeight = UIScreen.main.bounds.height
| `- error: 'main' is unavailable in watchOS
12 |
13 | static var spacing: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift:10:1: warning: extension declares a conformance of imported type 'AnyView' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
8 | import SwiftUI
9 |
10 | extension AnyView: Identifiable {
| |- warning: extension declares a conformance of imported type 'AnyView' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var id: UUID {
12 | UUID()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift:49:36: error: 'UIView' is unavailable in watchOS
47 |
48 | /// Clousure executed after optional button is tapped.
49 | public var optionalButtonView: UIView?
| `- error: 'UIView' is unavailable in watchOS
50 |
51 | func welcomeSheetPage() -> WelcomeSheetPage {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:59:223: error: 'UIView' is unavailable in watchOS
57 |
58 | /// Creates Welcome Sheet page.
59 | public init(title: String, rows: [WelcomeSheetPageRow], mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
60 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:83:277: error: 'UIView' is unavailable in watchOS
81 |
82 | /// Creates Welcome Sheet page.
83 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
84 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:88:248: error: 'UIView' is unavailable in watchOS
86 |
87 | /// Creates Welcome Sheet page.
88 | public init(title: String, rows: [WelcomeSheetPageRow], accentUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
89 | self.init(title: title, rows: rows, accentColor: accentUIColor?.toColor(), backgroundColor: nil, mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
90 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:93:252: error: 'UIView' is unavailable in watchOS
91 |
92 | /// Creates Welcome Sheet page.
93 | public init(title: String, rows: [WelcomeSheetPageRow], backgroundUIColor: UIColor?, mainButtonTitle: String? = nil, optionalButtonTitle: String? = nil, optionalButtonURL: URL? = nil, optionalButtonAction: (() -> ())? = nil, optionalButtonUIView: UIView? = nil) {
| `- error: 'UIView' is unavailable in watchOS
94 | self.init(title: title, rows: rows, accentColor: nil, backgroundColor: backgroundUIColor?.toColor(), mainButtonTitle: mainButtonTitle, optionalButtonTitle: optionalButtonTitle, optionalButtonURL: optionalButtonURL, optionalButtonAction: optionalButtonAction, optionalButtonView: Self.getAnyViewFrom(uiVIew: optionalButtonUIView))
95 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift:155:40: error: 'UIView' is unavailable in watchOS
153 | }
154 |
155 | static func getAnyViewFrom(uiVIew: UIView?) -> AnyView? {
| `- error: 'UIView' is unavailable in watchOS
156 | guard let uiVIew else { return nil }
157 | return AnyView(OptionalButtonView(uiView: uiVIew))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:11:17: error: 'UIView' is unavailable in watchOS
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
11 | let uiView: UIView
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:30: error: cannot find type 'Context' in scope
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: cannot find type 'Context' in scope
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:13:42: error: 'UIView' is unavailable in watchOS
11 | let uiView: UIView
12 |
13 | func makeUIView(context: Context) -> UIView { uiView }
| `- error: 'UIView' is unavailable in watchOS
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:50: error: cannot find type 'Context' in scope
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:15:33: error: 'UIView' is unavailable in watchOS
13 | func makeUIView(context: Context) -> UIView { uiView }
14 |
15 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift:10:28: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | struct OptionalButtonView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | let uiView: UIView
12 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:50: error: cannot find type 'UIHostingController' in scope
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: cannot find type 'UIHostingController' in scope
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:11:23: error: initializer does not override a designated initializer from its superclass
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
11 | override internal init(rootView: WelcomeSheetView) {
| `- error: initializer does not override a designated initializer from its superclass
12 | super.init(rootView: rootView)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:76: error: 'UIPresentationController' is unavailable in watchOS
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: 'UIPresentationController' is unavailable in watchOS
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:89: error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: 'UIPopoverPresentationControllerDelegate' is unavailable in watchOS
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h:21:11: note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
19 |
20 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
21 | @protocol UIPopoverPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UIPopoverPresentationControllerDelegate' has been explicitly marked unavailable here
22 | @optional
23 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:23:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
21 | required public init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
22 |
23 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) { rootView.onDismiss() }
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
24 |
25 | internal func getOnDismiss(with action: @escaping () -> Void) -> (() -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:12: error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| |- error: cannot declare conformance to 'NSObjectProtocol' in Swift; 'ModalWelcomeSheetUIHostingController' should inherit 'NSObject' instead
| `- note: add stubs for conformance
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:33:42: error: 'UIViewController' is unavailable in watchOS
31 | }
32 |
33 | class ModalWelcomeSheetUIViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
34 | var isSlideToDismissDisabled: Bool?
35 | var welcomeSheetView: WelcomeSheetView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:52:29: error: 'UIUserInterfaceStyle' is unavailable in watchOS
50 | let welcomeSheetView: WelcomeSheetView
51 |
52 | var userInterfaceStyle: UIUserInterfaceStyle? {
| `- error: 'UIUserInterfaceStyle' is unavailable in watchOS
53 | if preferredColorScheme == .dark {
54 | return .dark
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:32:28: note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
30 | } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
31 |
32 | typedef NS_ENUM(NSInteger, UIUserInterfaceStyle) {
| `- note: 'UIUserInterfaceStyle' has been explicitly marked unavailable here
33 | UIUserInterfaceStyleUnspecified,
34 | UIUserInterfaceStyleLight,
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:60:40: error: cannot find type 'UIViewControllerRepresentableContext' in scope
58 | }
59 |
60 | func makeUIViewController(context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) -> ModalWelcomeSheetUIViewController {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
61 | let vc = ModalWelcomeSheetUIViewController()
62 | vc.welcomeSheetView = welcomeSheetView
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:72:97: error: cannot find type 'UIViewControllerRepresentableContext' in scope
70 | }
71 |
72 | func updateUIViewController(_ uiViewController: ModalWelcomeSheetUIViewController, context: UIViewControllerRepresentableContext<ModalWelcomeSheetUIViewControllerRepresentable>) {
| `- error: cannot find type 'UIViewControllerRepresentableContext' in scope
73 | if show {
74 | uiViewController.show()
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:46:56: error: cannot find type 'UIViewControllerRepresentable' in scope
44 | }
45 |
46 | struct ModalWelcomeSheetUIViewControllerRepresentable: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
47 | let show: Bool
48 | let isSlideToDismissDisabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift:15:18: error: 'UIDevice' is unavailable in watchOS
13 | let onDismiss: () -> Void
14 |
15 | let isiPad = UIDevice.current.userInterfaceIdiom == .pad
| `- error: 'UIDevice' is unavailable in watchOS
16 |
17 | @State private var optionalView: AnyView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:14:13: error: cannot find 'rootView' in scope
12 | public var pages: [WelcomeSheetPage] = [] {
13 | didSet {
14 | rootView.pages = pages
| `- error: cannot find 'rootView' in scope
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:14:77: error: 'UIViewController' is unavailable in watchOS
12 | public protocol WelcomeSheetDelegate: AnyObject {
13 | @objc
14 | optional func welcomeSheetController(didDismiss welcomeSheetController: UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:17:72: error: 'UIViewController' is unavailable in watchOS
15 |
16 | @objc
17 | optional func welcomeSheetController(pages welcomeSheetController: UIViewController) -> [UIWelcomeSheetPage]
| `- error: 'UIViewController' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:28:13: error: cannot find 'rootView' in scope
26 | public var pages: [UIWelcomeSheetPage] = [] {
27 | didSet {
28 | rootView.pages = pages.map { $0.welcomeSheetPage() }
| `- error: cannot find 'rootView' in scope
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift:56:26: error: method does not override any method from its superclass
54 | }
55 |
56 | public override func viewDidLoad() {
| `- error: method does not override any method from its superclass
57 | if let pages = delegate?.welcomeSheetController?(pages: self) {
58 | self.pages = pages
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/WelcomeSheet/Dimensions/iPadSheetDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Dimensions/iPhoneDimensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/AnyView+Extensitons.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/Color+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Extensions/UIImage+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/UIWelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPage.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Models/WelcomeSheetPageRow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/HorizontalAlignment.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/OptionalButtonView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/ScrollOnlyOnOverflow.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetStoryboardController.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WelcomeSheet -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet_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/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WelcomeSheet.build/Debug-watchos/WelcomeSheet-t.build/Objects-normal/arm64/WelcomeSheet.abi.json
SwiftCompile normal arm64 (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WelcomeSheetPageView.swift,\ WelcomeSheetView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetPageView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetPageView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetView.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetView.swift
SwiftCompile normal arm64 Compiling\ WelcomeSheet.swift,\ WelcomeSheetController.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheet.swift:20:14: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalWelcomeSheetUIViewControllerRepresentable' conform to 'ShapeStyle'
18 | func body(content: Content) -> some View {
19 | content
20 | .background(ModalWelcomeSheetUIViewControllerRepresentable(show: showSheet, isSlideToDismissDisabled: isSlideToDismissDisabled, preferredColorScheme: preferredColorScheme, welcomeSheetView: WelcomeSheetView(pages: pages, onDismiss: getOnDismiss())))
| `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'ModalWelcomeSheetUIViewControllerRepresentable' conform to 'ShapeStyle'
21 | }
22 |
SwiftUI.View.background:2:36: note: where 'S' = 'ModalWelcomeSheetUIViewControllerRepresentable'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
| `- note: where 'S' = 'ModalWelcomeSheetUIViewControllerRepresentable'
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/Views/WelcomeSheetModal.swift:10:50: error: cannot find type 'UIHostingController' in scope
8 | import SwiftUI
9 |
10 | open class ModalWelcomeSheetUIHostingController: UIHostingController<WelcomeSheetView>, UIPopoverPresentationControllerDelegate {
| `- error: cannot find type 'UIHostingController' in scope
11 | override internal init(rootView: WelcomeSheetView) {
12 | super.init(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:14:13: error: cannot find 'rootView' in scope
12 | public var pages: [WelcomeSheetPage] = [] {
13 | didSet {
14 | rootView.pages = pages
| `- error: cannot find 'rootView' in scope
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:24:9: error: cannot find 'rootView' in scope
22 | public init() {
23 | super.init(rootView: WelcomeSheetView(pages: [], onDismiss: {}))
24 | rootView.onDismiss = getOnDismiss(with: didDismiss)
| `- error: cannot find 'rootView' in scope
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:31:9: error: cannot find 'rootView' in scope
29 | super.init(rootView: WelcomeSheetView(pages: pages, onDismiss: {}))
30 | self.onDismiss = onDismiss
31 | rootView.onDismiss = getOnDismiss(with: didDismiss)
| `- error: cannot find 'rootView' in scope
32 |
33 | self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift:34:14: error: value of type 'WelcomeSheetController' has no member 'isModalInPresentation'
32 |
33 | self.pages = pages
34 | self.isModalInPresentation = isSlideToDismissDisabled
| `- error: value of type 'WelcomeSheetController' has no member 'isModalInPresentation'
35 | }
36 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheet.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheet.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WelcomeSheet/WelcomeSheetController.swift (in target 'WelcomeSheet' from project 'WelcomeSheet')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WelcomeSheetController.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 19:25:40.601 xcodebuild[831:4973] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ WelcomeSheet (in target 'WelcomeSheet' from project 'WelcomeSheet')
SwiftCompile normal arm64 (in target 'WelcomeSheet' from project 'WelcomeSheet')
Building workspace WelcomeSheet with scheme WelcomeSheet
(3 failures)
BUILD FAILURE 6.4 watchOS