Build Information
Failed to build BoostedLifecycleMethods, reference 1.2.0 (9e6796), with Swift 6.4 for watchOS using Xcode 27.0 on 25 Sep 2026 12:02:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BoostedLifecycleMethods -destination generic/platform=watchOSBuild Log
SwiftCompile normal arm64_32 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ UIView+findFirstResponder.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:11:81: error: 'UIView' is unavailable in watchOS
9 |
10 | extension UIView {
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
| `- error: 'UIView' is unavailable in watchOS
12 | if onSubview(self, level) {
13 | let level = level + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:22:34: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | func findFirstResponder() -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | var firstResponder: UIView? = nil
24 | iterateSubviews() { subview, level in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
12 | if onSubview(self, level) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+findFirstResponder.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-25 08:02:48.488 xcodebuild[648:4181] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftEmitModule normal arm64 Emitting\ module\ for\ BoostedLifecycleMethods (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BoostedLifecycleMethods (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftCompile normal arm64_32 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
Building workspace BoostedLifecycleMethods with scheme BoostedLifecycleMethods
(5 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
BoostedLifecycleMethods: /Users/admin/builder/spi-builder-workspace
resolved source packages: BoostedLifecycleMethods
2026-09-25 08:02:54.587 xcodebuild[788:4682] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "BoostedLifecycleMethods",
"name" : "BoostedLifecycleMethods",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "BoostedLifecycleMethods",
"targets" : [
"InitializerBLM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InitializerBLM",
"module_type" : "ClangTarget",
"name" : "InitializerBLM",
"path" : "Sources/InitializerBLM",
"product_memberships" : [
"BoostedLifecycleMethods"
],
"sources" : [
"InitializerBLM.m"
],
"target_dependencies" : [
"BoostedLifecycleMethods"
],
"type" : "library"
},
{
"c99name" : "BoostedLifecycleMethods",
"module_type" : "SwiftTarget",
"name" : "BoostedLifecycleMethods",
"path" : "Sources/BoostedLifecycleMethods",
"product_memberships" : [
"BoostedLifecycleMethods"
],
"sources" : [
"AssociatedObject.swift",
"BoostedAlertController.swift",
"BoostedLifeCycleMethodsPublic.swift",
"BoostedLifecycleMethods.swift",
"BoostedPrint.swift",
"UIView+findFirstResponder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "BoostedLifecycleMethods",
"schemes" : [
"BoostedLifecycleMethods"
]
}
}
2026-09-25 08:02:55.785 xcodebuild[796:4755] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BoostedLifecycleMethods -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme BoostedLifecycleMethods -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
BoostedLifecycleMethods: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'BoostedLifecycleMethods-product' in project 'BoostedLifecycleMethods'
➜ Explicit dependency on target 'InitializerBLM' in project 'BoostedLifecycleMethods'
➜ Explicit dependency on target 'BoostedLifecycleMethods' in project 'BoostedLifecycleMethods'
Target 'InitializerBLM' in project 'BoostedLifecycleMethods'
➜ Explicit dependency on target 'BoostedLifecycleMethods' in project 'BoostedLifecycleMethods'
Target 'BoostedLifecycleMethods' in project 'BoostedLifecycleMethods' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver BoostedLifecycleMethods normal arm64 com.apple.xcode.tools.swift.compiler (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name BoostedLifecycleMethods -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64/BoostedLifecycleMethods-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver BoostedLifecycleMethods normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name BoostedLifecycleMethods -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BoostedLifecycleMethods (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:14:30: error: 'UIViewController' is unavailable in watchOS
12 | nonisolated(unsafe) static var key = malloc(1)!
13 |
14 | weak var viewController: UIViewController? { didSet {
| `- error: 'UIViewController' is unavailable in watchOS
15 | if oldValue != viewController,
16 | let pvc = viewController?.presentingViewController?.presentedViewController, // When root vc this returns nil, aka full screen.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:33:30: error: 'UIView' is unavailable in watchOS
31 | var shadowFrame: CGRect = .zero
32 |
33 | weak var firstResponder: UIView?
| `- error: 'UIView' is unavailable in watchOS
34 |
35 | var hasSetObservers = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:54:40: error: 'UIViewController' is unavailable in watchOS
52 | }
53 |
54 | weak var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
55 | weak var presentedViewController: UIViewController?
56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:55:39: error: 'UIViewController' is unavailable in watchOS
53 |
54 | weak var presentingViewController: UIViewController?
55 | weak var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
56 |
57 | var alreadyEnteredBackground = false //prevents double calling on mac
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:72: error: 'UIPresentationController' is unavailable in watchOS
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:10:35: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
8 | import UIKit
9 |
10 | class AssociatedObject: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
11 |
12 | nonisolated(unsafe) static var key = malloc(1)!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:10:18: error: 'UIAlertController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
11 |
12 | /// Tap outside an alert to trigger the cancel button (if there is one).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:63:56: error: 'UIAlertAction' is unavailable in watchOS
61 | }
62 |
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
| `- error: 'UIAlertAction' is unavailable in watchOS
64 |
65 | func triggerAction(_ action: UIAlertAction) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:65:34: error: 'UIAlertAction' is unavailable in watchOS
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
64 |
65 | func triggerAction(_ action: UIAlertAction) {
| `- error: 'UIAlertAction' is unavailable in watchOS
66 | guard let block = action.value(forKey: "handler") else { return }
67 | let handler = unsafeBitCast(block as AnyObject, to: alertActionHandler.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:23:11: error: 'UIAlertController' is unavailable in watchOS
21 | }
22 |
23 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
24 |
25 | func addBackgroundTapRecognizer() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:17:11: warning: 'open' modifier conflicts with extension's default access of 'public'
15 | ///
16 | ///- Warning: Do **NOT** call *viewWillAppear()* or *super.viewWillAppear()* inside this method, this will cause an endless loop.
17 | @objc open func viewWillAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
18 |
19 | ///Works like regular *viewIsAppearing()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:25:11: warning: 'open' modifier conflicts with extension's default access of 'public'
23 | ///- Warning: Do **NOT** call *viewIsAppearing()* or *super.viewIsAppearing()* inside this method, this will cause an endless loop.
24 | @available(iOS 13, tvOS 13, *)
25 | @objc open func viewIsAppearing🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
26 |
27 | ///Works like regular *viewDidAppear()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:32:11: warning: 'open' modifier conflicts with extension's default access of 'public'
30 | ///
31 | ///- Warning: Do **NOT** call *viewDidAppear()* or *super.viewDidAppear()* inside this method, this will cause an endless loop.
32 | @objc open func viewDidAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
33 |
34 | ///Works like regular *viewWillDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:39:11: warning: 'open' modifier conflicts with extension's default access of 'public'
37 | ///
38 | ///- Warning: Do **NOT** call *viewWillDisappear()* or *super.viewWillDisappear()* inside this method, this will cause an endless loop.
39 | @objc open func viewWillDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
40 |
41 | ///Works like regular *viewDidDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:46:11: warning: 'open' modifier conflicts with extension's default access of 'public'
44 | ///
45 | ///- Warning: Do **NOT** call *viewDidDisappear)* or *super.viewDidDisappear* inside this method, this will cause an endless loop.
46 | @objc open func viewDidDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
47 |
48 | /// This is called automatically on startup to initialize the boosted lifecycle methods. There is no need to call this manually yourself (but won't hurt either).
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:10:18: error: 'UIViewController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
11 |
12 | ///Works like regular *viewWillAppear()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:13:37: error: 'UIViewController' is unavailable in watchOS
11 | static let actuallySwizzleLifecycleMethods: Void = {
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
| `- error: 'UIViewController' is unavailable in watchOS
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
15 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
| `- error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:17:37: error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
19 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:18:37: error: 'UIViewController' is unavailable in watchOS
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
19 | )
20 | if #available(iOS 13, tvOS 13, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:41: error: 'UIViewController' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:74: error: 'viewIsAppearing' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'viewIsAppearing' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:184:1: note: 'viewIsAppearing' has been explicitly marked unavailable here
182 | /// Choose this method instead of -viewWillAppear: by default, as it is a direct replacement
183 | /// that provides equivalent or superior behavior in nearly all cases.
184 | - (void)viewIsAppearing:(BOOL)animated API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewIsAppearing' has been explicitly marked unavailable here
185 | /// Called after the view has fully transitioned to visible, when any transition animations have completed.
186 | - (void)viewDidAppear:(BOOL)animated;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:23:41: error: 'UIViewController' is unavailable in watchOS
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
24 | )
25 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:27:37: error: 'UIViewController' is unavailable in watchOS
25 | }
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
29 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:28:37: error: 'UIViewController' is unavailable in watchOS
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:31:37: error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
33 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:32:37: error: 'UIViewController' is unavailable in watchOS
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:35:37: error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
37 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:36:37: error: 'UIViewController' is unavailable in watchOS
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
37 | )
38 | Swift.print("Boosted lifecycle methods enabled. Add 'import BoostedLifecycleMethods' so you can override viewWillAppear🚀(), viewIsAppearing🚀(), viewDidAppear🚀(), viewWillDisappear🚀() and viewDidDisappear🚀() inside your ViewControllers.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:282:21: error: 'UIViewController' is unavailable in watchOS
280 | }
281 |
282 | var rootParent: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
283 | parent?.rootParent ?? self
284 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:9:11: error: 'UIViewController' is unavailable in watchOS
7 | import UIKit
8 |
9 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
10 |
11 | static let actuallySwizzleLifecycleMethods: Void = {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:11:81: error: 'UIView' is unavailable in watchOS
9 |
10 | extension UIView {
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
| `- error: 'UIView' is unavailable in watchOS
12 | if onSubview(self, level) {
13 | let level = level + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:22:34: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | func findFirstResponder() -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | var firstResponder: UIView? = nil
24 | iterateSubviews() { subview, level in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
12 | if onSubview(self, level) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedPrint.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BoostedLifecycleMethods -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BoostedLifecycleMethods.build/Debug-watchos/BoostedLifecycleMethods-t.build/Objects-normal/arm64_32/BoostedLifecycleMethods.abi.json
SwiftCompile normal arm64_32 Compiling\ BoostedLifeCycleMethodsPublic.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedLifeCycleMethodsPublic.swift
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:17:11: warning: 'open' modifier conflicts with extension's default access of 'public'
15 | ///
16 | ///- Warning: Do **NOT** call *viewWillAppear()* or *super.viewWillAppear()* inside this method, this will cause an endless loop.
17 | @objc open func viewWillAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
18 |
19 | ///Works like regular *viewIsAppearing()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:25:11: warning: 'open' modifier conflicts with extension's default access of 'public'
23 | ///- Warning: Do **NOT** call *viewIsAppearing()* or *super.viewIsAppearing()* inside this method, this will cause an endless loop.
24 | @available(iOS 13, tvOS 13, *)
25 | @objc open func viewIsAppearing🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
26 |
27 | ///Works like regular *viewDidAppear()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:32:11: warning: 'open' modifier conflicts with extension's default access of 'public'
30 | ///
31 | ///- Warning: Do **NOT** call *viewDidAppear()* or *super.viewDidAppear()* inside this method, this will cause an endless loop.
32 | @objc open func viewDidAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
33 |
34 | ///Works like regular *viewWillDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:39:11: warning: 'open' modifier conflicts with extension's default access of 'public'
37 | ///
38 | ///- Warning: Do **NOT** call *viewWillDisappear()* or *super.viewWillDisappear()* inside this method, this will cause an endless loop.
39 | @objc open func viewWillDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
40 |
41 | ///Works like regular *viewDidDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:46:11: warning: 'open' modifier conflicts with extension's default access of 'public'
44 | ///
45 | ///- Warning: Do **NOT** call *viewDidDisappear)* or *super.viewDidDisappear* inside this method, this will cause an endless loop.
46 | @objc open func viewDidDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
47 |
48 | /// This is called automatically on startup to initialize the boosted lifecycle methods. There is no need to call this manually yourself (but won't hurt either).
SwiftCompile normal arm64_32 Compiling\ AssociatedObject.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:14:30: error: 'UIViewController' is unavailable in watchOS
12 | nonisolated(unsafe) static var key = malloc(1)!
13 |
14 | weak var viewController: UIViewController? { didSet {
| `- error: 'UIViewController' is unavailable in watchOS
15 | if oldValue != viewController,
16 | let pvc = viewController?.presentingViewController?.presentedViewController, // When root vc this returns nil, aka full screen.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:33:30: error: 'UIView' is unavailable in watchOS
31 | var shadowFrame: CGRect = .zero
32 |
33 | weak var firstResponder: UIView?
| `- error: 'UIView' is unavailable in watchOS
34 |
35 | var hasSetObservers = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:54:40: error: 'UIViewController' is unavailable in watchOS
52 | }
53 |
54 | weak var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
55 | weak var presentedViewController: UIViewController?
56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:55:39: error: 'UIViewController' is unavailable in watchOS
53 |
54 | weak var presentingViewController: UIViewController?
55 | weak var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
56 |
57 | var alreadyEnteredBackground = false //prevents double calling on mac
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:72: error: 'UIPresentationController' is unavailable in watchOS
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:10:35: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
8 | import UIKit
9 |
10 | class AssociatedObject: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
11 |
12 | nonisolated(unsafe) static var key = malloc(1)!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:41:111: error: 'UIScene' is unavailable in watchOS
39 | DispatchQueue.main.async() { [self] in
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:41:119: error: 'willEnterForegroundNotification' is unavailable in watchOS
39 | DispatchQueue.main.async() { [self] in
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
| `- error: 'willEnterForegroundNotification' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:110:39: note: 'willEnterForegroundNotification' has been explicitly marked unavailable here
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willEnterForegroundNotification' has been explicitly marked unavailable here
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
112 |
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:42:111: error: 'UIScene' is unavailable in watchOS
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:42:119: error: 'didActivateNotification' is unavailable in watchOS
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
| `- error: 'didActivateNotification' is unavailable in watchOS
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:108:39: note: 'didActivateNotification' has been explicitly marked unavailable here
106 | UIKIT_EXTERN NSNotificationName const UISceneWillConnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didActivateNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:43:111: error: 'UIScene' is unavailable in watchOS
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
45 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:43:119: error: 'willDeactivateNotification' is unavailable in watchOS
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'willDeactivateNotification' is unavailable in watchOS
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
45 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:109:39: note: 'willDeactivateNotification' has been explicitly marked unavailable here
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willDeactivateNotification' has been explicitly marked unavailable here
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:44:111: error: 'UIScene' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
45 | } else {
46 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIApplication.willEnterForegroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:44:119: error: 'didEnterBackgroundNotification' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
| `- error: 'didEnterBackgroundNotification' is unavailable in watchOS
45 | } else {
46 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIApplication.willEnterForegroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:111:39: note: 'didEnterBackgroundNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didEnterBackgroundNotification' has been explicitly marked unavailable here
112 |
113 | #pragma mark - Session Roles
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AssociatedObject.swift
SwiftCompile normal arm64_32 Compiling\ BoostedAlertController.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedAlertController.swift
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:10:18: error: 'UIAlertController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
11 |
12 | /// Tap outside an alert to trigger the cancel button (if there is one).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:63:56: error: 'UIAlertAction' is unavailable in watchOS
61 | }
62 |
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
| `- error: 'UIAlertAction' is unavailable in watchOS
64 |
65 | func triggerAction(_ action: UIAlertAction) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:65:34: error: 'UIAlertAction' is unavailable in watchOS
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
64 |
65 | func triggerAction(_ action: UIAlertAction) {
| `- error: 'UIAlertAction' is unavailable in watchOS
66 | guard let block = action.value(forKey: "handler") else { return }
67 | let handler = unsafeBitCast(block as AnyObject, to: alertActionHandler.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:23:11: error: 'UIAlertController' is unavailable in watchOS
21 | }
22 |
23 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
24 |
25 | func addBackgroundTapRecognizer() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
SwiftCompile normal arm64_32 Compiling\ BoostedPrint.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedPrint.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedPrint.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedPrint.swift
SwiftCompile normal arm64_32 Compiling\ UIView+findFirstResponder.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:11:81: error: 'UIView' is unavailable in watchOS
9 |
10 | extension UIView {
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
| `- error: 'UIView' is unavailable in watchOS
12 | if onSubview(self, level) {
13 | let level = level + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:22:34: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | func findFirstResponder() -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | var firstResponder: UIView? = nil
24 | iterateSubviews() { subview, level in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
12 | if onSubview(self, level) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+findFirstResponder.swift
SwiftCompile normal arm64_32 Compiling\ BoostedLifecycleMethods.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:13:37: error: 'UIViewController' is unavailable in watchOS
11 | static let actuallySwizzleLifecycleMethods: Void = {
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
| `- error: 'UIViewController' is unavailable in watchOS
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
15 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
| `- error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:17:37: error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
19 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:18:37: error: 'UIViewController' is unavailable in watchOS
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
19 | )
20 | if #available(iOS 13, tvOS 13, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:41: error: 'UIViewController' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:74: error: 'viewIsAppearing' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'viewIsAppearing' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:184:1: note: 'viewIsAppearing' has been explicitly marked unavailable here
182 | /// Choose this method instead of -viewWillAppear: by default, as it is a direct replacement
183 | /// that provides equivalent or superior behavior in nearly all cases.
184 | - (void)viewIsAppearing:(BOOL)animated API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewIsAppearing' has been explicitly marked unavailable here
185 | /// Called after the view has fully transitioned to visible, when any transition animations have completed.
186 | - (void)viewDidAppear:(BOOL)animated;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:23:41: error: 'UIViewController' is unavailable in watchOS
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
24 | )
25 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:27:37: error: 'UIViewController' is unavailable in watchOS
25 | }
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
29 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:28:37: error: 'UIViewController' is unavailable in watchOS
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:31:37: error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
33 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:32:37: error: 'UIViewController' is unavailable in watchOS
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:35:37: error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
37 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:36:37: error: 'UIViewController' is unavailable in watchOS
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
37 | )
38 | Swift.print("Boosted lifecycle methods enabled. Add 'import BoostedLifecycleMethods' so you can override viewWillAppear🚀(), viewIsAppearing🚀(), viewDidAppear🚀(), viewWillDisappear🚀() and viewDidDisappear🚀() inside your ViewControllers.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:282:21: error: 'UIViewController' is unavailable in watchOS
280 | }
281 |
282 | var rootParent: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
283 | parent?.rootParent ?? self
284 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:9:11: error: 'UIViewController' is unavailable in watchOS
7 | import UIKit
8 |
9 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
10 |
11 | static let actuallySwizzleLifecycleMethods: Void = {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:68:19: error: 'UIAlertController' is unavailable in watchOS
66 | doViewWillAppear(animated)
67 |
68 | (self as? UIAlertController)?.addBackgroundTapRecognizer()
| `- error: 'UIAlertController' is unavailable in watchOS
69 | }
70 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:93:17: error: 'UIView' is unavailable in watchOS
91 | modalPresentationStyle != .fullScreen {
92 | DispatchQueue.main.async() {
93 | UIView.animate(withDuration: 0.3, delay: 0, options: UIView.AnimationOptions.curveEaseOut, animations: {
| `- error: 'UIView' is unavailable in watchOS
94 | rootParent.view.tintAdjustmentMode = .dimmed
95 | })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedLifecycleMethods.swift
SwiftCompile normal arm64 Compiling\ BoostedAlertController.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:10:18: error: 'UIAlertController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
11 |
12 | /// Tap outside an alert to trigger the cancel button (if there is one).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:63:56: error: 'UIAlertAction' is unavailable in watchOS
61 | }
62 |
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
| `- error: 'UIAlertAction' is unavailable in watchOS
64 |
65 | func triggerAction(_ action: UIAlertAction) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:65:34: error: 'UIAlertAction' is unavailable in watchOS
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
64 |
65 | func triggerAction(_ action: UIAlertAction) {
| `- error: 'UIAlertAction' is unavailable in watchOS
66 | guard let block = action.value(forKey: "handler") else { return }
67 | let handler = unsafeBitCast(block as AnyObject, to: alertActionHandler.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:23:11: error: 'UIAlertController' is unavailable in watchOS
21 | }
22 |
23 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
24 |
25 | func addBackgroundTapRecognizer() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedAlertController.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ BoostedLifecycleMethods (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:14:30: error: 'UIViewController' is unavailable in watchOS
12 | nonisolated(unsafe) static var key = malloc(1)!
13 |
14 | weak var viewController: UIViewController? { didSet {
| `- error: 'UIViewController' is unavailable in watchOS
15 | if oldValue != viewController,
16 | let pvc = viewController?.presentingViewController?.presentedViewController, // When root vc this returns nil, aka full screen.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:33:30: error: 'UIView' is unavailable in watchOS
31 | var shadowFrame: CGRect = .zero
32 |
33 | weak var firstResponder: UIView?
| `- error: 'UIView' is unavailable in watchOS
34 |
35 | var hasSetObservers = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:54:40: error: 'UIViewController' is unavailable in watchOS
52 | }
53 |
54 | weak var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
55 | weak var presentedViewController: UIViewController?
56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:55:39: error: 'UIViewController' is unavailable in watchOS
53 |
54 | weak var presentingViewController: UIViewController?
55 | weak var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
56 |
57 | var alreadyEnteredBackground = false //prevents double calling on mac
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:72: error: 'UIPresentationController' is unavailable in watchOS
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:10:35: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
8 | import UIKit
9 |
10 | class AssociatedObject: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
11 |
12 | nonisolated(unsafe) static var key = malloc(1)!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:10:18: error: 'UIAlertController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
11 |
12 | /// Tap outside an alert to trigger the cancel button (if there is one).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:63:56: error: 'UIAlertAction' is unavailable in watchOS
61 | }
62 |
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
| `- error: 'UIAlertAction' is unavailable in watchOS
64 |
65 | func triggerAction(_ action: UIAlertAction) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:65:34: error: 'UIAlertAction' is unavailable in watchOS
63 | typealias alertActionHandler = @convention(block) (UIAlertAction) -> Void
64 |
65 | func triggerAction(_ action: UIAlertAction) {
| `- error: 'UIAlertAction' is unavailable in watchOS
66 | guard let block = action.value(forKey: "handler") else { return }
67 | let handler = unsafeBitCast(block as AnyObject, to: alertActionHandler.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
| `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedAlertController.swift:23:11: error: 'UIAlertController' is unavailable in watchOS
21 | }
22 |
23 | extension UIAlertController {
| `- error: 'UIAlertController' is unavailable in watchOS
24 |
25 | func addBackgroundTapRecognizer() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
| `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:17:11: warning: 'open' modifier conflicts with extension's default access of 'public'
15 | ///
16 | ///- Warning: Do **NOT** call *viewWillAppear()* or *super.viewWillAppear()* inside this method, this will cause an endless loop.
17 | @objc open func viewWillAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
18 |
19 | ///Works like regular *viewIsAppearing()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:25:11: warning: 'open' modifier conflicts with extension's default access of 'public'
23 | ///- Warning: Do **NOT** call *viewIsAppearing()* or *super.viewIsAppearing()* inside this method, this will cause an endless loop.
24 | @available(iOS 13, tvOS 13, *)
25 | @objc open func viewIsAppearing🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
26 |
27 | ///Works like regular *viewDidAppear()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:32:11: warning: 'open' modifier conflicts with extension's default access of 'public'
30 | ///
31 | ///- Warning: Do **NOT** call *viewDidAppear()* or *super.viewDidAppear()* inside this method, this will cause an endless loop.
32 | @objc open func viewDidAppear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
33 |
34 | ///Works like regular *viewWillDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:39:11: warning: 'open' modifier conflicts with extension's default access of 'public'
37 | ///
38 | ///- Warning: Do **NOT** call *viewWillDisappear()* or *super.viewWillDisappear()* inside this method, this will cause an endless loop.
39 | @objc open func viewWillDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
40 |
41 | ///Works like regular *viewDidDisappear()*, but this one also gets called when opening a non-fullscreen modal (e.g. pagesheet) and when app goes to background.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:46:11: warning: 'open' modifier conflicts with extension's default access of 'public'
44 | ///
45 | ///- Warning: Do **NOT** call *viewDidDisappear)* or *super.viewDidDisappear* inside this method, this will cause an endless loop.
46 | @objc open func viewDidDisappear🚀(_ animated: Bool) {}
| `- warning: 'open' modifier conflicts with extension's default access of 'public'
47 |
48 | /// This is called automatically on startup to initialize the boosted lifecycle methods. There is no need to call this manually yourself (but won't hurt either).
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifeCycleMethodsPublic.swift:10:18: error: 'UIViewController' is unavailable in watchOS
8 | import UIKit
9 |
10 | public extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
11 |
12 | ///Works like regular *viewWillAppear()*, but this one also gets called when closing a non-fullscreen modal (e.g. pagesheet) and when app returns to foreground.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:13:37: error: 'UIViewController' is unavailable in watchOS
11 | static let actuallySwizzleLifecycleMethods: Void = {
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
| `- error: 'UIViewController' is unavailable in watchOS
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
15 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | method_exchangeImplementations(
13 | class_getInstanceMethod(UIViewController.self, #selector(viewDidLoad))!,
14 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewDidLoad))!
| `- error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:17:37: error: 'UIViewController' is unavailable in watchOS
15 | )
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
19 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:18:37: error: 'UIViewController' is unavailable in watchOS
16 | method_exchangeImplementations(
17 | class_getInstanceMethod(UIViewController.self, #selector(viewWillAppear(_:)))!,
18 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewWillAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
19 | )
20 | if #available(iOS 13, tvOS 13, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:41: error: 'UIViewController' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:22:74: error: 'viewIsAppearing' is unavailable in watchOS
20 | if #available(iOS 13, tvOS 13, *) {
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
| `- error: 'viewIsAppearing' is unavailable in watchOS
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
24 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:184:1: note: 'viewIsAppearing' has been explicitly marked unavailable here
182 | /// Choose this method instead of -viewWillAppear: by default, as it is a direct replacement
183 | /// that provides equivalent or superior behavior in nearly all cases.
184 | - (void)viewIsAppearing:(BOOL)animated API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewIsAppearing' has been explicitly marked unavailable here
185 | /// Called after the view has fully transitioned to visible, when any transition animations have completed.
186 | - (void)viewDidAppear:(BOOL)animated;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:23:41: error: 'UIViewController' is unavailable in watchOS
21 | method_exchangeImplementations(
22 | class_getInstanceMethod(UIViewController.self, #selector(viewIsAppearing(_:)))!,
23 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewIsAppearing(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
24 | )
25 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:27:37: error: 'UIViewController' is unavailable in watchOS
25 | }
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
29 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:28:37: error: 'UIViewController' is unavailable in watchOS
26 | method_exchangeImplementations(
27 | class_getInstanceMethod(UIViewController.self, #selector(viewDidAppear(_:)))!,
28 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidAppear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:31:37: error: 'UIViewController' is unavailable in watchOS
29 | )
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
33 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:32:37: error: 'UIViewController' is unavailable in watchOS
30 | method_exchangeImplementations(
31 | class_getInstanceMethod(UIViewController.self, #selector(viewWillDisappear(_:)))!,
32 | class_getInstanceMethod(UIViewController.self, #selector(swizzledViewWillDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:35:37: error: 'UIViewController' is unavailable in watchOS
33 | )
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
| `- error: 'UIViewController' is unavailable in watchOS
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
37 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:36:37: error: 'UIViewController' is unavailable in watchOS
34 | method_exchangeImplementations(
35 | class_getInstanceMethod(UIViewController.self, #selector(viewDidDisappear(_:)))!,
36 | class_getInstanceMethod(UIViewController.self, #selector(swizzleViewDidDisappear(_:)))!
| `- error: 'UIViewController' is unavailable in watchOS
37 | )
38 | Swift.print("Boosted lifecycle methods enabled. Add 'import BoostedLifecycleMethods' so you can override viewWillAppear🚀(), viewIsAppearing🚀(), viewDidAppear🚀(), viewWillDisappear🚀() and viewDidDisappear🚀() inside your ViewControllers.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:282:21: error: 'UIViewController' is unavailable in watchOS
280 | }
281 |
282 | var rootParent: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
283 | parent?.rootParent ?? self
284 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedLifecycleMethods.swift:9:11: error: 'UIViewController' is unavailable in watchOS
7 | import UIKit
8 |
9 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
10 |
11 | static let actuallySwizzleLifecycleMethods: Void = {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:11:81: error: 'UIView' is unavailable in watchOS
9 |
10 | extension UIView {
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
| `- error: 'UIView' is unavailable in watchOS
12 | if onSubview(self, level) {
13 | let level = level + 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:22:34: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | func findFirstResponder() -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
23 | var firstResponder: UIView? = nil
24 | iterateSubviews() { subview, level in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/UIView+findFirstResponder.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | func iterateSubviews(maxLevel:UInt = UInt.max, level: UInt = 0, onSubview: (UIView, UInt)->(Bool)) {
12 | if onSubview(self, level) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AssociatedObject.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:14:30: error: 'UIViewController' is unavailable in watchOS
12 | nonisolated(unsafe) static var key = malloc(1)!
13 |
14 | weak var viewController: UIViewController? { didSet {
| `- error: 'UIViewController' is unavailable in watchOS
15 | if oldValue != viewController,
16 | let pvc = viewController?.presentingViewController?.presentedViewController, // When root vc this returns nil, aka full screen.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:33:30: error: 'UIView' is unavailable in watchOS
31 | var shadowFrame: CGRect = .zero
32 |
33 | weak var firstResponder: UIView?
| `- error: 'UIView' is unavailable in watchOS
34 |
35 | var hasSetObservers = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:54:40: error: 'UIViewController' is unavailable in watchOS
52 | }
53 |
54 | weak var presentingViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
55 | weak var presentedViewController: UIViewController?
56 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:55:39: error: 'UIViewController' is unavailable in watchOS
53 |
54 | weak var presentingViewController: UIViewController?
55 | weak var presentedViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
56 |
57 | var alreadyEnteredBackground = false //prevents double calling on mac
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:72: error: 'UIPresentationController' is unavailable in watchOS
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:10:35: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
8 | import UIKit
9 |
10 | class AssociatedObject: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
11 |
12 | nonisolated(unsafe) static var key = malloc(1)!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:108:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
106 | }
107 |
108 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
109 | if #available(iOS 13.0, *),
110 | !ProcessInfo.processInfo.isMacCatalystApp,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:41:111: error: 'UIScene' is unavailable in watchOS
39 | DispatchQueue.main.async() { [self] in
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:41:119: error: 'willEnterForegroundNotification' is unavailable in watchOS
39 | DispatchQueue.main.async() { [self] in
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
| `- error: 'willEnterForegroundNotification' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:110:39: note: 'willEnterForegroundNotification' has been explicitly marked unavailable here
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willEnterForegroundNotification' has been explicitly marked unavailable here
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
112 |
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:42:111: error: 'UIScene' is unavailable in watchOS
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:42:119: error: 'didActivateNotification' is unavailable in watchOS
40 | if #available(iOS 13, tvOS 13, *) {
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
| `- error: 'didActivateNotification' is unavailable in watchOS
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:108:39: note: 'didActivateNotification' has been explicitly marked unavailable here
106 | UIKIT_EXTERN NSNotificationName const UISceneWillConnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didActivateNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:43:111: error: 'UIScene' is unavailable in watchOS
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
45 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:43:119: error: 'willDeactivateNotification' is unavailable in watchOS
41 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIScene.willEnterForegroundNotification, object: nil)
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'willDeactivateNotification' is unavailable in watchOS
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
45 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:109:39: note: 'willDeactivateNotification' has been explicitly marked unavailable here
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willDeactivateNotification' has been explicitly marked unavailable here
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:44:111: error: 'UIScene' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
45 | } else {
46 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIApplication.willEnterForegroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift:44:119: error: 'didEnterBackgroundNotification' is unavailable in watchOS
42 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterForeground), name: UIScene.didActivateNotification, object: nil)
43 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterBackground), name: UIScene.willDeactivateNotification, object: nil)
44 | NotificationCenter.default.addObserver(self, selector: #selector(didEnterBackground), name: UIScene.didEnterBackgroundNotification, object: nil)
| `- error: 'didEnterBackgroundNotification' is unavailable in watchOS
45 | } else {
46 | NotificationCenter.default.addObserver(self, selector: #selector(willEnterForeground), name: UIApplication.willEnterForegroundNotification, object: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:111:39: note: 'didEnterBackgroundNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didEnterBackgroundNotification' has been explicitly marked unavailable here
112 |
113 | #pragma mark - Session Roles
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/AssociatedObject.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AssociatedObject.swift
SwiftCompile normal arm64 Compiling\ BoostedPrint.swift /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedPrint.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/BoostedLifecycleMethods/BoostedPrint.swift (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BoostedPrint.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-25 08:02:56.731 xcodebuild[797:4778] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ BoostedLifecycleMethods (in target 'BoostedLifecycleMethods' from project 'BoostedLifecycleMethods')
Building workspace BoostedLifecycleMethods with scheme BoostedLifecycleMethods
(3 failures)
BUILD FAILURE 6.4 watchOS