Build Information
Failed to build PlayButton, reference main (69da98), with Swift 6.4 for watchOS using Xcode 27.0 on 27 Sep 2026 23:00:15 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 PlayButton -destination generic/platform=watchOSBuild Log
3 | /// A button that can render four different modes and animate between them.
4 | @IBDesignable
5 | public class PlayButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
6 | /// The target state of the button.
7 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:621:40: error: 'CAAnimation' is unavailable in watchOS
619 |
620 | extension PlayButton: CAAnimationDelegate {
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
622 | guard anim.isKeyframe, hasFinished else { return }
623 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:620:23: error: 'CAAnimationDelegate' is unavailable in watchOS
618 | // MARK: CAAnimationDelegate
619 |
620 | extension PlayButton: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
622 | guard anim.isKeyframe, hasFinished else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:948:56: error: 'CABasicAnimation' is unavailable in watchOS
946 | // MARK: Play -> Buffering -> Stop/Pause
947 |
948 | private func triangleToBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
949 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
950 | animation.animationKey = isLeft ? .triangleToHorizontalBar : .triangleToHorizontalBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:957:60: error: 'CABasicAnimation' is unavailable in watchOS
955 | }
956 |
957 | private func barRotateVerticalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
958 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.transform))
959 | animation.animationKey = isLeft ? .barRotateVertical : .barRotateVerticalRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:967:53: error: 'CABasicAnimation' is unavailable in watchOS
965 |
966 | /// runs concurrently with `barRotateVerticalAnimation`.
967 | private var barRotateVerticalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
968 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.fillColor))
969 | animation.animationKey = .barRotateVerticalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:977:58: error: 'CABasicAnimation' is unavailable in watchOS
975 |
976 | /// runs concurrently with `barRotateVerticalAnimation`.
977 | private var barRotateVerticalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
978 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.backgroundColor))
979 | animation.animationKey = .barRotateVerticalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:986:51: error: 'CABasicAnimation' is unavailable in watchOS
984 | }
985 |
986 | private func splitBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
987 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
988 | animation.animationKey = isLeft ? .splitBar : .splitBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:995:52: error: 'CABasicAnimation' is unavailable in watchOS
993 | }
994 |
995 | private func expandBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
996 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
997 | animation.animationKey = isLeft ? .expandBar : .expandBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1006:52: error: 'CABasicAnimation' is unavailable in watchOS
1004 | // MARK: Stop/Pause -> Buffering -> Play
1005 |
1006 | private func shrinkBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1007 | let forwardAnimation = expandBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1008 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1013:52: error: 'CABasicAnimation' is unavailable in watchOS
1011 | }
1012 |
1013 | private func mergeBarsAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1014 | let forwardAnimation = splitBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1015 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1020:62: error: 'CABasicAnimation' is unavailable in watchOS
1018 | }
1019 |
1020 | private func barRotateHorizontalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1021 | let forwardAnimation = barRotateVerticalAnimation(isLeft: isLeft)
1022 | forwardAnimation.toValue = CATransform3DIdentity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1028:55: error: 'CABasicAnimation' is unavailable in watchOS
1026 |
1027 | /// runs concurrently with `barRotateHorizontalAnimation`.
1028 | private var barRotateHorizontalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1029 | let forwardAnimation = barRotateVerticalShapeColorAnimation
1030 | forwardAnimation.animationKey = .barRotateHorizontalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1036:60: error: 'CABasicAnimation' is unavailable in watchOS
1034 |
1035 | /// runs concurrently with `barRotateHorizontalAnimation`.
1036 | private var barRotateHorizontalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1037 | let forwardAnimation = barRotateVerticalBackgroundColorAnimation
1038 | forwardAnimation.animationKey = .barRotateHorizontalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1043:56: error: 'CABasicAnimation' is unavailable in watchOS
1041 | }
1042 |
1043 | private func barToTriangleAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1044 | let forwardAnimation = triangleToBarAnimation(isLeft: isLeft)
1045 | forwardAnimation.animationKey = isLeft ? .barToTriangle : .barToTriangleRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1052:52: error: 'CAKeyframeAnimation' is unavailable in watchOS
1050 | // MARK: Buffering Animation
1051 |
1052 | private func bufferingAnimation(isLeft: Bool) -> CAKeyframeAnimation {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
1053 | let animation = CAKeyframeAnimation(keyPath: #keyPath(CAShapeLayer.path))
1054 | animation.values = [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1071:48: error: 'CABasicAnimation' is unavailable in watchOS
1069 | }
1070 |
1071 | private func bufferingToBar(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1072 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
1073 | animation.animationKey = isLeft ? .bufferingToBar : .bufferingToBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
Failed frontend command:
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PlayButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton_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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.abi.json
SwiftCompile normal arm64 Compiling\ PlayButtonPreviews.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PlayButtonPreviews.swift
SwiftCompile normal arm64 Compiling\ PlayButton+tvOS.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PlayButton+tvOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:63:60: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
61 | }
62 |
63 | func becomeFocusedUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
64 | coordinator.addCoordinatedAnimations({ () -> Void in
65 | self.transform = CGAffineTransform(scaleX: 1.1, y: 1.1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:73:58: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
71 | }
72 |
73 | func resignFocusUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
74 | coordinator.addCoordinatedAnimations({ () -> Void in
75 | self.transform = .identity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:8:17: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
6 | let tiltValue: CGFloat = 0.1
7 |
8 | let xTilt = UIInterpolatingMotionEffect(keyPath: "layer.transform.rotation.x", type: .tiltAlongHorizontalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
9 | xTilt.minimumRelativeValue = -tiltValue
10 | xTilt.maximumRelativeValue = tiltValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:12:17: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
10 | xTilt.maximumRelativeValue = tiltValue
11 |
12 | let yTilt = UIInterpolatingMotionEffect(keyPath: "layer.transform.rotation.y", type: .tiltAlongVerticalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
13 | yTilt.minimumRelativeValue = -tiltValue
14 | yTilt.maximumRelativeValue = tiltValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:19:26: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
17 | let backgroundPanValue: CGFloat = 2.0
18 |
19 | let backgroundXPan = UIInterpolatingMotionEffect(keyPath: "sublayers.scaleLayer.sublayers.backgroundCircle.position.x", type: .tiltAlongHorizontalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
20 | backgroundXPan.minimumRelativeValue = -backgroundPanValue
21 | backgroundXPan.maximumRelativeValue = backgroundPanValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:23:26: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
21 | backgroundXPan.maximumRelativeValue = backgroundPanValue
22 |
23 | let backgroundYPan = UIInterpolatingMotionEffect(keyPath: "sublayers.scaleLayer.sublayers.backgroundCircle.position.y", type: .tiltAlongVerticalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
24 | backgroundYPan.minimumRelativeValue = -backgroundPanValue
25 | backgroundYPan.maximumRelativeValue = backgroundPanValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:30:26: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
28 |
29 | // foreground
30 | let foregroundXPan = UIInterpolatingMotionEffect(keyPath: "sublayers.scaleLayer.sublayers.foregroundLayer.position.x", type: .tiltAlongHorizontalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
31 | foregroundXPan.minimumRelativeValue = -foregroundPanValue
32 | foregroundXPan.maximumRelativeValue = foregroundPanValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:34:26: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
32 | foregroundXPan.maximumRelativeValue = foregroundPanValue
33 |
34 | let foregroundYPan = UIInterpolatingMotionEffect(keyPath: "sublayers.scaleLayer.sublayers.foregroundLayer.position.y", type: .tiltAlongVerticalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
35 | foregroundYPan.minimumRelativeValue = -foregroundPanValue
36 | foregroundYPan.maximumRelativeValue = foregroundPanValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 Compiling\ Modes.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Modes.swift
SwiftCompile normal arm64 Compiling\ CGPath+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGPath+Extensions.swift
SwiftCompile normal arm64 Compiling\ AnimationGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:21: error: 'CALayer' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CALayer' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:30: error: 'CAAnimation' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CAAnimation' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:13:40: error: 'CABasicAnimation' is unavailable in watchOS
11 | func run() -> AnimationState {
12 | animations.forEach {
13 | if let basicAnimation = $0.1 as? CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | $0.0.addBasicAnimationSyncingModelWithPresentationLayer(animation: basicAnimation)
15 | } else if let keyframeAnimation = $0.1 as? CAKeyframeAnimation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationGroup.swift
SwiftCompile normal arm64 Compiling\ AnimationStates.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationStates.swift
SwiftCompile normal arm64 Compiling\ PlayButton.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:155:53: error: 'UIWindow' is unavailable in watchOS
153 | }
154 |
155 | override public func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
156 | super.willMove(toWindow: newWindow)
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:238:27: error: 'CAShapeLayer' is unavailable in watchOS
236 | ///
237 | /// Animations added to this layer are seen as primary animations which trigger subsequent animation groups once completed..
238 | private let leftShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
239 |
240 | /// The right shape layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:244:28: error: 'CAShapeLayer' is unavailable in watchOS
242 | /// This layer mimics the path and color of the `leftShape` except when animating to the `.pause` mode where it animates to the right.
243 | /// Animations added to this layer are seen as secondary animations which won't trigger subsequent animation groups once completed.
244 | private let rightShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
245 |
246 | /// The background circle layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:249:34: error: 'CALayer' is unavailable in watchOS
247 | ///
248 | /// The background circle layer can animate to a new color when entering/exiting the horizontal bar state.
249 | private let backgroundCircle = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
250 |
251 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:255:33: error: 'CALayer' is unavailable in watchOS
253 | ///
254 | /// The foreground layer is a child of the ``scaleLayer`` and contains the left and right shape layers.
255 | private let foregroundLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
256 |
257 | /// The scale layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:261:28: error: 'CALayer' is unavailable in watchOS
259 | /// The scale layer is used to scaled the child layers so the path parameters don't have to be recalculated. It is the only child of the
260 | /// button's layer and all animated layer are children of the scale layer.
261 | private let scaleLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
262 |
263 | // MARK: Durations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:374:31: error: 'UIHoverGestureRecognizer' is unavailable in watchOS
372 | @available(macCatalyst 13.0, iOS 13.0, *)
373 | @objc
374 | private func hover(gesture: UIHoverGestureRecognizer) {
| `- error: 'UIHoverGestureRecognizer' is unavailable in watchOS
375 | UIView.animate(
376 | withDuration: 0.3,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h:22:81: note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
20 | // On iOS, this gesture recognizer doesn't recognize anything and is effectively
21 | // a no-op.
22 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos) @interface UIHoverGestureRecognizer : UIGestureRecognizer
| `- note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | /// The normalized distance from the screen of the hovering device. This value will be 1 at the maximum distance
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:5:26: error: 'UIButton' is unavailable in watchOS
3 | /// A button that can render four different modes and animate between them.
4 | @IBDesignable
5 | public class PlayButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
6 | /// The target state of the button.
7 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:621:40: error: 'CAAnimation' is unavailable in watchOS
619 |
620 | extension PlayButton: CAAnimationDelegate {
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
622 | guard anim.isKeyframe, hasFinished else { return }
623 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:620:23: error: 'CAAnimationDelegate' is unavailable in watchOS
618 | // MARK: CAAnimationDelegate
619 |
620 | extension PlayButton: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
622 | guard anim.isKeyframe, hasFinished else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:948:56: error: 'CABasicAnimation' is unavailable in watchOS
946 | // MARK: Play -> Buffering -> Stop/Pause
947 |
948 | private func triangleToBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
949 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
950 | animation.animationKey = isLeft ? .triangleToHorizontalBar : .triangleToHorizontalBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:957:60: error: 'CABasicAnimation' is unavailable in watchOS
955 | }
956 |
957 | private func barRotateVerticalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
958 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.transform))
959 | animation.animationKey = isLeft ? .barRotateVertical : .barRotateVerticalRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:967:53: error: 'CABasicAnimation' is unavailable in watchOS
965 |
966 | /// runs concurrently with `barRotateVerticalAnimation`.
967 | private var barRotateVerticalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
968 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.fillColor))
969 | animation.animationKey = .barRotateVerticalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:977:58: error: 'CABasicAnimation' is unavailable in watchOS
975 |
976 | /// runs concurrently with `barRotateVerticalAnimation`.
977 | private var barRotateVerticalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
978 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.backgroundColor))
979 | animation.animationKey = .barRotateVerticalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:986:51: error: 'CABasicAnimation' is unavailable in watchOS
984 | }
985 |
986 | private func splitBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
987 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
988 | animation.animationKey = isLeft ? .splitBar : .splitBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:995:52: error: 'CABasicAnimation' is unavailable in watchOS
993 | }
994 |
995 | private func expandBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
996 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
997 | animation.animationKey = isLeft ? .expandBar : .expandBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1006:52: error: 'CABasicAnimation' is unavailable in watchOS
1004 | // MARK: Stop/Pause -> Buffering -> Play
1005 |
1006 | private func shrinkBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1007 | let forwardAnimation = expandBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1008 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1013:52: error: 'CABasicAnimation' is unavailable in watchOS
1011 | }
1012 |
1013 | private func mergeBarsAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1014 | let forwardAnimation = splitBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1015 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1020:62: error: 'CABasicAnimation' is unavailable in watchOS
1018 | }
1019 |
1020 | private func barRotateHorizontalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1021 | let forwardAnimation = barRotateVerticalAnimation(isLeft: isLeft)
1022 | forwardAnimation.toValue = CATransform3DIdentity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1028:55: error: 'CABasicAnimation' is unavailable in watchOS
1026 |
1027 | /// runs concurrently with `barRotateHorizontalAnimation`.
1028 | private var barRotateHorizontalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1029 | let forwardAnimation = barRotateVerticalShapeColorAnimation
1030 | forwardAnimation.animationKey = .barRotateHorizontalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1036:60: error: 'CABasicAnimation' is unavailable in watchOS
1034 |
1035 | /// runs concurrently with `barRotateHorizontalAnimation`.
1036 | private var barRotateHorizontalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1037 | let forwardAnimation = barRotateVerticalBackgroundColorAnimation
1038 | forwardAnimation.animationKey = .barRotateHorizontalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1043:56: error: 'CABasicAnimation' is unavailable in watchOS
1041 | }
1042 |
1043 | private func barToTriangleAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1044 | let forwardAnimation = triangleToBarAnimation(isLeft: isLeft)
1045 | forwardAnimation.animationKey = isLeft ? .barToTriangle : .barToTriangleRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1052:52: error: 'CAKeyframeAnimation' is unavailable in watchOS
1050 | // MARK: Buffering Animation
1051 |
1052 | private func bufferingAnimation(isLeft: Bool) -> CAKeyframeAnimation {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
1053 | let animation = CAKeyframeAnimation(keyPath: #keyPath(CAShapeLayer.path))
1054 | animation.values = [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1071:48: error: 'CABasicAnimation' is unavailable in watchOS
1069 | }
1070 |
1071 | private func bufferingToBar(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1072 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
1073 | animation.animationKey = isLeft ? .bufferingToBar : .bufferingToBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CA+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:3:11: error: 'CATransaction' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension CATransaction {
| `- error: 'CATransaction' is unavailable in watchOS
4 | static func withoutAnimation(_ block: () -> Void) {
5 | CATransaction.begin()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:13:70: error: 'CABasicAnimation' is unavailable in watchOS
11 |
12 | extension CALayer {
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:28:73: error: 'CAKeyframeAnimation' is unavailable in watchOS
26 | }
27 |
28 | func addKeyframeAnimationSyncingModelWithPresentationLayer(animation: CAKeyframeAnimation, forKey key: String? = nil) {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
29 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:12:11: error: 'CALayer' is unavailable in watchOS
10 | }
11 |
12 | extension CALayer {
| `- error: 'CALayer' is unavailable in watchOS
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:5:5: error: 'CATransaction' is unavailable in watchOS
3 | extension CATransaction {
4 | static func withoutAnimation(_ block: () -> Void) {
5 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
6 | CATransaction.setDisableActions(true)
7 | block()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:6:5: error: 'CATransaction' is unavailable in watchOS
4 | static func withoutAnimation(_ block: () -> Void) {
5 | CATransaction.begin()
6 | CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
7 | block()
8 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:8:5: error: 'CATransaction' is unavailable in watchOS
6 | CATransaction.setDisableActions(true)
7 | block()
8 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
9 | }
10 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:21:5: error: 'CATransaction' is unavailable in watchOS
19 | // update the property in advance
20 | // NOTE: this approach will only work if toValue != nil
21 | CATransaction.withoutAnimation {
| `- error: 'CATransaction' is unavailable in watchOS
22 | setValue(animation.toValue, forKey: keypath)
23 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CA+Extensions.swift
SwiftCompile normal arm64 Compiling\ AnimationKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationKeys.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PlayButton (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64_32 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-27 19:00:05.785 xcodebuild[704:4437] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
SwiftEmitModule normal arm64 Emitting\ module\ for\ PlayButton (in target 'PlayButton' from project 'PlayButton')
Building workspace PlayButton with scheme PlayButton
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SnapshotTesting: https://github.com/pointfreeco/swift-snapshot-testing.git @ 1.9.0
PlayButton: /Users/admin/builder/spi-builder-workspace
resolved source packages: SnapshotTesting, PlayButton
2026-09-27 19:00:11.998 xcodebuild[839:4958] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"exact" : [
"1.9.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "PlayButton",
"name" : "PlayButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "PlayButton",
"targets" : [
"PlayButton"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PlayButtonTests",
"module_type" : "SwiftTarget",
"name" : "PlayButtonTests",
"path" : "Tests/PlayButtonTests",
"product_dependencies" : [
"SnapshotTesting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PlayButtonTests/__Snapshots__",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"PlayButtonTests.swift"
],
"target_dependencies" : [
"PlayButton"
],
"type" : "test"
},
{
"c99name" : "PlayButton",
"module_type" : "SwiftTarget",
"name" : "PlayButton",
"path" : "Sources",
"product_memberships" : [
"PlayButton"
],
"sources" : [
"PlayButton/AnimationGroup.swift",
"PlayButton/AnimationKeys.swift",
"PlayButton/AnimationStates.swift",
"PlayButton/CA+Extensions.swift",
"PlayButton/CGPath+Extensions.swift",
"PlayButton/Modes.swift",
"PlayButton/PlayButton+tvOS.swift",
"PlayButton/PlayButton.swift",
"PlayButton/PlayButtonPreviews.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "PlayButton",
"schemes" : [
"PlayButton"
]
}
}
2026-09-27 19:00:13.284 xcodebuild[847:5023] [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 PlayButton -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 PlayButton -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
PlayButton: /Users/admin/builder/spi-builder-workspace
SnapshotTesting: https://github.com/pointfreeco/swift-snapshot-testing.git @ 1.9.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'PlayButton-product' in project 'PlayButton'
➜ Explicit dependency on target 'PlayButton' in project 'PlayButton'
Target 'PlayButton' in project 'PlayButton' (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 PlayButton normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PlayButton' from project 'PlayButton')
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 PlayButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton_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/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver PlayButton normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'PlayButton' from project 'PlayButton')
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 PlayButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton_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/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64_32/PlayButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PlayButton (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:21: error: 'CALayer' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CALayer' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:30: error: 'CAAnimation' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CAAnimation' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift:51:11: error: 'CAAnimation' is unavailable in watchOS
49 | }
50 |
51 | extension CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
52 | var animationKey: PlayButton.AnimationKey? {
53 | get {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:3:11: error: 'CATransaction' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension CATransaction {
| `- error: 'CATransaction' is unavailable in watchOS
4 | static func withoutAnimation(_ block: () -> Void) {
5 | CATransaction.begin()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:13:70: error: 'CABasicAnimation' is unavailable in watchOS
11 |
12 | extension CALayer {
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:28:73: error: 'CAKeyframeAnimation' is unavailable in watchOS
26 | }
27 |
28 | func addKeyframeAnimationSyncingModelWithPresentationLayer(animation: CAKeyframeAnimation, forKey key: String? = nil) {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
29 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:12:11: error: 'CALayer' is unavailable in watchOS
10 | }
11 |
12 | extension CALayer {
| `- error: 'CALayer' is unavailable in watchOS
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:63:60: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
61 | }
62 |
63 | func becomeFocusedUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
64 | coordinator.addCoordinatedAnimations({ () -> Void in
65 | self.transform = CGAffineTransform(scaleX: 1.1, y: 1.1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:73:58: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
71 | }
72 |
73 | func resignFocusUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
74 | coordinator.addCoordinatedAnimations({ () -> Void in
75 | self.transform = .identity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:155:53: error: 'UIWindow' is unavailable in watchOS
153 | }
154 |
155 | override public func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
156 | super.willMove(toWindow: newWindow)
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:238:27: error: 'CAShapeLayer' is unavailable in watchOS
236 | ///
237 | /// Animations added to this layer are seen as primary animations which trigger subsequent animation groups once completed..
238 | private let leftShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
239 |
240 | /// The right shape layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:244:28: error: 'CAShapeLayer' is unavailable in watchOS
242 | /// This layer mimics the path and color of the `leftShape` except when animating to the `.pause` mode where it animates to the right.
243 | /// Animations added to this layer are seen as secondary animations which won't trigger subsequent animation groups once completed.
244 | private let rightShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
245 |
246 | /// The background circle layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:249:34: error: 'CALayer' is unavailable in watchOS
247 | ///
248 | /// The background circle layer can animate to a new color when entering/exiting the horizontal bar state.
249 | private let backgroundCircle = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
250 |
251 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:255:33: error: 'CALayer' is unavailable in watchOS
253 | ///
254 | /// The foreground layer is a child of the ``scaleLayer`` and contains the left and right shape layers.
255 | private let foregroundLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
256 |
257 | /// The scale layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:261:28: error: 'CALayer' is unavailable in watchOS
259 | /// The scale layer is used to scaled the child layers so the path parameters don't have to be recalculated. It is the only child of the
260 | /// button's layer and all animated layer are children of the scale layer.
261 | private let scaleLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
262 |
263 | // MARK: Durations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:374:31: error: 'UIHoverGestureRecognizer' is unavailable in watchOS
372 | @available(macCatalyst 13.0, iOS 13.0, *)
373 | @objc
374 | private func hover(gesture: UIHoverGestureRecognizer) {
| `- error: 'UIHoverGestureRecognizer' is unavailable in watchOS
375 | UIView.animate(
376 | withDuration: 0.3,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h:22:81: note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
20 | // On iOS, this gesture recognizer doesn't recognize anything and is effectively
21 | // a no-op.
22 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos) @interface UIHoverGestureRecognizer : UIGestureRecognizer
| `- note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | /// The normalized distance from the screen of the hovering device. This value will be 1 at the maximum distance
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:5:26: error: 'UIButton' is unavailable in watchOS
3 | /// A button that can render four different modes and animate between them.
4 | @IBDesignable
5 | public class PlayButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
6 | /// The target state of the button.
7 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:621:40: error: 'CAAnimation' is unavailable in watchOS
619 |
620 | extension PlayButton: CAAnimationDelegate {
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
622 | guard anim.isKeyframe, hasFinished else { return }
623 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
SwiftCompile normal arm64_32 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:620:23: error: 'CAAnimationDelegate' is unavailable in watchOS
618 | // MARK: CAAnimationDelegate
619 |
620 | extension PlayButton: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
622 | guard anim.isKeyframe, hasFinished else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:948:56: error: 'CABasicAnimation' is unavailable in watchOS
946 | // MARK: Play -> Buffering -> Stop/Pause
947 |
948 | private func triangleToBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
949 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
950 | animation.animationKey = isLeft ? .triangleToHorizontalBar : .triangleToHorizontalBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:957:60: error: 'CABasicAnimation' is unavailable in watchOS
955 | }
956 |
957 | private func barRotateVerticalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
958 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.transform))
959 | animation.animationKey = isLeft ? .barRotateVertical : .barRotateVerticalRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:967:53: error: 'CABasicAnimation' is unavailable in watchOS
965 |
966 | /// runs concurrently with `barRotateVerticalAnimation`.
967 | private var barRotateVerticalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
968 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.fillColor))
969 | animation.animationKey = .barRotateVerticalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:977:58: error: 'CABasicAnimation' is unavailable in watchOS
975 |
976 | /// runs concurrently with `barRotateVerticalAnimation`.
977 | private var barRotateVerticalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
978 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.backgroundColor))
979 | animation.animationKey = .barRotateVerticalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:986:51: error: 'CABasicAnimation' is unavailable in watchOS
984 | }
985 |
986 | private func splitBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
987 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
988 | animation.animationKey = isLeft ? .splitBar : .splitBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:995:52: error: 'CABasicAnimation' is unavailable in watchOS
993 | }
994 |
995 | private func expandBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
996 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
997 | animation.animationKey = isLeft ? .expandBar : .expandBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64_32 Compiling\ AnimationGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:21: error: 'CALayer' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CALayer' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:30: error: 'CAAnimation' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CAAnimation' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:13:40: error: 'CABasicAnimation' is unavailable in watchOS
11 | func run() -> AnimationState {
12 | animations.forEach {
13 | if let basicAnimation = $0.1 as? CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | $0.0.addBasicAnimationSyncingModelWithPresentationLayer(animation: basicAnimation)
15 | } else if let keyframeAnimation = $0.1 as? CAKeyframeAnimation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationGroup.swift
SwiftCompile normal arm64_32 Compiling\ AnimationStates.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationStates.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ PlayButton (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:21: error: 'CALayer' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CALayer' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:30: error: 'CAAnimation' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CAAnimation' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift:51:11: error: 'CAAnimation' is unavailable in watchOS
49 | }
50 |
51 | extension CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
52 | var animationKey: PlayButton.AnimationKey? {
53 | get {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:3:11: error: 'CATransaction' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension CATransaction {
| `- error: 'CATransaction' is unavailable in watchOS
4 | static func withoutAnimation(_ block: () -> Void) {
5 | CATransaction.begin()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:13:70: error: 'CABasicAnimation' is unavailable in watchOS
11 |
12 | extension CALayer {
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:28:73: error: 'CAKeyframeAnimation' is unavailable in watchOS
26 | }
27 |
28 | func addKeyframeAnimationSyncingModelWithPresentationLayer(animation: CAKeyframeAnimation, forKey key: String? = nil) {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
29 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift:12:11: error: 'CALayer' is unavailable in watchOS
10 | }
11 |
12 | extension CALayer {
| `- error: 'CALayer' is unavailable in watchOS
13 | func addBasicAnimationSyncingModelWithPresentationLayer(animation: CABasicAnimation, forKey key: String? = nil) {
14 | guard let keypath = animation.keyPath else { fatalError("animation needs a keypath") }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:63:60: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
61 | }
62 |
63 | func becomeFocusedUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
64 | coordinator.addCoordinatedAnimations({ () -> Void in
65 | self.transform = CGAffineTransform(scaleX: 1.1, y: 1.1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift:73:58: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
71 | }
72 |
73 | func resignFocusUsingAnimationCoordinator(coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
74 | coordinator.addCoordinatedAnimations({ () -> Void in
75 | self.transform = .identity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:155:53: error: 'UIWindow' is unavailable in watchOS
153 | }
154 |
155 | override public func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
156 | super.willMove(toWindow: newWindow)
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:238:27: error: 'CAShapeLayer' is unavailable in watchOS
236 | ///
237 | /// Animations added to this layer are seen as primary animations which trigger subsequent animation groups once completed..
238 | private let leftShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
239 |
240 | /// The right shape layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:244:28: error: 'CAShapeLayer' is unavailable in watchOS
242 | /// This layer mimics the path and color of the `leftShape` except when animating to the `.pause` mode where it animates to the right.
243 | /// Animations added to this layer are seen as secondary animations which won't trigger subsequent animation groups once completed.
244 | private let rightShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
245 |
246 | /// The background circle layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:249:34: error: 'CALayer' is unavailable in watchOS
247 | ///
248 | /// The background circle layer can animate to a new color when entering/exiting the horizontal bar state.
249 | private let backgroundCircle = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
250 |
251 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:255:33: error: 'CALayer' is unavailable in watchOS
253 | ///
254 | /// The foreground layer is a child of the ``scaleLayer`` and contains the left and right shape layers.
255 | private let foregroundLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
256 |
257 | /// The scale layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:261:28: error: 'CALayer' is unavailable in watchOS
259 | /// The scale layer is used to scaled the child layers so the path parameters don't have to be recalculated. It is the only child of the
260 | /// button's layer and all animated layer are children of the scale layer.
261 | private let scaleLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
262 |
263 | // MARK: Durations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:374:31: error: 'UIHoverGestureRecognizer' is unavailable in watchOS
372 | @available(macCatalyst 13.0, iOS 13.0, *)
373 | @objc
374 | private func hover(gesture: UIHoverGestureRecognizer) {
| `- error: 'UIHoverGestureRecognizer' is unavailable in watchOS
375 | UIView.animate(
376 | withDuration: 0.3,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h:22:81: note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
20 | // On iOS, this gesture recognizer doesn't recognize anything and is effectively
21 | // a no-op.
22 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos) @interface UIHoverGestureRecognizer : UIGestureRecognizer
| `- note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | /// The normalized distance from the screen of the hovering device. This value will be 1 at the maximum distance
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:5:26: error: 'UIButton' is unavailable in watchOS
3 | /// A button that can render four different modes and animate between them.
4 | @IBDesignable
5 | public class PlayButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
6 | /// The target state of the button.
7 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:621:40: error: 'CAAnimation' is unavailable in watchOS
619 |
620 | extension PlayButton: CAAnimationDelegate {
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
622 | guard anim.isKeyframe, hasFinished else { return }
623 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:620:23: error: 'CAAnimationDelegate' is unavailable in watchOS
618 | // MARK: CAAnimationDelegate
619 |
620 | extension PlayButton: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
622 | guard anim.isKeyframe, hasFinished else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:948:56: error: 'CABasicAnimation' is unavailable in watchOS
946 | // MARK: Play -> Buffering -> Stop/Pause
947 |
948 | private func triangleToBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
949 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
950 | animation.animationKey = isLeft ? .triangleToHorizontalBar : .triangleToHorizontalBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:957:60: error: 'CABasicAnimation' is unavailable in watchOS
955 | }
956 |
957 | private func barRotateVerticalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
958 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.transform))
959 | animation.animationKey = isLeft ? .barRotateVertical : .barRotateVerticalRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:967:53: error: 'CABasicAnimation' is unavailable in watchOS
965 |
966 | /// runs concurrently with `barRotateVerticalAnimation`.
967 | private var barRotateVerticalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
968 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.fillColor))
969 | animation.animationKey = .barRotateVerticalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:977:58: error: 'CABasicAnimation' is unavailable in watchOS
975 |
976 | /// runs concurrently with `barRotateVerticalAnimation`.
977 | private var barRotateVerticalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
978 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.backgroundColor))
979 | animation.animationKey = .barRotateVerticalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:986:51: error: 'CABasicAnimation' is unavailable in watchOS
984 | }
985 |
986 | private func splitBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
987 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
988 | animation.animationKey = isLeft ? .splitBar : .splitBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:995:52: error: 'CABasicAnimation' is unavailable in watchOS
993 | }
994 |
995 | private func expandBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
996 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
997 | animation.animationKey = isLeft ? .expandBar : .expandBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1006:52: error: 'CABasicAnimation' is unavailable in watchOS
1004 | // MARK: Stop/Pause -> Buffering -> Play
1005 |
1006 | private func shrinkBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1007 | let forwardAnimation = expandBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1008 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1013:52: error: 'CABasicAnimation' is unavailable in watchOS
1011 | }
1012 |
1013 | private func mergeBarsAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1014 | let forwardAnimation = splitBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1015 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1020:62: error: 'CABasicAnimation' is unavailable in watchOS
1018 | }
1019 |
1020 | private func barRotateHorizontalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1021 | let forwardAnimation = barRotateVerticalAnimation(isLeft: isLeft)
1022 | forwardAnimation.toValue = CATransform3DIdentity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1028:55: error: 'CABasicAnimation' is unavailable in watchOS
1026 |
1027 | /// runs concurrently with `barRotateHorizontalAnimation`.
1028 | private var barRotateHorizontalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1029 | let forwardAnimation = barRotateVerticalShapeColorAnimation
1030 | forwardAnimation.animationKey = .barRotateHorizontalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1036:60: error: 'CABasicAnimation' is unavailable in watchOS
1034 |
1035 | /// runs concurrently with `barRotateHorizontalAnimation`.
1036 | private var barRotateHorizontalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1037 | let forwardAnimation = barRotateVerticalBackgroundColorAnimation
1038 | forwardAnimation.animationKey = .barRotateHorizontalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1043:56: error: 'CABasicAnimation' is unavailable in watchOS
1041 | }
1042 |
1043 | private func barToTriangleAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1044 | let forwardAnimation = triangleToBarAnimation(isLeft: isLeft)
1045 | forwardAnimation.animationKey = isLeft ? .barToTriangle : .barToTriangleRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1052:52: error: 'CAKeyframeAnimation' is unavailable in watchOS
1050 | // MARK: Buffering Animation
1051 |
1052 | private func bufferingAnimation(isLeft: Bool) -> CAKeyframeAnimation {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
1053 | let animation = CAKeyframeAnimation(keyPath: #keyPath(CAShapeLayer.path))
1054 | animation.values = [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1071:48: error: 'CABasicAnimation' is unavailable in watchOS
1069 | }
1070 |
1071 | private func bufferingToBar(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1072 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
1073 | animation.animationKey = isLeft ? .bufferingToBar : .bufferingToBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CA+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton+tvOS.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PlayButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton_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/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PlayButton.build/Debug-watchos/PlayButton-t.build/Objects-normal/arm64/PlayButton.abi.json
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AnimationStates.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationStates.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationStates.swift
SwiftCompile normal arm64 Compiling\ AnimationGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:21: error: 'CALayer' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CALayer' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:6:30: error: 'CAAnimation' is unavailable in watchOS
4 | struct AnimationGroup {
5 | /// A mapping from the animations to their target layer
6 | let animations: [(CALayer, CAAnimation)]
| `- error: 'CAAnimation' is unavailable in watchOS
7 | /// The state resulting from running the animation
8 | let resultState: AnimationState
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:13:40: error: 'CABasicAnimation' is unavailable in watchOS
11 | func run() -> AnimationState {
12 | animations.forEach {
13 | if let basicAnimation = $0.1 as? CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
14 | $0.0.addBasicAnimationSyncingModelWithPresentationLayer(animation: basicAnimation)
15 | } else if let keyframeAnimation = $0.1 as? CAKeyframeAnimation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnimationGroup.swift
SwiftCompile normal arm64 Compiling\ Modes.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/Modes.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Modes.swift
SwiftCompile normal arm64 Compiling\ PlayButton.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift (in target 'PlayButton' from project 'PlayButton')
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:155:53: error: 'UIWindow' is unavailable in watchOS
153 | }
154 |
155 | override public func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
156 | super.willMove(toWindow: newWindow)
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:238:27: error: 'CAShapeLayer' is unavailable in watchOS
236 | ///
237 | /// Animations added to this layer are seen as primary animations which trigger subsequent animation groups once completed..
238 | private let leftShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
239 |
240 | /// The right shape layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:244:28: error: 'CAShapeLayer' is unavailable in watchOS
242 | /// This layer mimics the path and color of the `leftShape` except when animating to the `.pause` mode where it animates to the right.
243 | /// Animations added to this layer are seen as secondary animations which won't trigger subsequent animation groups once completed.
244 | private let rightShape = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
245 |
246 | /// The background circle layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:249:34: error: 'CALayer' is unavailable in watchOS
247 | ///
248 | /// The background circle layer can animate to a new color when entering/exiting the horizontal bar state.
249 | private let backgroundCircle = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
250 |
251 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:255:33: error: 'CALayer' is unavailable in watchOS
253 | ///
254 | /// The foreground layer is a child of the ``scaleLayer`` and contains the left and right shape layers.
255 | private let foregroundLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
256 |
257 | /// The scale layer.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:261:28: error: 'CALayer' is unavailable in watchOS
259 | /// The scale layer is used to scaled the child layers so the path parameters don't have to be recalculated. It is the only child of the
260 | /// button's layer and all animated layer are children of the scale layer.
261 | private let scaleLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
262 |
263 | // MARK: Durations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:374:31: error: 'UIHoverGestureRecognizer' is unavailable in watchOS
372 | @available(macCatalyst 13.0, iOS 13.0, *)
373 | @objc
374 | private func hover(gesture: UIHoverGestureRecognizer) {
| `- error: 'UIHoverGestureRecognizer' is unavailable in watchOS
375 | UIView.animate(
376 | withDuration: 0.3,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h:22:81: note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
20 | // On iOS, this gesture recognizer doesn't recognize anything and is effectively
21 | // a no-op.
22 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos) @interface UIHoverGestureRecognizer : UIGestureRecognizer
| `- note: 'UIHoverGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | /// The normalized distance from the screen of the hovering device. This value will be 1 at the maximum distance
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:5:26: error: 'UIButton' is unavailable in watchOS
3 | /// A button that can render four different modes and animate between them.
4 | @IBDesignable
5 | public class PlayButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
6 | /// The target state of the button.
7 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:621:40: error: 'CAAnimation' is unavailable in watchOS
619 |
620 | extension PlayButton: CAAnimationDelegate {
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
622 | guard anim.isKeyframe, hasFinished else { return }
623 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:620:23: error: 'CAAnimationDelegate' is unavailable in watchOS
618 | // MARK: CAAnimationDelegate
619 |
620 | extension PlayButton: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
621 | public func animationDidStop(_ anim: CAAnimation, finished hasFinished: Bool) {
622 | guard anim.isKeyframe, hasFinished else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:948:56: error: 'CABasicAnimation' is unavailable in watchOS
946 | // MARK: Play -> Buffering -> Stop/Pause
947 |
948 | private func triangleToBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
949 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
950 | animation.animationKey = isLeft ? .triangleToHorizontalBar : .triangleToHorizontalBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:957:60: error: 'CABasicAnimation' is unavailable in watchOS
955 | }
956 |
957 | private func barRotateVerticalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
958 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.transform))
959 | animation.animationKey = isLeft ? .barRotateVertical : .barRotateVerticalRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:967:53: error: 'CABasicAnimation' is unavailable in watchOS
965 |
966 | /// runs concurrently with `barRotateVerticalAnimation`.
967 | private var barRotateVerticalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
968 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.fillColor))
969 | animation.animationKey = .barRotateVerticalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:977:58: error: 'CABasicAnimation' is unavailable in watchOS
975 |
976 | /// runs concurrently with `barRotateVerticalAnimation`.
977 | private var barRotateVerticalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
978 | let animation = CABasicAnimation(keyPath: #keyPath(CALayer.backgroundColor))
979 | animation.animationKey = .barRotateVerticalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:986:51: error: 'CABasicAnimation' is unavailable in watchOS
984 | }
985 |
986 | private func splitBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
987 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
988 | animation.animationKey = isLeft ? .splitBar : .splitBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:995:52: error: 'CABasicAnimation' is unavailable in watchOS
993 | }
994 |
995 | private func expandBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
996 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
997 | animation.animationKey = isLeft ? .expandBar : .expandBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1006:52: error: 'CABasicAnimation' is unavailable in watchOS
1004 | // MARK: Stop/Pause -> Buffering -> Play
1005 |
1006 | private func shrinkBarAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1007 | let forwardAnimation = expandBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1008 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1013:52: error: 'CABasicAnimation' is unavailable in watchOS
1011 | }
1012 |
1013 | private func mergeBarsAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1014 | let forwardAnimation = splitBarAnimation(isLeft: isLeft) // since `toValue` is the same, the side doesn't matter
1015 | forwardAnimation.toValue = horizontalBarPath()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1020:62: error: 'CABasicAnimation' is unavailable in watchOS
1018 | }
1019 |
1020 | private func barRotateHorizontalAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1021 | let forwardAnimation = barRotateVerticalAnimation(isLeft: isLeft)
1022 | forwardAnimation.toValue = CATransform3DIdentity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1028:55: error: 'CABasicAnimation' is unavailable in watchOS
1026 |
1027 | /// runs concurrently with `barRotateHorizontalAnimation`.
1028 | private var barRotateHorizontalShapeColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1029 | let forwardAnimation = barRotateVerticalShapeColorAnimation
1030 | forwardAnimation.animationKey = .barRotateHorizontalShapeColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1036:60: error: 'CABasicAnimation' is unavailable in watchOS
1034 |
1035 | /// runs concurrently with `barRotateHorizontalAnimation`.
1036 | private var barRotateHorizontalBackgroundColorAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1037 | let forwardAnimation = barRotateVerticalBackgroundColorAnimation
1038 | forwardAnimation.animationKey = .barRotateHorizontalBackgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1043:56: error: 'CABasicAnimation' is unavailable in watchOS
1041 | }
1042 |
1043 | private func barToTriangleAnimation(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1044 | let forwardAnimation = triangleToBarAnimation(isLeft: isLeft)
1045 | forwardAnimation.animationKey = isLeft ? .barToTriangle : .barToTriangleRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1052:52: error: 'CAKeyframeAnimation' is unavailable in watchOS
1050 | // MARK: Buffering Animation
1051 |
1052 | private func bufferingAnimation(isLeft: Bool) -> CAKeyframeAnimation {
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
1053 | let animation = CAKeyframeAnimation(keyPath: #keyPath(CAShapeLayer.path))
1054 | animation.values = [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift:1071:48: error: 'CABasicAnimation' is unavailable in watchOS
1069 | }
1070 |
1071 | private func bufferingToBar(isLeft: Bool) -> CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
1072 | let animation = CABasicAnimation(keyPath: #keyPath(CAShapeLayer.path))
1073 | animation.animationKey = isLeft ? .bufferingToBar : .bufferingToBarRight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CGPath+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/CGPath+Extensions.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGPath+Extensions.swift
SwiftCompile normal arm64_32 Compiling\ PlayButtonPreviews.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButtonPreviews.swift (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PlayButtonPreviews.swift
SwiftCompile normal arm64_32 Compiling\ PlayButton.swift /Users/admin/builder/spi-builder-workspace/Sources/PlayButton/PlayButton.swift (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64_32 (in target 'PlayButton' from project 'PlayButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-27 19:00:14.311 xcodebuild[848:5046] [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\ PlayButton (in target 'PlayButton' from project 'PlayButton')
SwiftCompile normal arm64 (in target 'PlayButton' from project 'PlayButton')
Building workspace PlayButton with scheme PlayButton
(3 failures)
BUILD FAILURE 6.4 watchOS