Build Information
Failed to build BYCustomTextField, reference main (6c7df4), with Swift 6.2 for watchOS using Xcode 26.3 on 23 Jun 2025 04:08:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BYCustomTextField-Package -destination generic/platform=watchOSBuild Log
SwiftCompile normal armv7k Compiling\ BYTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ BYUnderlineTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ BYCustomTextField (in target 'BYCustomTextField' from project 'BYCustomTextField')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.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/BYCustomTextField/BYSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift -target armv7k-apple-watchos8.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField-dependencies-1.json -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 6 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/swift-overrides.hmap -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/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BYCustomTextField -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target armv7k-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/armv7k/BYCustomTextField.abi.json
EmitSwiftModule normal armv7k (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:27:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:28:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:28:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:30:33: error: 'systemGray6' is unavailable in watchOS
view.backgroundColor = .systemGray6
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:152:49: note: 'systemGray6' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGray6Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:33:42: error: 'systemGray' is unavailable in watchOS
view.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:37:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:38:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:38:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:47:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:48:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:48:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:55:31: error: 'UIButton' is unavailable in watchOS
private var securityIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:56:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:56:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:63:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:64:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:64:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:72:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:73:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:73:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:79:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:80:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:80:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:88:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:89:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:106:142: error: 'systemGray' is unavailable in watchOS
public init(placeHolder: String, alertMessage: String = "", validMessage: String = "", minCharacterCount: Int = 0, backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray){
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:106:257: error: 'systemGray' is unavailable in watchOS
public init(placeHolder: String, alertMessage: String = "", validMessage: String = "", minCharacterCount: Int = 0, backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray){
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:10:35: error: 'UIView' is unavailable in watchOS
public class BYSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:10:43: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:314:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:318:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:322:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:326:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:330:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:334:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:26:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:27:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:27:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:29:33: error: 'systemGray6' is unavailable in watchOS
view.backgroundColor = .systemGray6
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:152:49: note: 'systemGray6' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGray6Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:32:42: error: 'systemGray' is unavailable in watchOS
view.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:36:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:37:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:37:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:45:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:46:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:46:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:53:27: error: 'UIButton' is unavailable in watchOS
private var infoIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:54:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:54:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:62:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:63:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:63:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:71:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:72:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:72:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:78:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:79:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:79:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:87:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:88:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var infoIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:89:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:108:141: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", characters: [String] = [], backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray) {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:108:256: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", characters: [String] = [], backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray) {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:10:27: error: 'UIView' is unavailable in watchOS
public class BYTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:10:35: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:323:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:327:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:331:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:335:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:339:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:343:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:33:28: error: 'UIView' is unavailable in watchOS
private var underLine: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:34:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:34:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:39:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:40:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:40:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:46:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:47:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:47:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:52:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:53:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:53:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:62:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:63:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:63:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:70:31: error: 'UIButton' is unavailable in watchOS
private var securityIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:71:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:71:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:78:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:79:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:79:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:87:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:88:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:88:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:96:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:97:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:114:119: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", underlineColor: UIColor = .systemGray, minCharacterCount: Int = 0, textColor: UIColor = .black , leftIcon: String = "") {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:10:44: error: 'UIView' is unavailable in watchOS
public class BYUnderlineSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:10:52: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYUnderlineSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:339:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:343:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:347:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:351:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:355:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:359:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:33:28: error: 'UIView' is unavailable in watchOS
private var underLine: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:34:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:34:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:39:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:40:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:40:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:46:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:47:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:47:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:52:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:53:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:53:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:61:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:62:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:62:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:69:27: error: 'UIButton' is unavailable in watchOS
private var infoIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:70:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:70:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:78:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:79:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:79:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:87:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:88:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:88:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:96:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:97:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var infoIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:111:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:116:119: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", underlineColor: UIColor = .systemGray, characters: [String] = [], textColor: UIColor = .black , leftIcon: String = "") {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:10:36: error: 'UIView' is unavailable in watchOS
public class BYUnderlineTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:10:44: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYUnderlineTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:348:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:352:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:356:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:360:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:364:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:368:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
SwiftCompile normal armv7k Compiling\ BYSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ BYUnderlineSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ BYCustomTextField (in target 'BYCustomTextField' from project 'BYCustomTextField')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.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/BYCustomTextField/BYSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift -target arm64-apple-watchos8.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 6 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/swift-overrides.hmap -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/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BYCustomTextField -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BYCustomTextField.build/Debug-watchos/BYCustomTextField.build/Objects-normal/arm64/BYCustomTextField.abi.json
EmitSwiftModule normal arm64 (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:27:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:28:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:28:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:30:33: error: 'systemGray6' is unavailable in watchOS
view.backgroundColor = .systemGray6
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:152:49: note: 'systemGray6' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGray6Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:33:42: error: 'systemGray' is unavailable in watchOS
view.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:37:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:38:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:38:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:47:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:48:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:48:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:55:31: error: 'UIButton' is unavailable in watchOS
private var securityIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:56:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:56:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:63:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:64:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:64:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:72:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:73:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:73:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:79:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:80:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:80:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:88:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:89:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:106:142: error: 'systemGray' is unavailable in watchOS
public init(placeHolder: String, alertMessage: String = "", validMessage: String = "", minCharacterCount: Int = 0, backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray){
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:106:257: error: 'systemGray' is unavailable in watchOS
public init(placeHolder: String, alertMessage: String = "", validMessage: String = "", minCharacterCount: Int = 0, backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray){
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:10:35: error: 'UIView' is unavailable in watchOS
public class BYSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:10:43: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:314:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:318:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:322:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:326:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:330:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYSecurityTextField.swift:334:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:26:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:27:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:27:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:29:33: error: 'systemGray6' is unavailable in watchOS
view.backgroundColor = .systemGray6
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:152:49: note: 'systemGray6' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGray6Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:32:42: error: 'systemGray' is unavailable in watchOS
view.layer.borderColor = UIColor.systemGray.cgColor
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:36:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:37:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:37:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:45:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:46:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:46:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:53:27: error: 'UIButton' is unavailable in watchOS
private var infoIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:54:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:54:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:62:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:63:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:63:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:71:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:72:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:72:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:78:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:79:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:79:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:87:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:88:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var infoIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:89:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:108:141: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", characters: [String] = [], backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray) {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:108:256: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", characters: [String] = [], backColor: UIColor = .systemGray.withAlphaComponent(0.2), textColor: UIColor = .black , leftIcon: String = "", leftIconColor: UIColor = .systemGray) {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:10:27: error: 'UIView' is unavailable in watchOS
public class BYTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:10:35: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:323:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:327:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:331:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:335:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:339:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift:343:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:33:28: error: 'UIView' is unavailable in watchOS
private var underLine: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:34:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:34:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:39:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:40:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:40:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:46:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:47:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:47:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:52:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:53:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:53:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:62:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:63:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:63:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:70:31: error: 'UIButton' is unavailable in watchOS
private var securityIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:71:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:71:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:78:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:79:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:79:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:87:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:88:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:88:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:96:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:97:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:114:119: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", underlineColor: UIColor = .systemGray, minCharacterCount: Int = 0, textColor: UIColor = .black , leftIcon: String = "") {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:10:44: error: 'UIView' is unavailable in watchOS
public class BYUnderlineSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:10:52: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYUnderlineSecurityTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:339:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:343:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:347:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:351:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:355:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineSecurityTextField.swift:359:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:12:31: error: 'UITextFieldDelegate' is unavailable in watchOS
public weak var delegate: UITextFieldDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:33:28: error: 'UIView' is unavailable in watchOS
private var underLine: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:34:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:34:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:39:27: error: 'UIImageView' is unavailable in watchOS
private var leftIcon: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:40:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:40:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:46:27: error: 'UIView' is unavailable in watchOS
private var backView: UIView = {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:47:20: error: 'UIView' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:47:20: error: 'init()' is unavailable in watchOS
let view = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:52:28: error: 'UITextField' is unavailable in watchOS
private var textField: UITextField = {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:53:25: error: 'UITextField' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:53:25: error: 'init()' is unavailable in watchOS
let textField = UITextField()
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:61:35: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:62:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:62:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:69:27: error: 'UIButton' is unavailable in watchOS
private var infoIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:70:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:70:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:78:28: error: 'UIButton' is unavailable in watchOS
private var cleanIcon: UIButton = {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:79:22: error: 'UIButton' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
@interface UIButton : UIControl <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:79:22: error: 'init()' is unavailable in watchOS
let button = UIButton()
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:87:29: error: 'UILabel' is unavailable in watchOS
private var alertLabel: UILabel = {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:88:21: error: 'UILabel' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:88:21: error: 'init()' is unavailable in watchOS
let label = UILabel()
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:96:43: error: 'NSLayoutConstraint' is unavailable in watchOS
private var cleanIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:97:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var infoIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:111:42: error: 'NSLayoutConstraint' is unavailable in watchOS
private var leftIconWidthConstraint: NSLayoutConstraint!
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:116:119: error: 'systemGray' is unavailable in watchOS
public init(placeholder: String, alertMessage: String = "", validMessage: String = "", underlineColor: UIColor = .systemGray, characters: [String] = [], textColor: UIColor = .black , leftIcon: String = "") {
^~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:138:49: note: 'systemGray' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:10:36: error: 'UIView' is unavailable in watchOS
public class BYUnderlineTextField: UIView, UITextFieldDelegate {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:10:44: error: 'UITextFieldDelegate' is unavailable in watchOS
public class BYUnderlineTextField: UIView, UITextFieldDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
@protocol UITextFieldDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:348:58: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:352:55: error: 'UITextField' is unavailable in watchOS
public func textFieldDidBeginEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:356:56: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:360:53: error: 'UITextField' is unavailable in watchOS
public func textFieldDidEndEditing(_ textField: UITextField) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:364:40: error: 'UITextField' is unavailable in watchOS
public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYUnderlineTextField.swift:368:52: error: 'UITextField' is unavailable in watchOS
public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
@interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
SwiftCompile normal arm64 Compiling\ BYTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BYCustomTextField/BYTextField.swift (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BYCustomTextField (in target 'BYCustomTextField' from project 'BYCustomTextField')
EmitSwiftModule normal arm64_32 (in target 'BYCustomTextField' from project 'BYCustomTextField')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/HomeKit-AL28GPK2STWN4OY95OV5F1WQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/MapKit-6CZVQQ2N5DRQ2GI9OBKL8QO44.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/WatchKit-4SKFTPSBU4FVVAC2BRBC26ZNQ.pcm
SwiftExplicitDependencyGeneratePcm armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/WatchKit-3FD8K80EMDF9NJ7QZPCWHCJ23.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/WatchKit-4HCV7IDFBP3TK19VSNISCPBID.pcm
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal armv7k Emitting\ module\ for\ BYCustomTextField (in target 'BYCustomTextField' from project 'BYCustomTextField')
EmitSwiftModule normal armv7k (in target 'BYCustomTextField' from project 'BYCustomTextField')
SwiftEmitModule normal arm64 Emitting\ module\ for\ BYCustomTextField (in target 'BYCustomTextField' from project 'BYCustomTextField')
EmitSwiftModule normal arm64 (in target 'BYCustomTextField' from project 'BYCustomTextField')
Building workspace spi-builder-workspace with scheme BYCustomTextField-Package
(5 failures)
BUILD FAILURE 6.2 watchOS