Build Information
Failed to build SwiftModalPicker, reference 1.0.0 (424ab8), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 17:44:46 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 SwiftModalPicker -destination generic/platform=watchOSBuild Log
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftModalPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:262:11: error: 'UIView' is unavailable in watchOS
260 |
261 | // MARK: - UIView helper
262 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
263 |
264 | public func getActiveSwiftModalPicker() -> SwiftModalPicker? {
/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.
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/SwiftModalPicker.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/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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-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 -profile-generate -profile-coverage-mapping -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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftModalPicker -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker_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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.abi.json
SwiftCompile normal arm64_32 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ SwiftModalPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftModalPicker.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-26 13:44:37.676 xcodebuild[666:4340] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftCompile normal arm64_32 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
Building workspace SwiftModalPicker with scheme SwiftModalPicker
(5 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftModalPicker: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftModalPicker
2026-09-26 13:44:43.666 xcodebuild[787:4821] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftModalPicker",
"name" : "SwiftModalPicker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SwiftModalPicker",
"targets" : [
"SwiftModalPicker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftModalPickerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftModalPickerTests",
"path" : "Tests",
"sources" : [
"LinuxMain.swift",
"SwiftModalPickerTests.swift"
],
"target_dependencies" : [
"SwiftModalPicker"
],
"type" : "test"
},
{
"c99name" : "SwiftModalPicker",
"module_type" : "SwiftTarget",
"name" : "SwiftModalPicker",
"path" : "Sources",
"product_memberships" : [
"SwiftModalPicker"
],
"sources" : [
"SwiftModalPicker.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "SwiftModalPicker",
"schemes" : [
"SwiftModalPicker"
]
}
}
2026-09-26 13:44:44.845 xcodebuild[795:4896] [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 SwiftModalPicker -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 SwiftModalPicker -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftModalPicker: /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 'SwiftModalPicker-product' in project 'SwiftModalPicker'
➜ Explicit dependency on target 'SwiftModalPicker' in project 'SwiftModalPicker'
Target 'SwiftModalPicker' in project 'SwiftModalPicker' (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 SwiftModalPicker normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
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 SwiftModalPicker -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.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 -profile-coverage-mapping -profile-generate -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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker_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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftModalPicker normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
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 SwiftModalPicker -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.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 -profile-coverage-mapping -profile-generate -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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker_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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:262:11: error: 'UIView' is unavailable in watchOS
260 |
261 | // MARK: - UIView helper
262 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
263 |
264 | public func getActiveSwiftModalPicker() -> SwiftModalPicker? {
/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.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.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/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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-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 -profile-generate -profile-coverage-mapping -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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftModalPicker -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker_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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64_32/SwiftModalPicker.abi.json
SwiftCompile normal arm64_32 Compiling\ SwiftModalPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftModalPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:262:11: error: 'UIView' is unavailable in watchOS
260 |
261 | // MARK: - UIView helper
262 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
263 |
264 | public func getActiveSwiftModalPicker() -> SwiftModalPicker? {
/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.
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/SwiftModalPicker.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/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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftModalPicker -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker_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/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftModalPicker.build/Debug-watchos/SwiftModalPicker-t.build/Objects-normal/arm64/SwiftModalPicker.abi.json
SwiftCompile normal arm64 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SwiftModalPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:20:35: error: 'UIToolbar' is unavailable in watchOS
18 |
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
| `- error: 'UIToolbar' is unavailable in watchOS
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:23: error: 'UIToolbar' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIToolbar' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:21:66: error: 'UIScreen' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:21:75: error: 'main' is unavailable in watchOS
19 | // MARK: - Components
20 | private lazy var doneToolbar: UIToolbar = {
21 | let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 50))
| `- error: 'main' is unavailable in watchOS
22 |
23 | let items = self.toolbarItems.map({ $0.button })
/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/SwiftModalPicker.swift:30:34: error: 'UIPickerView' is unavailable in watchOS
28 | }()
29 |
30 | private lazy var pickerView: UIPickerView = {
| `- error: 'UIPickerView' is unavailable in watchOS
31 | let pickerView = UIPickerView()
32 | pickerView.dataSource = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'UIPickerView' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'UIPickerView' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:31:26: error: 'init()' is unavailable in watchOS
29 |
30 | private lazy var pickerView: UIPickerView = {
31 | let pickerView = UIPickerView()
| `- error: 'init()' is unavailable in watchOS
32 | pickerView.dataSource = self
33 | pickerView.delegate = self
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:38:38: error: 'UIDatePicker' is unavailable in watchOS
36 | }()
37 |
38 | private lazy var datePickerView: UIDatePicker = {
| `- error: 'UIDatePicker' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'UIDatePicker' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'UIDatePicker' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:39:26: error: 'init()' is unavailable in watchOS
37 |
38 | private lazy var datePickerView: UIDatePicker = {
39 | let pickerView = UIDatePicker()
| `- error: 'init()' is unavailable in watchOS
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:41:24: error: 'preferredDatePickerStyle' is unavailable in watchOS
39 | let pickerView = UIDatePicker()
40 | if #available(iOS 13.4, *) {
41 | pickerView.preferredDatePickerStyle = .wheels
| `- error: 'preferredDatePickerStyle' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:57:60: note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
55 |
56 | /// Request a style for the date picker. If the style changed, then the date picker may need to be resized and will generate a layout pass to display correctly.
57 | @property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'preferredDatePickerStyle' has been explicitly marked unavailable here
58 |
59 | /// The style that the date picker is using for its layout. This property always returns a concrete style (never automatic).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:112:39: error: 'UIView' is unavailable in watchOS
110 |
111 | // MARK: - Public
112 | public func showPicker(from view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
113 | view.addSubview(self)
114 | self.becomeFirstResponder()
/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/SwiftModalPicker.swift:13:32: error: 'UITextField' is unavailable in watchOS
11 | import UIKit
12 |
13 | public class SwiftModalPicker: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | private var pickerItems: [[String]] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:194:42: error: 'UIPickerView' is unavailable in watchOS
192 | extension SwiftModalPicker: UIPickerViewDelegate {
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
| `- error: 'UIPickerView' is unavailable in watchOS
195 | return self.pickerItems[component][row]
196 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:192:29: error: 'UIPickerViewDelegate' is unavailable in watchOS
190 |
191 | // MARK: - UIPickerViewDelegate
192 | extension SwiftModalPicker: UIPickerViewDelegate {
| `- error: 'UIPickerViewDelegate' is unavailable in watchOS
193 |
194 | public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:59:11: note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
57 |
58 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
59 | @protocol UIPickerViewDelegate<NSObject>
| `- note: 'UIPickerViewDelegate' has been explicitly marked unavailable here
60 | @optional
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:203:51: error: 'UIPickerView' is unavailable in watchOS
201 | extension SwiftModalPicker: UIPickerViewDataSource {
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
204 | return self.pickerItems.count
205 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:207:42: error: 'UIPickerView' is unavailable in watchOS
205 | }
206 |
207 | public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
| `- error: 'UIPickerView' is unavailable in watchOS
208 | return self.pickerItems[component].count
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:19:12: note: 'UIPickerView' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
19 | @interface UIPickerView : UIView <NSCoding>
| `- note: 'UIPickerView' has been explicitly marked unavailable here
20 |
21 | @property(nullable,nonatomic,weak) id<UIPickerViewDataSource> dataSource; // default is nil. weak reference
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:201:29: error: 'UIPickerViewDataSource' is unavailable in watchOS
199 |
200 | // MARK: - UIPickerViewDataSource
201 | extension SwiftModalPicker: UIPickerViewDataSource {
| `- error: 'UIPickerViewDataSource' is unavailable in watchOS
202 |
203 | public func numberOfComponents(in pickerView: UIPickerView) -> Int {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:48:11: note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
46 |
47 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
48 | @protocol UIPickerViewDataSource<NSObject>
| `- note: 'UIPickerViewDataSource' has been explicitly marked unavailable here
49 | @required
50 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:225:29: error: 'UIBarButtonItem' is unavailable in watchOS
223 | case cancel(title: String)
224 | case done
225 | case custom(button: UIBarButtonItem)
| `- error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:228:21: error: 'UIBarButtonItem' is unavailable in watchOS
226 | case space
227 |
228 | var button: UIBarButtonItem {
| `- error: 'UIBarButtonItem' is unavailable in watchOS
229 | switch self {
230 | case let .cancel(title):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:75:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
73 |
74 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
75 | @interface UIBarButtonItem : UIBarItem <NSCoding>
| `- note: 'UIBarButtonItem' has been explicitly marked unavailable here
76 |
77 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:246:29: error: 'UIDatePicker' is unavailable in watchOS
244 | var minimumDate: Date? = nil
245 | var maximumDate: Date? = nil
246 | var datePickerMode: UIDatePicker.Mode = .date
| `- error: 'UIDatePicker' is unavailable in watchOS
247 | var timeZone: TimeZone? = .current
248 | var calendar: Calendar? = .current
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift:250:118: error: 'UIDatePicker' is unavailable in watchOS
248 | var calendar: Calendar? = .current
249 |
250 | public init(selectedDate: Date = Date(), minimumDate: Date? = nil, maximumDate: Date? = nil, datePickerMode: UIDatePicker.Mode = .date, timeZone: TimeZone? = .current, calendar: Calendar? = .current) {
| `- error: 'UIDatePicker' is unavailable in watchOS
251 | self.selectedDate = selectedDate
252 | self.minimumDate = minimumDate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h:40:12: note: 'UIDatePicker' has been explicitly marked unavailable here
38 |
39 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
40 | @interface UIDatePicker : UIControl <NSCoding>
| `- note: 'UIDatePicker' has been explicitly marked unavailable here
41 | @property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime
42 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftModalPicker.swift (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftModalPicker.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 13:44:45.793 xcodebuild[796:4924] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftModalPicker (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
SwiftCompile normal arm64 (in target 'SwiftModalPicker' from project 'SwiftModalPicker')
Building workspace SwiftModalPicker with scheme SwiftModalPicker
(5 failures)
BUILD FAILURE 6.4 watchOS