Build Information
Failed to build AEPNotificationContent, reference main (369e18), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Sep 2026 20:09:54 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 AEPNotificationContent -destination generic/platform=watchOSBuild Log
}
{
"workspace" : {
"name" : "AEPNotificationContent",
"schemes" : [
"AEPNotificationContent"
]
}
}
2026-09-20 16:09:51.984 xcodebuild[799:4876] [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 AEPNotificationContent -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 AEPNotificationContent -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
AEPNotificationContent: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'AEPNotificationContent-product' in project 'AEPNotificationContent'
➜ Explicit dependency on target 'AEPNotificationContent' in project 'AEPNotificationContent'
Target 'AEPNotificationContent' in project 'AEPNotificationContent' (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 AEPNotificationContent normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
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 AEPNotificationContent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent_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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver AEPNotificationContent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
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 AEPNotificationContent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent_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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CarouselTemplateController.swift,\ FallbackTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:52:31: error: 'UIButton' is unavailable in watchOS
50 | }()
51 |
52 | lazy var leftArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
53 | let button = UIButton(type: .system)
54 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:53:22: error: 'UIButton' is unavailable in watchOS
51 |
52 | lazy var leftArrowButton: UIButton = {
53 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
54 | if #available(iOS 13.0, *) {
55 | button.setImage(UIImage(systemName: "chevron.backward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:68:32: error: 'UIButton' is unavailable in watchOS
66 | }()
67 |
68 | lazy var rightArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
69 | let button = UIButton(type: .system)
70 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:69:22: error: 'UIButton' is unavailable in watchOS
67 |
68 | lazy var rightArrowButton: UIButton = {
69 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
70 | if #available(iOS 13.0, *) {
71 | button.setImage(UIImage(systemName: "chevron.forward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:84:27: error: 'UIPageControl' is unavailable in watchOS
82 | }()
83 |
84 | lazy var pageControl: UIPageControl = {
| `- error: 'UIPageControl' is unavailable in watchOS
85 | let pageControl = UIPageControl()
86 | pageControl.translatesAutoresizingMaskIntoConstraints = 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/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'UIPageControl' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'UIPageControl' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'init()' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'init()' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:90:26: error: 'UIScrollView' is unavailable in watchOS
88 | }()
89 |
90 | lazy var scrollView: UIScrollView = {
| `- error: 'UIScrollView' is unavailable in watchOS
91 | let scrollView = UIScrollView()
92 | scrollView.isPagingEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'UIScrollView' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CarouselTemplateController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FallbackTemplateController.swift
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'init()' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:234:44: error: 'UIScrollView' is unavailable in watchOS
232 | // MARK: - ScrollView Delegate Method
233 |
234 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
235 | let pageIndex = Int(round(scrollView.contentOffset.x / view.frame.width))
236 | pageControl.currentPage = pageIndex
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:259:45: error: 'UIPageControl' is unavailable in watchOS
257 | }
258 |
259 | @objc func pageControlChanged(_ sender: UIPageControl) {
| `- error: 'UIPageControl' is unavailable in watchOS
260 | let x = CGFloat(sender.currentPage) * scrollView.frame.size.width
261 | scrollView.setContentOffset(CGPoint(x: x, y: 0), animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:17:55: error: 'UIScrollViewDelegate' is unavailable in watchOS
15 |
16 | // ViewController for Carousel Template
17 | class CarouselTemplateController: TemplateController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
18 | // MARK: - Dimension Constants
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/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:175:9: error: 'NSLayoutConstraint' is unavailable in watchOS
173 | private func setupScrollView() {
174 | view.addSubview(scrollView)
175 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
176 | scrollView.topAnchor.constraint(equalTo: view.topAnchor),
177 | scrollView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:184:29: error: 'UIImageView' is unavailable in watchOS
182 | // Add images to the scroll view
183 | for (index, item) in payload.carouselItems.enumerated() {
184 | let imageView = UIImageView(image: item.image)
| `- error: 'UIImageView' is unavailable in watchOS
185 | imageView.contentMode = .scaleAspectFit
186 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:202:9: error: 'NSLayoutConstraint' is unavailable in watchOS
200 | view.addSubview(pageControl)
201 |
202 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
203 | pageControl.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor),
204 | pageControl.leadingAnchor.constraint(equalTo: view.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:224:9: error: 'NSLayoutConstraint' is unavailable in watchOS
222 | titleBodyView.changeColor(from: payload)
223 | view.addSubview(titleBodyView)
224 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
225 | titleBodyView.topAnchor.constraint(equalTo: scrollView.bottomAnchor, constant: TOP_MARGIN),
226 | titleBodyView.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: SIDE_MARGIN),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 Compiling\ String+LabelHeight.swift,\ UIColor+HexString.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/String+LabelHeight.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift:65:21: error: 'systemBackground' is unavailable in watchOS
63 | static var defaultBackground: UIColor {
64 | if #available(iOS 13.0, *) {
65 | return .systemBackground
| `- error: 'systemBackground' is unavailable in watchOS
66 | } else {
67 | return .white
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift:76:21: error: 'label' is unavailable in watchOS
74 | static var defaultTitle: UIColor {
75 | if #available(iOS 13.0, *) {
76 | return .label
| `- error: 'label' is unavailable in watchOS
77 | } else {
78 | return .black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/String+LabelHeight.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+LabelHeight.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+HexString.swift
SwiftCompile normal arm64 Compiling\ TemplateController.swift,\ TimerTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:26:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
24 | // MARK: - UI Elements
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'init()' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:29:39: error: 'medium' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
| `- error: 'medium' is unavailable in watchOS
30 | } else {
31 | loadingIndicator.style = .white
UIKit.UIActivityIndicatorView.Style.medium:4:10: note: 'medium' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case medium }
| `- note: 'medium' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:31:39: error: 'white' is unavailable in watchOS
29 | loadingIndicator.style = .medium
30 | } else {
31 | loadingIndicator.style = .white
| `- error: 'white' is unavailable in watchOS
32 | }
33 | loadingIndicator.color = .defaultTitle
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:45:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | var tapRecognizer: UITapGestureRecognizer?
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
46 |
47 | let delegate: TemplateControllerDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:18:27: error: 'UIViewController' is unavailable in watchOS
16 | // Base class for all template controllers
17 | // This class provides all the common methods and properties that are required by all the template controllers
18 | class TemplateController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
19 | // MARK: - Margin constants
20 |
/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/AEPNotificationContent/Sources/Controllers/TemplateController.swift:63:25: error: 'UITapGestureRecognizer' is unavailable in watchOS
61 | func activateTapGesture() {
62 | guard tapRecognizer == nil else { return }
63 | tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(self.tapped))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
64 | view.addGestureRecognizer(tapRecognizer!)
65 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:22:29: error: 'UILabel' is unavailable in watchOS
20 | private var countdownTimer: Timer?
21 |
22 | private let timerLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
23 | let label = UILabel()
24 | label.textAlignment = .center
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'UILabel' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'init()' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:45:28: error: 'UIImageView' is unavailable in watchOS
43 | }()
44 |
45 | private let imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
46 | let view = UIImageView()
47 | view.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'UIImageView' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'init()' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'init()' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:94:13: error: 'NSLayoutConstraint' is unavailable in watchOS
92 | /// This is to maintain the recommended aspect ratio of 2:1
93 | imageViewHeight = (view.frame.width / 2)
94 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
95 | imageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor),
96 | imageView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:95:62: error: 'safeAreaLayoutGuide' is unavailable in watchOS
93 | imageViewHeight = (view.frame.width / 2)
94 | NSLayoutConstraint.activate([
95 | imageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor),
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
96 | imageView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
97 | imageView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:103:82: error: 'safeAreaLayoutGuide' is unavailable in watchOS
101 |
102 | // Update constraints for titleBodyView based on whether or not the imageView exists
103 | let imageViewBottomAnchor = image != nil ? imageView.bottomAnchor : view.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
104 | var titleViewTrailingAnchor = view.trailingAnchor
105 | var titleBodyViewWidth = view.frame.width - (2 * SIDE_MARGIN)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:110:13: error: 'NSLayoutConstraint' is unavailable in watchOS
108 | view.addSubview(timerLabel)
109 | timerLabel.textColor = payload.timerColor
110 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
111 | timerLabel.topAnchor.constraint(equalTo: imageViewBottomAnchor, constant: TOP_MARGIN),
112 | timerLabel.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -SIDE_MARGIN),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TemplateController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimerTemplateController.swift
SwiftCompile normal arm64 Compiling\ AEPNotificationViewController.swift,\ Constants.swift,\ BasicTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Constants.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:54:87: error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
52 | }
53 |
54 | public func didReceive(_: UNNotificationResponse, completionHandler _: @escaping (UNNotificationContentExtensionResponseOption) -> Void) {}
| `- error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
55 |
56 | // MARK: - UIViewController delegate methods
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:45:29: note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
43 |
44 | /// Constants indicating the preferred response to a notification.
45 | typedef NS_ENUM(NSUInteger, UNNotificationContentExtensionResponseOption) {
| `- note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
46 | /// Don't dismiss the notification interface.
47 | ///
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:65:90: error: 'UIContentContainer' is unavailable in watchOS
63 |
64 | /// Called when the preferred content size of one of the view controller's child content containers changes
65 | override open func preferredContentSizeDidChange(forChildContentContainer container: UIContentContainer) {
| `- error: 'UIContentContainer' is unavailable in watchOS
66 | preferredContentSize.height = container.preferredContentSize.height
67 | }
/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:64:11: note: 'UIContentContainer' has been explicitly marked unavailable here
62 |
63 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UIContentContainer <NSObject>
| `- note: 'UIContentContainer' has been explicitly marked unavailable here
65 |
66 | @property (nonatomic, readonly) CGSize preferredContentSize API_AVAILABLE(ios(8.0));
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:111:39: error: 'UIViewController' is unavailable in watchOS
109 |
110 | // Use this method to get the instance of the parent view controller
111 | func getParentViewController() -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
112 | self
113 | }
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:43: error: 'UIViewController' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
18 | open var notification: UNNotification?
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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:61: error: 'UNNotificationContentExtension' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UNNotificationContentExtension' is unavailable in watchOS
18 | open var notification: UNNotification?
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:110:11: note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
108 | /// For information about how to implement your notification content app
109 | /// extension, see <doc:customizing-the-appearance-of-notifications>.
110 | @protocol UNNotificationContentExtension <NSObject>
| `- note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
111 |
112 | /// Delivers a new notification to your notification content app extension.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:37:25: error: 'UIViewController' is unavailable in watchOS
35 |
36 | /// Create a controller based on the template type
37 | let controller: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
38 | switch payload {
39 | case let basicPayload as BasicPayload:
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:120:31: error: 'performNotificationDefaultAction()' is unavailable in watchOS
118 | /// The default action is to open the app
119 | guard let urlString = urlString, let url = URL(string: urlString) else {
120 | extensionContext?.performNotificationDefaultAction()
| `- error: 'performNotificationDefaultAction()' is unavailable in watchOS
121 | removeNotificationFromCenter()
122 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:226:1: note: 'performNotificationDefaultAction()' has been explicitly marked unavailable here
224 |
225 | // Opens the corresponding applicaton and delivers it the default notification action response
226 | - (void)performNotificationDefaultAction API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
| `- note: 'performNotificationDefaultAction()' has been explicitly marked unavailable here
227 |
228 | - (void)dismissNotificationContentExtension API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:129:35: error: 'performNotificationDefaultAction()' is unavailable in watchOS
127 | /// If the url failed to open, perform the default action
128 | if !isSuccess {
129 | extensionContext?.performNotificationDefaultAction()
| `- error: 'performNotificationDefaultAction()' is unavailable in watchOS
130 | }
131 | removeNotificationFromCenter()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:226:1: note: 'performNotificationDefaultAction()' has been explicitly marked unavailable here
224 |
225 | // Opens the corresponding applicaton and delivers it the default notification action response
226 | - (void)performNotificationDefaultAction API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
| `- note: 'performNotificationDefaultAction()' has been explicitly marked unavailable here
227 |
228 | - (void)dismissNotificationContentExtension API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AEPNotificationViewController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Constants.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constants.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BasicTemplateController.swift
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:40:25: error: 'UIImageView' is unavailable in watchOS
38 | // MARK: - UI Elements
39 |
40 | lazy var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
41 | let imageView = UIImageView()
42 | imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'UIImageView' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'init()' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:97:13: error: 'NSLayoutConstraint' is unavailable in watchOS
95 | /// This is to maintain the recommended aspect ratio of 2:1
96 | imageViewHeight = (view.frame.width / 2)
97 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
98 | imageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor),
99 | imageView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:98:62: error: 'safeAreaLayoutGuide' is unavailable in watchOS
96 | imageViewHeight = (view.frame.width / 2)
97 | NSLayoutConstraint.activate([
98 | imageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor),
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
99 | imageView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
100 | imageView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:112:93: error: 'safeAreaLayoutGuide' is unavailable in watchOS
110 |
111 | // Update constraints for titleBodyView based on whether or not the imageView exists
112 | let titleBodyViewTopAnchor = downloadedImage != nil ? imageView.bottomAnchor : view.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
113 | NSLayoutConstraint.activate([
114 | titleBodyView.topAnchor.constraint(equalTo: titleBodyViewTopAnchor, constant: TOP_MARGIN),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
SwiftCompile normal arm64 Compiling\ CarouselItem.swift,\ CarouselPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselItem.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselItem.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CarouselItem.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CarouselPayload.swift
SwiftCompile normal arm64 Compiling\ CarouselMode.swift,\ Payload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Enums/CarouselMode.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Payload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Enums/CarouselMode.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CarouselMode.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Payload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Payload.swift
SwiftCompile normal arm64 Compiling\ UNNotificationContent+TemplateKeys.swift,\ BasicPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UNNotificationContent+TemplateKeys.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/BasicPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UNNotificationContent+TemplateKeys.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UNNotificationContent+TemplateKeys.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/BasicPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BasicPayload.swift
SwiftCompile normal arm64 Compiling\ TimerPayload.swift,\ TitleBodyPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TimerPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TitleBodyPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TimerPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimerPayload.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TitleBodyPayload.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TitleBodyPayload.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AEPNotificationContent (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:54:87: error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
52 | }
53 |
54 | public func didReceive(_: UNNotificationResponse, completionHandler _: @escaping (UNNotificationContentExtensionResponseOption) -> Void) {}
| `- error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
55 |
56 | // MARK: - UIViewController delegate methods
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:45:29: note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
43 |
44 | /// Constants indicating the preferred response to a notification.
45 | typedef NS_ENUM(NSUInteger, UNNotificationContentExtensionResponseOption) {
| `- note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
46 | /// Don't dismiss the notification interface.
47 | ///
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:65:90: error: 'UIContentContainer' is unavailable in watchOS
63 |
64 | /// Called when the preferred content size of one of the view controller's child content containers changes
65 | override open func preferredContentSizeDidChange(forChildContentContainer container: UIContentContainer) {
| `- error: 'UIContentContainer' is unavailable in watchOS
66 | preferredContentSize.height = container.preferredContentSize.height
67 | }
/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:64:11: note: 'UIContentContainer' has been explicitly marked unavailable here
62 |
63 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UIContentContainer <NSObject>
| `- note: 'UIContentContainer' has been explicitly marked unavailable here
65 |
66 | @property (nonatomic, readonly) CGSize preferredContentSize API_AVAILABLE(ios(8.0));
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:111:39: error: 'UIViewController' is unavailable in watchOS
109 |
110 | // Use this method to get the instance of the parent view controller
111 | func getParentViewController() -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
112 | self
113 | }
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:43: error: 'UIViewController' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
18 | open var notification: UNNotification?
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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:61: error: 'UNNotificationContentExtension' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UNNotificationContentExtension' is unavailable in watchOS
18 | open var notification: UNNotification?
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:110:11: note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
108 | /// For information about how to implement your notification content app
109 | /// extension, see <doc:customizing-the-appearance-of-notifications>.
110 | @protocol UNNotificationContentExtension <NSObject>
| `- note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
111 |
112 | /// Delivers a new notification to your notification content app extension.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:40:25: error: 'UIImageView' is unavailable in watchOS
38 | // MARK: - UI Elements
39 |
40 | lazy var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
41 | let imageView = UIImageView()
42 | imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'UIImageView' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'init()' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:52:31: error: 'UIButton' is unavailable in watchOS
50 | }()
51 |
52 | lazy var leftArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
53 | let button = UIButton(type: .system)
54 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:53:22: error: 'UIButton' is unavailable in watchOS
51 |
52 | lazy var leftArrowButton: UIButton = {
53 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
54 | if #available(iOS 13.0, *) {
55 | button.setImage(UIImage(systemName: "chevron.backward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:68:32: error: 'UIButton' is unavailable in watchOS
66 | }()
67 |
68 | lazy var rightArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
69 | let button = UIButton(type: .system)
70 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:69:22: error: 'UIButton' is unavailable in watchOS
67 |
68 | lazy var rightArrowButton: UIButton = {
69 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
70 | if #available(iOS 13.0, *) {
71 | button.setImage(UIImage(systemName: "chevron.forward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:84:27: error: 'UIPageControl' is unavailable in watchOS
82 | }()
83 |
84 | lazy var pageControl: UIPageControl = {
| `- error: 'UIPageControl' is unavailable in watchOS
85 | let pageControl = UIPageControl()
86 | pageControl.translatesAutoresizingMaskIntoConstraints = 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/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'UIPageControl' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'UIPageControl' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'init()' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'init()' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:90:26: error: 'UIScrollView' is unavailable in watchOS
88 | }()
89 |
90 | lazy var scrollView: UIScrollView = {
| `- error: 'UIScrollView' is unavailable in watchOS
91 | let scrollView = UIScrollView()
92 | scrollView.isPagingEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'UIScrollView' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'init()' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:234:44: error: 'UIScrollView' is unavailable in watchOS
232 | // MARK: - ScrollView Delegate Method
233 |
234 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
235 | let pageIndex = Int(round(scrollView.contentOffset.x / view.frame.width))
236 | pageControl.currentPage = pageIndex
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:259:45: error: 'UIPageControl' is unavailable in watchOS
257 | }
258 |
259 | @objc func pageControlChanged(_ sender: UIPageControl) {
| `- error: 'UIPageControl' is unavailable in watchOS
260 | let x = CGFloat(sender.currentPage) * scrollView.frame.size.width
261 | scrollView.setContentOffset(CGPoint(x: x, y: 0), animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:17:55: error: 'UIScrollViewDelegate' is unavailable in watchOS
15 |
16 | // ViewController for Carousel Template
17 | class CarouselTemplateController: TemplateController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
18 | // MARK: - Dimension Constants
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/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift:16:35: error: 'UIViewController' is unavailable in watchOS
14 | import UIKit
15 |
16 | class FallbackTemplateController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
17 | private let SIDE_MARGIN = 8.0
18 | private let TOP_MARGIN = 8.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AEPNotificationContent/Sources/Controllers/TemplateController.swift:26:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
24 | // MARK: - UI Elements
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'init()' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:29:39: error: 'medium' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
| `- error: 'medium' is unavailable in watchOS
30 | } else {
31 | loadingIndicator.style = .white
UIKit.UIActivityIndicatorView.Style.medium:4:10: note: 'medium' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case medium }
| `- note: 'medium' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:31:39: error: 'white' is unavailable in watchOS
29 | loadingIndicator.style = .medium
30 | } else {
31 | loadingIndicator.style = .white
| `- error: 'white' is unavailable in watchOS
32 | }
33 | loadingIndicator.color = .defaultTitle
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:45:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | var tapRecognizer: UITapGestureRecognizer?
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
46 |
47 | let delegate: TemplateControllerDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:18:27: error: 'UIViewController' is unavailable in watchOS
16 | // Base class for all template controllers
17 | // This class provides all the common methods and properties that are required by all the template controllers
18 | class TemplateController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
19 | // MARK: - Margin constants
20 |
/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/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:22:29: error: 'UILabel' is unavailable in watchOS
20 | private var countdownTimer: Timer?
21 |
22 | private let timerLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
23 | let label = UILabel()
24 | label.textAlignment = .center
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'UILabel' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'init()' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:45:28: error: 'UIImageView' is unavailable in watchOS
43 | }()
44 |
45 | private let imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
46 | let view = UIImageView()
47 | view.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'UIImageView' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'init()' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'init()' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/TemplateControllerDelegate.swift:22:39: error: 'UIViewController' is unavailable in watchOS
20 |
21 | /// Use this method to get the instance of the parent view controller
22 | func getParentViewController() -> UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
23 |
24 | /// Use this method to handle the clickURL from interactions with the push template
/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/AEPNotificationContent/Sources/Views/TitleBodyView.swift:29:29: error: 'UILabel' is unavailable in watchOS
27 |
28 | // UI Elements
29 | private let titleLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
30 | let label = UILabel()
31 | label.textAlignment = .left
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:30:21: error: 'UILabel' is unavailable in watchOS
28 | // UI Elements
29 | private let titleLabel: UILabel = {
30 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
31 | label.textAlignment = .left
32 | label.textColor = .black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:30:21: error: 'init()' is unavailable in watchOS
28 | // UI Elements
29 | private let titleLabel: UILabel = {
30 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
31 | label.textAlignment = .left
32 | label.textColor = .black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:40:28: error: 'UILabel' is unavailable in watchOS
38 | }()
39 |
40 | private let bodyLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
41 | let label = UILabel()
42 | label.textAlignment = .left
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:41:21: error: 'UILabel' is unavailable in watchOS
39 |
40 | private let bodyLabel: UILabel = {
41 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
42 | label.textAlignment = .left
43 | label.textColor = .darkGray
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:41:21: error: 'init()' is unavailable in watchOS
39 |
40 | private let bodyLabel: UILabel = {
41 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
42 | label.textAlignment = .left
43 | label.textColor = .darkGray
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:51:39: error: 'NSLayoutConstraint' is unavailable in watchOS
49 | }()
50 |
51 | private var bodyHeightConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
52 | private var titleHeightConstraint: NSLayoutConstraint!
53 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:52:40: error: 'NSLayoutConstraint' is unavailable in watchOS
50 |
51 | private var bodyHeightConstraint: NSLayoutConstraint!
52 | private var titleHeightConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
53 |
54 | // MARK: - Computed Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:17:22: error: 'UIView' is unavailable in watchOS
15 |
16 | // A UIView that displays a title and a body
17 | class TitleBodyView: UIView {
| `- error: 'UIView' is unavailable in watchOS
18 | // Color constants
19 | enum DefaultColor {
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Constants.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/String+LabelHeight.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UNNotificationContent+TemplateKeys.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/BasicPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselItem.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Enums/CarouselMode.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Payload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TimerPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TitleBodyPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/TemplateControllerDelegate.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloadError.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloader.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import UserNotifications /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/UserNotifications.swiftcrossimport/AppIntents.swiftoverlay -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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AEPNotificationContent -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64/AEPNotificationContent.abi.json
SwiftCompile normal arm64 (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AEPNotificationContent (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:54:87: error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
52 | }
53 |
54 | public func didReceive(_: UNNotificationResponse, completionHandler _: @escaping (UNNotificationContentExtensionResponseOption) -> Void) {}
| `- error: 'UNNotificationContentExtensionResponseOption' is unavailable in watchOS
55 |
56 | // MARK: - UIViewController delegate methods
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:45:29: note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
43 |
44 | /// Constants indicating the preferred response to a notification.
45 | typedef NS_ENUM(NSUInteger, UNNotificationContentExtensionResponseOption) {
| `- note: 'UNNotificationContentExtensionResponseOption' has been explicitly marked unavailable here
46 | /// Don't dismiss the notification interface.
47 | ///
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:65:90: error: 'UIContentContainer' is unavailable in watchOS
63 |
64 | /// Called when the preferred content size of one of the view controller's child content containers changes
65 | override open func preferredContentSizeDidChange(forChildContentContainer container: UIContentContainer) {
| `- error: 'UIContentContainer' is unavailable in watchOS
66 | preferredContentSize.height = container.preferredContentSize.height
67 | }
/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:64:11: note: 'UIContentContainer' has been explicitly marked unavailable here
62 |
63 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @protocol UIContentContainer <NSObject>
| `- note: 'UIContentContainer' has been explicitly marked unavailable here
65 |
66 | @property (nonatomic, readonly) CGSize preferredContentSize API_AVAILABLE(ios(8.0));
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/AEPNotificationViewController.swift:111:39: error: 'UIViewController' is unavailable in watchOS
109 |
110 | // Use this method to get the instance of the parent view controller
111 | func getParentViewController() -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
112 | self
113 | }
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:43: error: 'UIViewController' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
18 | open var notification: UNNotification?
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/AEPNotificationContent/Sources/AEPNotificationViewController.swift:17:61: error: 'UNNotificationContentExtension' is unavailable in watchOS
15 | import UserNotificationsUI
16 |
17 | open class AEPNotificationViewController: UIViewController, UNNotificationContentExtension, TemplateControllerDelegate {
| `- error: 'UNNotificationContentExtension' is unavailable in watchOS
18 | open var notification: UNNotification?
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h:110:11: note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
108 | /// For information about how to implement your notification content app
109 | /// extension, see <doc:customizing-the-appearance-of-notifications>.
110 | @protocol UNNotificationContentExtension <NSObject>
| `- note: 'UNNotificationContentExtension' has been explicitly marked unavailable here
111 |
112 | /// Delivers a new notification to your notification content app extension.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:40:25: error: 'UIImageView' is unavailable in watchOS
38 | // MARK: - UI Elements
39 |
40 | lazy var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
41 | let imageView = UIImageView()
42 | imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'UIImageView' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift:41:25: error: 'init()' is unavailable in watchOS
39 |
40 | lazy var imageView: UIImageView = {
41 | let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
42 | imageView.contentMode = .scaleAspectFit
43 | imageView.clipsToBounds = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:52:31: error: 'UIButton' is unavailable in watchOS
50 | }()
51 |
52 | lazy var leftArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
53 | let button = UIButton(type: .system)
54 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:53:22: error: 'UIButton' is unavailable in watchOS
51 |
52 | lazy var leftArrowButton: UIButton = {
53 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
54 | if #available(iOS 13.0, *) {
55 | button.setImage(UIImage(systemName: "chevron.backward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:68:32: error: 'UIButton' is unavailable in watchOS
66 | }()
67 |
68 | lazy var rightArrowButton: UIButton = {
| `- error: 'UIButton' is unavailable in watchOS
69 | let button = UIButton(type: .system)
70 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:69:22: error: 'UIButton' is unavailable in watchOS
67 |
68 | lazy var rightArrowButton: UIButton = {
69 | let button = UIButton(type: .system)
| `- error: 'UIButton' is unavailable in watchOS
70 | if #available(iOS 13.0, *) {
71 | button.setImage(UIImage(systemName: "chevron.forward"), for: .normal)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:84:27: error: 'UIPageControl' is unavailable in watchOS
82 | }()
83 |
84 | lazy var pageControl: UIPageControl = {
| `- error: 'UIPageControl' is unavailable in watchOS
85 | let pageControl = UIPageControl()
86 | pageControl.translatesAutoresizingMaskIntoConstraints = 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/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'UIPageControl' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'UIPageControl' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:85:27: error: 'init()' is unavailable in watchOS
83 |
84 | lazy var pageControl: UIPageControl = {
85 | let pageControl = UIPageControl()
| `- error: 'init()' is unavailable in watchOS
86 | pageControl.translatesAutoresizingMaskIntoConstraints = false
87 | return pageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:90:26: error: 'UIScrollView' is unavailable in watchOS
88 | }()
89 |
90 | lazy var scrollView: UIScrollView = {
| `- error: 'UIScrollView' is unavailable in watchOS
91 | let scrollView = UIScrollView()
92 | scrollView.isPagingEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'UIScrollView' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:91:26: error: 'init()' is unavailable in watchOS
89 |
90 | lazy var scrollView: UIScrollView = {
91 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
92 | scrollView.isPagingEnabled = true
93 | scrollView.delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:234:44: error: 'UIScrollView' is unavailable in watchOS
232 | // MARK: - ScrollView Delegate Method
233 |
234 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
235 | let pageIndex = Int(round(scrollView.contentOffset.x / view.frame.width))
236 | pageControl.currentPage = pageIndex
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:259:45: error: 'UIPageControl' is unavailable in watchOS
257 | }
258 |
259 | @objc func pageControlChanged(_ sender: UIPageControl) {
| `- error: 'UIPageControl' is unavailable in watchOS
260 | let x = CGFloat(sender.currentPage) * scrollView.frame.size.width
261 | scrollView.setContentOffset(CGPoint(x: x, y: 0), animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift:17:55: error: 'UIScrollViewDelegate' is unavailable in watchOS
15 |
16 | // ViewController for Carousel Template
17 | class CarouselTemplateController: TemplateController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
18 | // MARK: - Dimension Constants
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/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift:16:35: error: 'UIViewController' is unavailable in watchOS
14 | import UIKit
15 |
16 | class FallbackTemplateController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
17 | private let SIDE_MARGIN = 8.0
18 | private let TOP_MARGIN = 8.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AEPNotificationContent/Sources/Controllers/TemplateController.swift:26:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
24 | // MARK: - UI Elements
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'UIActivityIndicatorView' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:27:32: error: 'init()' is unavailable in watchOS
25 |
26 | lazy var loadingIndicator: UIActivityIndicatorView = {
27 | let loadingIndicator = UIActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:29:39: error: 'medium' is unavailable in watchOS
27 | let loadingIndicator = UIActivityIndicatorView()
28 | if #available(iOS 13.0, *) {
29 | loadingIndicator.style = .medium
| `- error: 'medium' is unavailable in watchOS
30 | } else {
31 | loadingIndicator.style = .white
UIKit.UIActivityIndicatorView.Style.medium:4:10: note: 'medium' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case medium }
| `- note: 'medium' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:31:39: error: 'white' is unavailable in watchOS
29 | loadingIndicator.style = .medium
30 | } else {
31 | loadingIndicator.style = .white
| `- error: 'white' is unavailable in watchOS
32 | }
33 | loadingIndicator.color = .defaultTitle
UIKit.UIActivityIndicatorView.Style.white:4:10: note: 'white' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case white }
| `- note: 'white' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:45:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
43 | }
44 |
45 | var tapRecognizer: UITapGestureRecognizer?
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
46 |
47 | let delegate: TemplateControllerDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift:18:27: error: 'UIViewController' is unavailable in watchOS
16 | // Base class for all template controllers
17 | // This class provides all the common methods and properties that are required by all the template controllers
18 | class TemplateController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
19 | // MARK: - Margin constants
20 |
/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/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:22:29: error: 'UILabel' is unavailable in watchOS
20 | private var countdownTimer: Timer?
21 |
22 | private let timerLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
23 | let label = UILabel()
24 | label.textAlignment = .center
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'UILabel' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:23:21: error: 'init()' is unavailable in watchOS
21 |
22 | private let timerLabel: UILabel = {
23 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
24 | label.textAlignment = .center
25 | label.textColor = .defaultTitle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:45:28: error: 'UIImageView' is unavailable in watchOS
43 | }()
44 |
45 | private let imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
46 | let view = UIImageView()
47 | view.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'UIImageView' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift:46:20: error: 'init()' is unavailable in watchOS
44 |
45 | private let imageView: UIImageView = {
46 | let view = UIImageView()
| `- error: 'init()' is unavailable in watchOS
47 | view.contentMode = .scaleAspectFit
48 | view.translatesAutoresizingMaskIntoConstraints = 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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/TemplateControllerDelegate.swift:22:39: error: 'UIViewController' is unavailable in watchOS
20 |
21 | /// Use this method to get the instance of the parent view controller
22 | func getParentViewController() -> UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
23 |
24 | /// Use this method to handle the clickURL from interactions with the push template
/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/AEPNotificationContent/Sources/Views/TitleBodyView.swift:29:29: error: 'UILabel' is unavailable in watchOS
27 |
28 | // UI Elements
29 | private let titleLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
30 | let label = UILabel()
31 | label.textAlignment = .left
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:30:21: error: 'UILabel' is unavailable in watchOS
28 | // UI Elements
29 | private let titleLabel: UILabel = {
30 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
31 | label.textAlignment = .left
32 | label.textColor = .black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:30:21: error: 'init()' is unavailable in watchOS
28 | // UI Elements
29 | private let titleLabel: UILabel = {
30 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
31 | label.textAlignment = .left
32 | label.textColor = .black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:40:28: error: 'UILabel' is unavailable in watchOS
38 | }()
39 |
40 | private let bodyLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
41 | let label = UILabel()
42 | label.textAlignment = .left
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:41:21: error: 'UILabel' is unavailable in watchOS
39 |
40 | private let bodyLabel: UILabel = {
41 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
42 | label.textAlignment = .left
43 | label.textColor = .darkGray
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:41:21: error: 'init()' is unavailable in watchOS
39 |
40 | private let bodyLabel: UILabel = {
41 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
42 | label.textAlignment = .left
43 | label.textColor = .darkGray
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:51:39: error: 'NSLayoutConstraint' is unavailable in watchOS
49 | }()
50 |
51 | private var bodyHeightConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
52 | private var titleHeightConstraint: NSLayoutConstraint!
53 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:52:40: error: 'NSLayoutConstraint' is unavailable in watchOS
50 |
51 | private var bodyHeightConstraint: NSLayoutConstraint!
52 | private var titleHeightConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
53 |
54 | // MARK: - Computed Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift:17:22: error: 'UIView' is unavailable in watchOS
15 |
16 | // A UIView that displays a title and a body
17 | class TitleBodyView: UIView {
| `- error: 'UIView' is unavailable in watchOS
18 | // Color constants
19 | enum DefaultColor {
/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/AEPNotificationContent/Sources/AEPNotificationViewController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Constants.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/BasicTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/CarouselTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/FallbackTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Controllers/TimerTemplateController.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/String+LabelHeight.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UIColor+HexString.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Extensions/UNNotificationContent+TemplateKeys.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/BasicPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselItem.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/CarouselPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Enums/CarouselMode.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/Payload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TimerPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Model/TitleBodyPayload.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/TemplateControllerDelegate.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloadError.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloader.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import UserNotifications /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/UserNotifications.swiftcrossimport/AppIntents.swiftoverlay -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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-dependencies-2.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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AEPNotificationContent -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent_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/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AEPNotificationContent.build/Debug-watchos/AEPNotificationContent-t.build/Objects-normal/arm64_32/AEPNotificationContent.abi.json
SwiftCompile normal arm64_32 (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ImageDownloader.swift,\ TitleBodyView.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloader.swift /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Utility/ImageDownloader.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageDownloader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/AEPNotificationContent/Sources/Views/TitleBodyView.swift (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TitleBodyView.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-20 16:09:52.883 xcodebuild[800:4906] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ AEPNotificationContent (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64 (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AEPNotificationContent (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
SwiftCompile normal arm64_32 (in target 'AEPNotificationContent' from project 'AEPNotificationContent')
Building workspace AEPNotificationContent with scheme AEPNotificationContent
(5 failures)
BUILD FAILURE 6.4 watchOS