Build Information
Failed to build BJOTPViewController, reference master (eb6dd4), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 14:57:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BJOTPViewController -destination generic/platform=watchOSBuild Log
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1251:32: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1249 | }
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
1253 | self.askUserConsentBeforeDismissingModal()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:32: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:64: error: 'UISceneSession' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UISceneSession' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
| `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:107: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1258:32: error: 'UISceneDelegate' is unavailable in watchOS
1256 |
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
| `- error: 'UISceneDelegate' is unavailable in watchOS
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
1260 | if NSObject.deviceIsMacCatalyst {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:64:11: note: 'UISceneDelegate' has been explicitly marked unavailable here
62 |
63 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UISceneDelegate <NSObject>
| `- note: 'UISceneDelegate' has been explicitly marked unavailable here
65 | @optional
66 | #pragma mark Lifecycle State Transitioning
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:47: error: 'UITouch' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:69: error: 'UIEvent' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:47: error: 'UITouch' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:69: error: 'UIEvent' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:51: error: 'UITouch' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:73: error: 'UIEvent' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:31:38: error: 'UIButton' is unavailable in watchOS
29 | import UIKit
30 |
31 | final class BJOTPAuthenticateButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
32 |
33 | var useHaptics: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:39:43: error: 'UITextPosition' is unavailable in watchOS
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
38 |
39 | override func caretRect(for position: UITextPosition) -> CGRect {
| `- error: 'UITextPosition' is unavailable in watchOS
40 | return .init(origin: .init(x: self.bounds.midX, y: self.bounds.origin.y), size: .init(width: 0.1, height: 0.1))
41 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:43:57: error: 'UITextPosition' is unavailable in watchOS
41 | }
42 |
43 | override func closestPosition(to point: CGPoint) -> UITextPosition? {
| `- error: 'UITextPosition' is unavailable in watchOS
44 | return self.endOfDocument
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:35:29: error: 'UITextField' is unavailable in watchOS
33 | }
34 |
35 | final class BJOTPTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
36 |
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
/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/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:45:62: error: 'UIAlertAction' is unavailable in watchOS
43 | secondButtonTitle: String? = nil,
44 | isSecondButtonDestructive: Bool = false,
45 | firstButtonAction: ((UIAlertAction) -> Void)? = nil,
| `- error: 'UIAlertAction' is unavailable in watchOS
46 | secondButtonAction: ((UIAlertAction) -> Void)? = nil) {
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:46:63: error: 'UIAlertAction' is unavailable in watchOS
44 | isSecondButtonDestructive: Bool = false,
45 | firstButtonAction: ((UIAlertAction) -> Void)? = nil,
46 | secondButtonAction: ((UIAlertAction) -> Void)? = nil) {
| `- error: 'UIAlertAction' is unavailable in watchOS
47 |
48 | let alert = UIAlertController.init(title: title, message: message, preferredStyle: .alert)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:67:52: error: 'UITouch' is unavailable in watchOS
65 | }
66 |
67 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
68 | self.view.endEditing(true)
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:67:74: error: 'UIEvent' is unavailable in watchOS
65 | }
66 |
67 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
68 | self.view.endEditing(true)
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:31:11: error: 'UIViewController' is unavailable in watchOS
29 | import UIKit
30 |
31 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | /**
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:201:46: error: 'NSLayoutConstraint' is unavailable in watchOS
199 | }
200 |
201 | func change(yOffset y: CGFloat = 0.0) -> NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
202 | if let superview = superview {
203 | for constraint in superview.constraints {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:217:46: error: 'NSLayoutConstraint' is unavailable in watchOS
215 | }
216 |
217 | func change(xOffset x: CGFloat = 0.0) -> NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
218 | if let superview = superview {
219 | for constraint in superview.constraints {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:44:11: error: 'UIView' is unavailable in watchOS
42 | }
43 |
44 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
45 |
46 | /**
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:435:11: error: 'UILabel' is unavailable in watchOS
433 | }
434 |
435 | extension UILabel {
| `- error: 'UILabel' is unavailable in watchOS
436 | open override func updateConstraints() {
437 | if self.tag == 2245 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
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/BJOTPViewController/BJOTPViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPAuthenticateButton.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIColorExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewControllerExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewExtensions.swift -target arm64_32-apple-watchos9.0 -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/ModuleCache.noindex -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BJOTPViewController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name watchos27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BJOTPViewController.build/Debug-watchos/BJOTPViewController-t.build/Objects-normal/arm64_32/BJOTPViewController.abi.json
SwiftCompile normal arm64_32 Compiling\ BJOTPAuthenticateButton.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPAuthenticateButton.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:47: error: 'UITouch' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:69: error: 'UIEvent' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:47: error: 'UITouch' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:69: error: 'UIEvent' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:51: error: 'UITouch' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:73: error: 'UIEvent' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:31:38: error: 'UIButton' is unavailable in watchOS
29 | import UIKit
30 |
31 | final class BJOTPAuthenticateButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
32 |
33 | var useHaptics: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:47:13: error: 'UIView' is unavailable in watchOS
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
48 | self.transform = .init(scaleX: 0.97, y: 0.98)
49 | self.alpha = 0.8
/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/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:58:13: error: 'UIView' is unavailable in watchOS
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
59 | self.transform = .identity
60 | self.alpha = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPAuthenticateButton.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BJOTPAuthenticateButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:69:13: error: 'UIView' is unavailable in watchOS
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
70 | self.transform = .identity
71 | self.alpha = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ BJOTPViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:71:38: error: 'UIButton' is unavailable in watchOS
69 | * - Author: Badhan Ganesh
70 | */
71 | @objc func didTap(footer button: UIButton, from viewController: BJOTPViewController)
| `- error: 'UIButton' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:100:30: error: 'UIButton' is unavailable in watchOS
98 | private var textFieldsIndexes: [BJOTPTextField: Int] = [:]
99 |
100 | private var closeButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
101 | private var stackView: UIStackView!
102 | private var keyboardIsOn: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:101:28: error: 'UIStackView' is unavailable in watchOS
99 |
100 | private var closeButton: UIButton?
101 | private var stackView: UIStackView!
| `- error: 'UIStackView' is unavailable in watchOS
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:103:36: error: 'UILabel' is unavailable in watchOS
101 | private var stackView: UIStackView!
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
104 | private var brandImageView: UIImageView?
105 | private var masterStackView: UIStackView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:104:33: error: 'UIImageView' is unavailable in watchOS
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
104 | private var brandImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
105 | private var masterStackView: UIStackView!
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:105:34: error: 'UIStackView' is unavailable in watchOS
103 | private var headingTitleLabel: UILabel?
104 | private var brandImageView: UIImageView?
105 | private var masterStackView: UIStackView!
| `- error: 'UIStackView' is unavailable in watchOS
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
107 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:108:37: error: 'UILabel' is unavailable in watchOS
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
107 |
108 | private var primaryHeaderLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
109 | private var secondaryHeaderLabel: UILabel?
110 | private var headerTextsStackView: UIStackView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:109:39: error: 'UILabel' is unavailable in watchOS
107 |
108 | private var primaryHeaderLabel: UILabel?
109 | private var secondaryHeaderLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
110 | private var headerTextsStackView: UIStackView?
111 | private var footerButton: BJOTPAuthenticateButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:110:39: error: 'UIStackView' is unavailable in watchOS
108 | private var primaryHeaderLabel: UILabel?
109 | private var secondaryHeaderLabel: UILabel?
110 | private var headerTextsStackView: UIStackView?
| `- error: 'UIStackView' is unavailable in watchOS
111 | private var footerButton: BJOTPAuthenticateButton?
112 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:114:49: error: 'NSLayoutConstraint' is unavailable in watchOS
112 |
113 | private var authenticateButton: BJOTPAuthenticateButton!
114 | private var headingTitleLabelTopConstraint: NSLayoutConstraint?
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
115 | private var masterStackViewCenterYConstraint: NSLayoutConstraint!
116 | private var originalMasterStackViewCenterYConstraintConstant: CGFloat!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:115:51: error: 'NSLayoutConstraint' is unavailable in watchOS
113 | private var authenticateButton: BJOTPAuthenticateButton!
114 | private var headingTitleLabelTopConstraint: NSLayoutConstraint?
115 | private var masterStackViewCenterYConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
116 | private var originalMasterStackViewCenterYConstraintConstant: CGFloat!
117 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:131:58: error: 'UITouch' is unavailable in watchOS
129 | allTextFields[idx].text = String(element)
130 | }
131 | self.touchesEnded(Set.init(arrayLiteral: UITouch()), with: nil)
| `- error: 'UITouch' is unavailable in watchOS
132 | self.informDelegate(stringToPaste, from: self)
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:177:46: error: 'systemBlue' is unavailable in watchOS
175 | * - Author: Badhan Ganesh
176 | */
177 | @objc public var accentColor: UIColor = .systemBlue {
| `- error: 'systemBlue' is unavailable in watchOS
178 | willSet {
179 | self.closeButton?.setTitleColor(self.authenticateButtonColor ?? newValue, for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:418:51: error: 'UIButton' is unavailable in watchOS
416 | }
417 |
418 | @objc func authenticateButtonTapped(_ sender: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
419 | var otpString = ""
420 | let numberOfEmptyTextFields: Int = allTextFields.reduce(0, { emptyTextsCount, textField in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:432:52: error: 'UIButton' is unavailable in watchOS
430 | }
431 |
432 | @objc private func closeButtonTapped(_ sender: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
433 | if self.navigationController == nil {
434 | self.askUserConsentBeforeDismissingModal()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:443:78: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
441 | }
442 |
443 | open override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
444 | coordinator.animateAlongsideTransition(in: self.view, animation: { (coord) in
445 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:478:52: error: 'UITouch' is unavailable in watchOS
476 | * - Author: Badhan Ganesh
477 | */
478 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
479 | self.didTapToDismissKeyboard = true
480 | UIView.animate(withDuration: 0.4, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0.1, options: [.curveEaseIn, .curveEaseOut], animations: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:478:74: error: 'UIEvent' is unavailable in watchOS
476 | * - Author: Badhan Ganesh
477 | */
478 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
479 | self.didTapToDismissKeyboard = true
480 | UIView.animate(withDuration: 0.4, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0.1, options: [.curveEaseIn, .curveEaseOut], animations: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:80:33: error: 'UIViewController' is unavailable in watchOS
78 | *
79 | */
80 | open class BJOTPViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
81 |
82 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:518:40: error: 'UITextField' is unavailable in watchOS
516 | enum Direction { case left, right }
517 |
518 | public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
519 |
520 | ///We don't need any string that is more than the maximum allowed number of characters
/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/BJOTPViewController/BJOTPViewController.swift:616:55: error: 'UITextField' is unavailable in watchOS
614 | }
615 |
616 | public func textFieldDidBeginEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
617 | self.currentTextField = textField as? BJOTPTextField
618 | textField.roundCorners(amount: 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/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/BJOTPViewController/BJOTPViewController.swift:622:53: error: 'UITextField' is unavailable in watchOS
620 | }
621 |
622 | public func textFieldDidEndEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
623 | self.currentTextField = nil
624 | textField.setBorder(amount: 1.8, borderColor: UIColor.lightGray.withAlphaComponent(0.3), duration: 0.15)
/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/BJOTPViewController/BJOTPViewController.swift:514:32: error: 'UITextFieldDelegate' is unavailable in watchOS
512 |
513 |
514 | extension BJOTPViewController: UITextFieldDelegate {
| `- error: 'UITextFieldDelegate' is unavailable in watchOS
515 |
516 | enum Direction { case left, right }
/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:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
138 |
139 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
140 | @protocol UITextFieldDelegate <NSObject>
| `- note: 'UITextFieldDelegate' has been explicitly marked unavailable here
141 |
142 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:882:45: error: 'UIButton' is unavailable in watchOS
880 | }
881 |
882 | @objc func footerButtonTapped(_ button: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
883 | self.delegate?.didTap(footer: button, from: self)
884 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:933:65: error: 'UIView' is unavailable in watchOS
931 | }
932 |
933 | fileprivate func layoutAuthenticateButton(withSibling view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
934 |
935 | let authenticateButton = BJOTPAuthenticateButton()
/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/BJOTPViewController/BJOTPViewController.swift:955:57: error: 'UIView' is unavailable in watchOS
953 | }
954 |
955 | fileprivate func layoutOTPStackView(with subviews: [UIView]) {
| `- error: 'UIView' is unavailable in watchOS
956 | let otpStackView = UIStackView.init(arrangedSubviews: subviews)
957 | otpStackView.tag = 234
/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/BJOTPViewController/BJOTPViewController.swift:977:58: error: 'UIView' is unavailable in watchOS
975 | }
976 |
977 | fileprivate func layoutAllStackViews(with subviews: [UIView]) {
| `- error: 'UIView' is unavailable in watchOS
978 | layoutOTPStackView(with: subviews)
979 | layoutPrimaryHeaderLabel()
/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/BJOTPViewController/BJOTPViewController.swift:1252:85: error: 'UIPresentationController' is unavailable in watchOS
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
1253 | self.askUserConsentBeforeDismissingModal()
1254 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1252:17: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
1253 | self.askUserConsentBeforeDismissingModal()
1254 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1251:32: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1249 | }
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
1253 | self.askUserConsentBeforeDismissingModal()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:32: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:64: error: 'UISceneSession' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UISceneSession' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
| `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:107: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1258:32: error: 'UISceneDelegate' is unavailable in watchOS
1256 |
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
| `- error: 'UISceneDelegate' is unavailable in watchOS
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
1260 | if NSObject.deviceIsMacCatalyst {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:64:11: note: 'UISceneDelegate' has been explicitly marked unavailable here
62 |
63 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UISceneDelegate <NSObject>
| `- note: 'UISceneDelegate' has been explicitly marked unavailable here
65 | @optional
66 | #pragma mark Lifecycle State Transitioning
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:342:13: error: 'UIView' is unavailable in watchOS
340 | @objc public var brandImage: UIImage? {
341 | willSet {
342 | UIView.animate(withDuration: 0.3) {
| `- error: 'UIView' is unavailable in watchOS
343 | self.brandImageView?.image = newValue
344 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ UIViewExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:201:46: error: 'NSLayoutConstraint' is unavailable in watchOS
199 | }
200 |
201 | func change(yOffset y: CGFloat = 0.0) -> NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
202 | if let superview = superview {
203 | for constraint in superview.constraints {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:217:46: error: 'NSLayoutConstraint' is unavailable in watchOS
215 | }
216 |
217 | func change(xOffset x: CGFloat = 0.0) -> NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
218 | if let superview = superview {
219 | for constraint in superview.constraints {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:44:11: error: 'UIView' is unavailable in watchOS
42 | }
43 |
44 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
45 |
46 | /**
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:435:11: error: 'UILabel' is unavailable in watchOS
433 | }
434 |
435 | extension UILabel {
| `- error: 'UILabel' is unavailable in watchOS
436 | open override func updateConstraints() {
437 | if self.tag == 2245 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:106:61: error: 'UIView' is unavailable in watchOS
104 |
105 | if constraint.firstAttribute != .width && constraint.firstAttribute != .height {
106 | if let firstItem = constraint.firstItem as? UIView, firstItem == self {
| `- error: 'UIView' is unavailable in watchOS
107 | superview.removeConstraint(constraint)
108 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:126:35: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
124 | ///////////////////////////////////////////////////////
125 |
126 | var safeAreaLeadingAnchor:NSLayoutXAxisAnchor?
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
127 | var safeAreaTrailingAnchor:NSLayoutXAxisAnchor?
128 | var safeAreaTopAnchor:NSLayoutYAxisAnchor?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:127:36: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
125 |
126 | var safeAreaLeadingAnchor:NSLayoutXAxisAnchor?
127 | var safeAreaTrailingAnchor:NSLayoutXAxisAnchor?
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
128 | var safeAreaTopAnchor:NSLayoutYAxisAnchor?
129 | var safeAreaBottomAnchor:NSLayoutYAxisAnchor?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:128:31: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
126 | var safeAreaLeadingAnchor:NSLayoutXAxisAnchor?
127 | var safeAreaTrailingAnchor:NSLayoutXAxisAnchor?
128 | var safeAreaTopAnchor:NSLayoutYAxisAnchor?
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
129 | var safeAreaBottomAnchor:NSLayoutYAxisAnchor?
130 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:129:34: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
127 | var safeAreaTrailingAnchor:NSLayoutXAxisAnchor?
128 | var safeAreaTopAnchor:NSLayoutYAxisAnchor?
129 | var safeAreaBottomAnchor:NSLayoutYAxisAnchor?
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
130 |
131 | if #available(iOS 11.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:132:47: error: 'safeAreaLayoutGuide' is unavailable in watchOS
130 |
131 | if #available(iOS 11.0, *) {
132 | safeAreaLeadingAnchor = superview.safeAreaLayoutGuide.leadingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
133 | safeAreaTrailingAnchor = superview.safeAreaLayoutGuide.trailingAnchor
134 | safeAreaTopAnchor = superview.safeAreaLayoutGuide.topAnchor
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:133:48: error: 'safeAreaLayoutGuide' is unavailable in watchOS
131 | if #available(iOS 11.0, *) {
132 | safeAreaLeadingAnchor = superview.safeAreaLayoutGuide.leadingAnchor
133 | safeAreaTrailingAnchor = superview.safeAreaLayoutGuide.trailingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
134 | safeAreaTopAnchor = superview.safeAreaLayoutGuide.topAnchor
135 | safeAreaBottomAnchor = superview.safeAreaLayoutGuide.bottomAnchor
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:134:43: error: 'safeAreaLayoutGuide' is unavailable in watchOS
132 | safeAreaLeadingAnchor = superview.safeAreaLayoutGuide.leadingAnchor
133 | safeAreaTrailingAnchor = superview.safeAreaLayoutGuide.trailingAnchor
134 | safeAreaTopAnchor = superview.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
135 | safeAreaBottomAnchor = superview.safeAreaLayoutGuide.bottomAnchor
136 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:135:46: error: 'safeAreaLayoutGuide' is unavailable in watchOS
133 | safeAreaTrailingAnchor = superview.safeAreaLayoutGuide.trailingAnchor
134 | safeAreaTopAnchor = superview.safeAreaLayoutGuide.topAnchor
135 | safeAreaBottomAnchor = superview.safeAreaLayoutGuide.bottomAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
136 | }
137 |
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:197:9: error: 'CATransaction' is unavailable in watchOS
195 | }
196 |
197 | CATransaction.flush()
| `- error: 'CATransaction' is unavailable in watchOS
198 |
199 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:267:9: error: 'UIView' is unavailable in watchOS
265 | */
266 | @objc func setBorder(amount: CGFloat, borderColor: UIColor = .clear, duration: TimeInterval) {
267 | UIView.animate(withDuration: duration) {
| `- error: 'UIView' is unavailable in watchOS
268 | self.layer.masksToBounds = true
269 | self.clipsToBounds = true
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:305:52: error: 'UILabel' is unavailable in watchOS
303 | */
304 | @objc func getText() -> String? {
305 | return self.responds(to: #selector(getter: UILabel.text)) ?
| `- error: 'UILabel' is unavailable in watchOS
306 | self.perform(#selector(getter: UILabel.text))?.takeUnretainedValue() as? String : nil
307 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:306:40: error: 'UILabel' is unavailable in watchOS
304 | @objc func getText() -> String? {
305 | return self.responds(to: #selector(getter: UILabel.text)) ?
306 | self.perform(#selector(getter: UILabel.text))?.takeUnretainedValue() as? String : nil
| `- error: 'UILabel' is unavailable in watchOS
307 | }
308 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:350:20: error: 'UIDevice' is unavailable in watchOS
348 | static var deviceIsInLandscape: Bool {
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
| `- error: 'UIDevice' is unavailable in watchOS
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
352 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:350:49: error: 'isLandscape' is unavailable in watchOS
348 | static var deviceIsInLandscape: Bool {
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
| `- error: 'isLandscape' is unavailable in watchOS
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
352 | }
UIKit.UIDeviceOrientation.isLandscape:3:14: note: 'isLandscape' has been explicitly marked unavailable here
1 | enum UIDeviceOrientation {
2 | @available(watchOS, unavailable)
3 | public var isLandscape: Bool { get }}
| `- note: 'isLandscape' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:351:13: error: 'UIScreen' is unavailable in watchOS
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
| `- error: 'UIScreen' is unavailable in watchOS
352 | }
353 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:351:22: error: 'main' is unavailable in watchOS
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
| `- error: 'main' is unavailable in watchOS
352 | }
353 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:351:47: error: 'UIScreen' is unavailable in watchOS
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
| `- error: 'UIScreen' is unavailable in watchOS
352 | }
353 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:351:56: error: 'main' is unavailable in watchOS
349 | get {
350 | return UIDevice.current.orientation.isLandscape ||
351 | UIScreen.main.bounds.size.width > UIScreen.main.bounds.size.height
| `- error: 'main' is unavailable in watchOS
352 | }
353 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:362:20: error: 'UIDevice' is unavailable in watchOS
360 | static var deviceIsiPad: Bool {
361 | get {
362 | return UIDevice.current.userInterfaceIdiom == .pad
| `- error: 'UIDevice' is unavailable in watchOS
363 | }
364 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:376:20: error: 'UIDevice' is unavailable in watchOS
374 |
375 | if #available(iOS 14.0, *) {
376 | if UIDevice.current.userInterfaceIdiom == .mac {
| `- error: 'UIDevice' is unavailable in watchOS
377 | isMac = true
378 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:376:60: error: 'mac' is unavailable in watchOS
374 |
375 | if #available(iOS 14.0, *) {
376 | if UIDevice.current.userInterfaceIdiom == .mac {
| `- error: 'mac' is unavailable in watchOS
377 | isMac = true
378 | }
UIKit.UIUserInterfaceIdiom.mac:3:8: note: 'mac' has been explicitly marked unavailable here
1 | enum UIUserInterfaceIdiom {
2 | @available(watchOS, unavailable)
3 | case mac}
| `- note: 'mac' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:399:17: error: 'UIScreen' is unavailable in watchOS
397 | } else {
398 | width = deviceIsInLandscape ?
399 | UIScreen.main.bounds.height / 1.3 :
| `- error: 'UIScreen' is unavailable in watchOS
400 | UIScreen.main.bounds.width / 1.3
401 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:399:26: error: 'main' is unavailable in watchOS
397 | } else {
398 | width = deviceIsInLandscape ?
399 | UIScreen.main.bounds.height / 1.3 :
| `- error: 'main' is unavailable in watchOS
400 | UIScreen.main.bounds.width / 1.3
401 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:400:17: error: 'UIScreen' is unavailable in watchOS
398 | width = deviceIsInLandscape ?
399 | UIScreen.main.bounds.height / 1.3 :
400 | UIScreen.main.bounds.width / 1.3
| `- error: 'UIScreen' is unavailable in watchOS
401 | }
402 |
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:400:26: error: 'main' is unavailable in watchOS
398 | width = deviceIsInLandscape ?
399 | UIScreen.main.bounds.height / 1.3 :
400 | UIScreen.main.bounds.width / 1.3
| `- error: 'main' is unavailable in watchOS
401 | }
402 |
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:417:17: error: 'UIScreen' is unavailable in watchOS
415 | } else {
416 | height = deviceIsInLandscape ?
417 | UIScreen.main.bounds.width / 11.0 :
| `- error: 'UIScreen' is unavailable in watchOS
418 | UIScreen.main.bounds.height / 11.0
419 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:417:26: error: 'main' is unavailable in watchOS
415 | } else {
416 | height = deviceIsInLandscape ?
417 | UIScreen.main.bounds.width / 11.0 :
| `- error: 'main' is unavailable in watchOS
418 | UIScreen.main.bounds.height / 11.0
419 | }
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:418:17: error: 'UIScreen' is unavailable in watchOS
416 | height = deviceIsInLandscape ?
417 | UIScreen.main.bounds.width / 11.0 :
418 | UIScreen.main.bounds.height / 11.0
| `- error: 'UIScreen' is unavailable in watchOS
419 | }
420 |
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:418:26: error: 'main' is unavailable in watchOS
416 | height = deviceIsInLandscape ?
417 | UIScreen.main.bounds.width / 11.0 :
418 | UIScreen.main.bounds.height / 11.0
| `- error: 'main' is unavailable in watchOS
419 | }
420 |
/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/BJOTPViewController/Swift Extensions/UIViewExtensions.swift:440:43: error: 'UIScreen' is unavailable in watchOS
438 | for constraint in constraints {
439 | if constraint.identifier == "Width" {
440 | constraint.constant = UIScreen.main.bounds.size.width * ( NSObject.deviceIsiPad || NSObject.deviceIsMacCatalyst ? 60 : 80) / 100
| `- error: 'UIScreen' is unavailable in watchOS
441 | }
442 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewExtensions.swift
SwiftCompile normal arm64_32 Compiling\ UIViewControllerExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewControllerExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIViewControllerExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewControllerExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:45:62: error: 'UIAlertAction' is unavailable in watchOS
43 | secondButtonTitle: String? = nil,
44 | isSecondButtonDestructive: Bool = false,
45 | firstButtonAction: ((UIAlertAction) -> Void)? = nil,
| `- error: 'UIAlertAction' is unavailable in watchOS
46 | secondButtonAction: ((UIAlertAction) -> Void)? = nil) {
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:46:63: error: 'UIAlertAction' is unavailable in watchOS
44 | isSecondButtonDestructive: Bool = false,
45 | firstButtonAction: ((UIAlertAction) -> Void)? = nil,
46 | secondButtonAction: ((UIAlertAction) -> Void)? = nil) {
| `- error: 'UIAlertAction' is unavailable in watchOS
47 |
48 | let alert = UIAlertController.init(title: title, message: message, preferredStyle: .alert)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:67:52: error: 'UITouch' is unavailable in watchOS
65 | }
66 |
67 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
68 | self.view.endEditing(true)
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:67:74: error: 'UIEvent' is unavailable in watchOS
65 | }
66 |
67 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
68 | self.view.endEditing(true)
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:31:11: error: 'UIViewController' is unavailable in watchOS
29 | import UIKit
30 |
31 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | /**
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:48:21: error: 'UIAlertController' is unavailable in watchOS
46 | secondButtonAction: ((UIAlertAction) -> Void)? = nil) {
47 |
48 | let alert = UIAlertController.init(title: title, message: message, preferredStyle: .alert)
| `- error: 'UIAlertController' is unavailable in watchOS
49 |
50 | if let ft = firstButtonTitle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIViewControllerExtensions.swift:51:31: error: 'UIAlertAction' is unavailable in watchOS
49 |
50 | if let ft = firstButtonTitle {
51 | let firstAction = UIAlertAction.init(title: ft, style: .default, handler: firstButtonAction)
| `- error: 'UIAlertAction' is unavailable in watchOS
52 | alert.addAction(firstAction)
53 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
SwiftCompile normal arm64_32 Compiling\ UIColorExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIColorExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIColorExtensions.swift:44:24: error: 'init(dynamicProvider:)' is unavailable in watchOS
42 | let milkWhiteColor = UIColor.init(red: 250/255, green: 250/255, blue: 250/255, alpha: 1.0)
43 | if #available(iOS 13.0, *) {
44 | return UIColor { (traitCollection: UITraitCollection) -> UIColor in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
45 | switch traitCollection.userInterfaceStyle {
46 | case .light:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift Extensions/UIColorExtensions.swift:44:52: error: 'UITraitCollection' is unavailable in watchOS
42 | let milkWhiteColor = UIColor.init(red: 250/255, green: 250/255, blue: 250/255, alpha: 1.0)
43 | if #available(iOS 13.0, *) {
44 | return UIColor { (traitCollection: UITraitCollection) -> UIColor in
| `- error: 'UITraitCollection' is unavailable in watchOS
45 | switch traitCollection.userInterfaceStyle {
46 | case .light:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Swift\ Extensions/UIColorExtensions.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColorExtensions.swift
SwiftCompile normal arm64_32 Compiling\ BJOTPTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPTextField.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:39:43: error: 'UITextPosition' is unavailable in watchOS
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
38 |
39 | override func caretRect(for position: UITextPosition) -> CGRect {
| `- error: 'UITextPosition' is unavailable in watchOS
40 | return .init(origin: .init(x: self.bounds.midX, y: self.bounds.origin.y), size: .init(width: 0.1, height: 0.1))
41 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:43:57: error: 'UITextPosition' is unavailable in watchOS
41 | }
42 |
43 | override func closestPosition(to point: CGPoint) -> UITextPosition? {
| `- error: 'UITextPosition' is unavailable in watchOS
44 | return self.endOfDocument
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:35:29: error: 'UITextField' is unavailable in watchOS
33 | }
34 |
35 | final class BJOTPTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
36 |
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPTextField.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BJOTPTextField.swift
SwiftCompile normal arm64 Compiling\ BJOTPAuthenticateButton.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPAuthenticateButton.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:47: error: 'UITouch' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:45:69: error: 'UIEvent' is unavailable in watchOS
43 | }
44 |
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:47: error: 'UITouch' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:56:69: error: 'UIEvent' is unavailable in watchOS
54 | }
55 |
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:51: error: 'UITouch' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:67:73: error: 'UIEvent' is unavailable in watchOS
65 | }
66 |
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:31:38: error: 'UIButton' is unavailable in watchOS
29 | import UIKit
30 |
31 | final class BJOTPAuthenticateButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
32 |
33 | var useHaptics: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:47:13: error: 'UIView' is unavailable in watchOS
45 | override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
46 | if animate {
47 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
48 | self.transform = .init(scaleX: 0.97, y: 0.98)
49 | self.alpha = 0.8
/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/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:58:13: error: 'UIView' is unavailable in watchOS
56 | override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
57 | if animate {
58 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
59 | self.transform = .identity
60 | self.alpha = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/BJOTPViewController/Custom Views/BJOTPAuthenticateButton.swift:69:13: error: 'UIView' is unavailable in watchOS
67 | override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
68 | if animate {
69 | UIView.animate(withDuration: 0.15) {
| `- error: 'UIView' is unavailable in watchOS
70 | self.transform = .identity
71 | self.alpha = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPAuthenticateButton.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BJOTPAuthenticateButton.swift
SwiftCompile normal arm64 Compiling\ BJOTPViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:71:38: error: 'UIButton' is unavailable in watchOS
69 | * - Author: Badhan Ganesh
70 | */
71 | @objc func didTap(footer button: UIButton, from viewController: BJOTPViewController)
| `- error: 'UIButton' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:100:30: error: 'UIButton' is unavailable in watchOS
98 | private var textFieldsIndexes: [BJOTPTextField: Int] = [:]
99 |
100 | private var closeButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
101 | private var stackView: UIStackView!
102 | private var keyboardIsOn: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:101:28: error: 'UIStackView' is unavailable in watchOS
99 |
100 | private var closeButton: UIButton?
101 | private var stackView: UIStackView!
| `- error: 'UIStackView' is unavailable in watchOS
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:103:36: error: 'UILabel' is unavailable in watchOS
101 | private var stackView: UIStackView!
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
104 | private var brandImageView: UIImageView?
105 | private var masterStackView: UIStackView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:104:33: error: 'UIImageView' is unavailable in watchOS
102 | private var keyboardIsOn: Bool = false
103 | private var headingTitleLabel: UILabel?
104 | private var brandImageView: UIImageView?
| `- error: 'UIImageView' is unavailable in watchOS
105 | private var masterStackView: UIStackView!
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:105:34: error: 'UIStackView' is unavailable in watchOS
103 | private var headingTitleLabel: UILabel?
104 | private var brandImageView: UIImageView?
105 | private var masterStackView: UIStackView!
| `- error: 'UIStackView' is unavailable in watchOS
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
107 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:108:37: error: 'UILabel' is unavailable in watchOS
106 | private var keyboardOffsetDuringEditing: CGFloat = 0.0
107 |
108 | private var primaryHeaderLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
109 | private var secondaryHeaderLabel: UILabel?
110 | private var headerTextsStackView: UIStackView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:109:39: error: 'UILabel' is unavailable in watchOS
107 |
108 | private var primaryHeaderLabel: UILabel?
109 | private var secondaryHeaderLabel: UILabel?
| `- error: 'UILabel' is unavailable in watchOS
110 | private var headerTextsStackView: UIStackView?
111 | private var footerButton: BJOTPAuthenticateButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:110:39: error: 'UIStackView' is unavailable in watchOS
108 | private var primaryHeaderLabel: UILabel?
109 | private var secondaryHeaderLabel: UILabel?
110 | private var headerTextsStackView: UIStackView?
| `- error: 'UIStackView' is unavailable in watchOS
111 | private var footerButton: BJOTPAuthenticateButton?
112 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:114:49: error: 'NSLayoutConstraint' is unavailable in watchOS
112 |
113 | private var authenticateButton: BJOTPAuthenticateButton!
114 | private var headingTitleLabelTopConstraint: NSLayoutConstraint?
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
115 | private var masterStackViewCenterYConstraint: NSLayoutConstraint!
116 | private var originalMasterStackViewCenterYConstraintConstant: CGFloat!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:115:51: error: 'NSLayoutConstraint' is unavailable in watchOS
113 | private var authenticateButton: BJOTPAuthenticateButton!
114 | private var headingTitleLabelTopConstraint: NSLayoutConstraint?
115 | private var masterStackViewCenterYConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
116 | private var originalMasterStackViewCenterYConstraintConstant: CGFloat!
117 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:131:58: error: 'UITouch' is unavailable in watchOS
129 | allTextFields[idx].text = String(element)
130 | }
131 | self.touchesEnded(Set.init(arrayLiteral: UITouch()), with: nil)
| `- error: 'UITouch' is unavailable in watchOS
132 | self.informDelegate(stringToPaste, from: self)
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:177:46: error: 'systemBlue' is unavailable in watchOS
175 | * - Author: Badhan Ganesh
176 | */
177 | @objc public var accentColor: UIColor = .systemBlue {
| `- error: 'systemBlue' is unavailable in watchOS
178 | willSet {
179 | self.closeButton?.setTitleColor(self.authenticateButtonColor ?? newValue, for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:418:51: error: 'UIButton' is unavailable in watchOS
416 | }
417 |
418 | @objc func authenticateButtonTapped(_ sender: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
419 | var otpString = ""
420 | let numberOfEmptyTextFields: Int = allTextFields.reduce(0, { emptyTextsCount, textField in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:432:52: error: 'UIButton' is unavailable in watchOS
430 | }
431 |
432 | @objc private func closeButtonTapped(_ sender: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
433 | if self.navigationController == nil {
434 | self.askUserConsentBeforeDismissingModal()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:443:78: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
441 | }
442 |
443 | open override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
444 | coordinator.animateAlongsideTransition(in: self.view, animation: { (coord) in
445 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:478:52: error: 'UITouch' is unavailable in watchOS
476 | * - Author: Badhan Ganesh
477 | */
478 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
479 | self.didTapToDismissKeyboard = true
480 | UIView.animate(withDuration: 0.4, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0.1, options: [.curveEaseIn, .curveEaseOut], animations: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:478:74: error: 'UIEvent' is unavailable in watchOS
476 | * - Author: Badhan Ganesh
477 | */
478 | override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
479 | self.didTapToDismissKeyboard = true
480 | UIView.animate(withDuration: 0.4, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0.1, options: [.curveEaseIn, .curveEaseOut], animations: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:80:33: error: 'UIViewController' is unavailable in watchOS
78 | *
79 | */
80 | open class BJOTPViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
81 |
82 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:518:40: error: 'UITextField' is unavailable in watchOS
516 | enum Direction { case left, right }
517 |
518 | public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
519 |
520 | ///We don't need any string that is more than the maximum allowed number of characters
/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/BJOTPViewController/BJOTPViewController.swift:616:55: error: 'UITextField' is unavailable in watchOS
614 | }
615 |
616 | public func textFieldDidBeginEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
617 | self.currentTextField = textField as? BJOTPTextField
618 | textField.roundCorners(amount: 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/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/BJOTPViewController/BJOTPViewController.swift:622:53: error: 'UITextField' is unavailable in watchOS
620 | }
621 |
622 | public func textFieldDidEndEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
623 | self.currentTextField = nil
624 | textField.setBorder(amount: 1.8, borderColor: UIColor.lightGray.withAlphaComponent(0.3), duration: 0.15)
/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/BJOTPViewController/BJOTPViewController.swift:514:32: error: 'UITextFieldDelegate' is unavailable in watchOS
512 |
513 |
514 | extension BJOTPViewController: UITextFieldDelegate {
| `- error: 'UITextFieldDelegate' is unavailable in watchOS
515 |
516 | enum Direction { case left, right }
/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:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
138 |
139 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
140 | @protocol UITextFieldDelegate <NSObject>
| `- note: 'UITextFieldDelegate' has been explicitly marked unavailable here
141 |
142 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:882:45: error: 'UIButton' is unavailable in watchOS
880 | }
881 |
882 | @objc func footerButtonTapped(_ button: UIButton) {
| `- error: 'UIButton' is unavailable in watchOS
883 | self.delegate?.didTap(footer: button, from: self)
884 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:933:65: error: 'UIView' is unavailable in watchOS
931 | }
932 |
933 | fileprivate func layoutAuthenticateButton(withSibling view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
934 |
935 | let authenticateButton = BJOTPAuthenticateButton()
/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/BJOTPViewController/BJOTPViewController.swift:955:57: error: 'UIView' is unavailable in watchOS
953 | }
954 |
955 | fileprivate func layoutOTPStackView(with subviews: [UIView]) {
| `- error: 'UIView' is unavailable in watchOS
956 | let otpStackView = UIStackView.init(arrangedSubviews: subviews)
957 | otpStackView.tag = 234
/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/BJOTPViewController/BJOTPViewController.swift:977:58: error: 'UIView' is unavailable in watchOS
975 | }
976 |
977 | fileprivate func layoutAllStackViews(with subviews: [UIView]) {
| `- error: 'UIView' is unavailable in watchOS
978 | layoutOTPStackView(with: subviews)
979 | layoutPrimaryHeaderLabel()
/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/BJOTPViewController/BJOTPViewController.swift:1252:85: error: 'UIPresentationController' is unavailable in watchOS
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
1253 | self.askUserConsentBeforeDismissingModal()
1254 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1252:17: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
1253 | self.askUserConsentBeforeDismissingModal()
1254 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1251:32: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1249 | }
1250 |
1251 | extension BJOTPViewController: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
1252 | public func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
1253 | self.askUserConsentBeforeDismissingModal()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:32: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:64: error: 'UISceneSession' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UISceneSession' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
| `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1259:107: error: 'UIScene' is unavailable in watchOS
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
| `- error: 'UIScene' is unavailable in watchOS
1260 | if NSObject.deviceIsMacCatalyst {
1261 | let windowScene = scene as! UIWindowScene
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/BJOTPViewController.swift:1258:32: error: 'UISceneDelegate' is unavailable in watchOS
1256 |
1257 | @available(iOS 13.0, *)
1258 | extension BJOTPViewController: UISceneDelegate {
| `- error: 'UISceneDelegate' is unavailable in watchOS
1259 | public func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
1260 | if NSObject.deviceIsMacCatalyst {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:64:11: note: 'UISceneDelegate' has been explicitly marked unavailable here
62 |
63 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UISceneDelegate <NSObject>
| `- note: 'UISceneDelegate' has been explicitly marked unavailable here
65 | @optional
66 | #pragma mark Lifecycle State Transitioning
SwiftCompile normal arm64 (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BJOTPTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPTextField.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:39:43: error: 'UITextPosition' is unavailable in watchOS
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
38 |
39 | override func caretRect(for position: UITextPosition) -> CGRect {
| `- error: 'UITextPosition' is unavailable in watchOS
40 | return .init(origin: .init(x: self.bounds.midX, y: self.bounds.origin.y), size: .init(width: 0.1, height: 0.1))
41 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:43:57: error: 'UITextPosition' is unavailable in watchOS
41 | }
42 |
43 | override func closestPosition(to point: CGPoint) -> UITextPosition? {
| `- error: 'UITextPosition' is unavailable in watchOS
44 | return self.endOfDocument
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:302:12: note: 'UITextPosition' has been explicitly marked unavailable here
300 | * classes provided to be subclassed when adopting UITextInput */
301 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
302 | @interface UITextPosition : NSObject
| `- note: 'UITextPosition' has been explicitly marked unavailable here
303 |
304 | @end
/Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom Views/BJOTPTextField.swift:35:29: error: 'UITextField' is unavailable in watchOS
33 | }
34 |
35 | final class BJOTPTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
36 |
37 | weak var menuActionDelegate: BJMenuActionDelegate? = nil
/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BJOTPViewController/Custom\ Views/BJOTPTextField.swift (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BJOTPTextField.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ BJOTPViewController (in target 'BJOTPViewController' from project 'BJOTPViewController')
SwiftCompile normal arm64 (in target 'BJOTPViewController' from project 'BJOTPViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 10:57:00.114 xcodebuild[717:4749] [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 'BJOTPViewController' from project 'BJOTPViewController')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BJOTPViewController (in target 'BJOTPViewController' from project 'BJOTPViewController')
Building workspace BJOTPViewController with scheme BJOTPViewController
(3 failures)
BUILD FAILURE 6.4 watchOS