Build Information
Failed to build SwiftUINavigationHeader, reference main (5f9530), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 05:07:03 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 SwiftUINavigationHeader -destination generic/platform=watchOSBuild Log
SwiftDriver SwiftUINavigationHeader normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
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 SwiftUINavigationHeader -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader.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/PackageFrameworks -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader_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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64_32 Compiling Curve.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64 Compiling SmoothLinearGradient.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64 Compiling Curve.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64_32 Compiling GradientInterpolator.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64_32 Compiling Gradient+Smooth.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64 Compiling Gradient+Smooth.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64_32 Compiling SmoothLinearGradient.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64 Compiling CubicBezierCurve.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriverJobDiscovery normal arm64_32 Compiling CubicBezierCurve.swift (in target 'SmoothGradient' from project 'SmoothGradient')
SwiftDriver\ Compilation SmoothGradient normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SmoothGradient -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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 -suppress-warnings -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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient-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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient-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 -package-name smoothgradient -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient_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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver\ Compilation SmoothGradient normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SmoothGradient -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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 -suppress-warnings -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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient-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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient-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 -package-name smoothgradient -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient_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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-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/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/Binary/SmoothGradient.o normal arm64 (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SmoothGradient
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-watchos9.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/Binary/SmoothGradient.o
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/Binary/SmoothGradient.o normal arm64_32 (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SmoothGradient
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64_32-apple-watchos9.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/Binary/SmoothGradient.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SmoothGradient.o normal arm64\ arm64_32 (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SmoothGradient
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/Binary/SmoothGradient.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/Binary/SmoothGradient.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SmoothGradient.o
ExtractAppIntentsMetadata (in target 'SmoothGradient' from project 'SmoothGradient')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SmoothGradient
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.Pb6u0E/Metal.xctoolchain --module-name SmoothGradient --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk --xcode-version 27A266a --platform-family watchOS --deployment-target 9.0 --bundle-identifier smoothgradient.SmoothGradient --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SmoothGradient.appintents --target-triple arm64-apple-watchos9.0 --target-triple arm64_32-apple-watchos9.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SmoothGradient.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/SmoothGradient.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/SmoothGradient.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64/SmoothGradient.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SmoothGradient.build/Debug-watchos/SmoothGradient-t.build/Objects-normal/arm64_32/SmoothGradient.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-23 01:06:57.121 appintentsmetadataprocessor[845:4822] Starting appintentsmetadataprocessor export
2026-09-23 01:06:57.226 appintentsmetadataprocessor[845:4822] Extracted no relevant App Intents symbols, skipping writing output
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUINavigationHeader (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64_32 (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUINavigationHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:73:44: error: 'UIViewController' is unavailable in watchOS
71 | }
72 |
73 | class NavigationViewWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:36:39: error: cannot find type 'UIViewControllerRepresentable' in scope
34 | }
35 |
36 | fileprivate struct NavigationBarView: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
37 | let barState: BarState
38 | let defaultTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:8:93: error: value of type 'NavigationBarView' has no member 'frame'
6 | func navigationBarState(_ barState: BarState, displayMode: NavigationBarItem.TitleDisplayMode = .inline, defaultTintColor: UIColor? = nil) -> some View {
7 | return navigationBarTitleDisplayMode(displayMode)
8 | .overlay(NavigationBarView(state: barState, defaultTintColor: defaultTintColor).frame(width: 0, height: 0))
| `- error: value of type 'NavigationBarView' has no member 'frame'
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:13:102: error: value of type 'NavigationBarView' has no member 'frame'
11 | func navigationBarState(_ barState: BarState, displayMode: NavigationBarItem.TitleDisplayMode = .inline, defaultTintColor: Color) -> some View {
12 | return navigationBarTitleDisplayMode(displayMode)
13 | .overlay(NavigationBarView(state: barState, defaultTintColor: UIColor(defaultTintColor)).frame(width: 0, height: 0))
| `- error: value of type 'NavigationBarView' has no member 'frame'
14 | }
15 | }
SwiftCompile normal arm64_32 Compiling\ NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:57:41: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
55 | if #available(iOS 17.0, *) {
56 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
57 | SmoothLinearGradient(from: self.topGradientTopColor, to: self.topGradientTopColor.opacity(0.0), startPoint: .top, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
58 | } else {
59 | LinearGradient(gradient: self.topGradient, startPoint: .top, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:45: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:79: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:122: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:77:103: error: 'systemBackground' is unavailable in watchOS
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
78 | }
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationHeaderContainer.swift
SwiftCompile normal arm64_32 Compiling\ ColorComparison.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ColorComparison.swift
SwiftCompile normal arm64_32 Compiling\ ToolbarItemExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolbarItemExtension.swift
SwiftCompile normal arm64 Compiling\ ColorComparison.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ColorComparison.swift
SwiftCompile normal arm64 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.dia -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader-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/PackageFrameworks -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUINavigationHeader -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader_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 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader.swiftmodule -index-unit-output-path /SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/Extensions.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extensions.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUINavigationHeader (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 Compiling\ ToolbarItemExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolbarItemExtension.swift
SwiftCompile normal arm64 Compiling\ NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationHeaderContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:57:41: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
55 | if #available(iOS 17.0, *) {
56 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
57 | SmoothLinearGradient(from: self.topGradientTopColor, to: self.topGradientTopColor.opacity(0.0), startPoint: .top, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
58 | } else {
59 | LinearGradient(gradient: self.topGradient, startPoint: .top, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:45: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:79: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:122: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
SwiftCompile normal arm64_32 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extensions.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 Compiling\ SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUINavigationHeader.swift
SwiftDriverJobDiscovery normal arm64 Compiling ColorComparison.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftDriverJobDiscovery normal arm64_32 Compiling ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftDriverJobDiscovery normal arm64 Compiling ToolbarItemExtension.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 01:06:47.697 xcodebuild[660:4007] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
Building workspace SwiftUINavigationHeader with scheme SwiftUINavigationHeader
(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:
SwiftUINavigationHeader: /Users/admin/builder/spi-builder-workspace
SmoothGradient: https://github.com/raymondjavaxx/SmoothGradient.git @ 1.0.1
resolved source packages: SwiftUINavigationHeader, SmoothGradient
2026-09-23 01:06:58.882 xcodebuild[858:5004] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "smoothgradient",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/raymondjavaxx/SmoothGradient.git"
}
],
"manifest_display_name" : "SwiftUINavigationHeader",
"name" : "SwiftUINavigationHeader",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftUINavigationHeader",
"targets" : [
"SwiftUINavigationHeader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUINavigationHeaderTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUINavigationHeaderTests",
"path" : "Tests/SwiftUINavigationHeaderTests",
"sources" : [
"SwiftUINavigationHeaderTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUINavigationHeader"
],
"type" : "test"
},
{
"c99name" : "SwiftUINavigationHeader",
"module_type" : "SwiftTarget",
"name" : "SwiftUINavigationHeader",
"path" : "Sources/SwiftUINavigationHeader",
"product_dependencies" : [
"SmoothGradient"
],
"product_memberships" : [
"SwiftUINavigationHeader"
],
"sources" : [
"ColorComparison.swift",
"Extensions.swift",
"NavigationHeaderContainer.swift",
"SwiftUINavigationHeader.swift",
"ToolbarItemExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "SwiftUINavigationHeader",
"schemes" : [
"SwiftUINavigationHeader"
]
}
}
2026-09-23 01:07:00.253 xcodebuild[866:5068] [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 SwiftUINavigationHeader -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 SwiftUINavigationHeader -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUINavigationHeader: /Users/admin/builder/spi-builder-workspace
SmoothGradient: https://github.com/raymondjavaxx/SmoothGradient.git @ 1.0.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
Target 'SwiftUINavigationHeader-product' in project 'SwiftUINavigationHeader'
➜ Explicit dependency on target 'SwiftUINavigationHeader' in project 'SwiftUINavigationHeader'
➜ Explicit dependency on target 'SmoothGradient-product' in project 'SmoothGradient'
Target 'SwiftUINavigationHeader' in project 'SwiftUINavigationHeader'
➜ Explicit dependency on target 'SmoothGradient-product' in project 'SmoothGradient'
Target 'SmoothGradient-product' in project 'SmoothGradient'
➜ Explicit dependency on target 'SmoothGradient' in project 'SmoothGradient'
➜ Explicit dependency on target 'SmoothGradient_SmoothGradient' in project 'SmoothGradient'
Target 'SmoothGradient' in project 'SmoothGradient'
➜ Explicit dependency on target 'SmoothGradient_SmoothGradient' in project 'SmoothGradient'
Target 'SmoothGradient_SmoothGradient' in project 'SmoothGradient' (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 SwiftUINavigationHeader normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
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 SwiftUINavigationHeader -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader.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/PackageFrameworks -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader_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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUINavigationHeader normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
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 SwiftUINavigationHeader -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader.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/PackageFrameworks -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader_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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64/SwiftUINavigationHeader-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\ SwiftUINavigationHeader (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64_32 (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extensions.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUINavigationHeader (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:12:25: error: 'UIView' is unavailable in watchOS
10 | extension UINavigationBar {
11 |
12 | var backgroundView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | return subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UIBarBackground" })
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:16:25: error: 'UIView' is unavailable in watchOS
14 | }
15 |
16 | var rawContentView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
17 | subviews.first(where: { NSStringFromClass($0.classForCoder) == "_UINavigationBarContentView" })
18 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:20:25: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | var rawBarButtons: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
21 | return rawContentView?.subviews ?? [] //.filter({ NSStringFromClass($0.classForCoder) == "_UIButtonBarButton" }) ?? []
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift:10:11: error: 'UINavigationBar' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
11 |
12 | var backgroundView: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ColorComparison.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/ToolbarItemExtension.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.dia -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -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/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUINavigationHeader -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/SwiftUINavigationHeader.swiftmodule -index-unit-output-path /SwiftUINavigationHeader.build/Debug-watchos/SwiftUINavigationHeader-t.build/Objects-normal/arm64_32/Extensions.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extensions.swift
SwiftCompile normal arm64_32 Compiling\ NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationHeaderContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:57:41: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
55 | if #available(iOS 17.0, *) {
56 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
57 | SmoothLinearGradient(from: self.topGradientTopColor, to: self.topGradientTopColor.opacity(0.0), startPoint: .top, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
58 | } else {
59 | LinearGradient(gradient: self.topGradient, startPoint: .top, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:45: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:79: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:122: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:77:103: error: 'systemBackground' is unavailable in watchOS
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
78 | }
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
SwiftCompile normal arm64 Compiling\ NavigationHeaderContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:19:43: error: 'systemBlue' is unavailable in watchOS
17 |
18 | private var headerHeight: ((CGSize) -> CGFloat)?
19 | private var baseTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
20 |
21 | @Environment(\.colorScheme) private var colorScheme
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:57:41: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
55 | if #available(iOS 17.0, *) {
56 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
57 | SmoothLinearGradient(from: self.topGradientTopColor, to: self.topGradientTopColor.opacity(0.0), startPoint: .top, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
58 | } else {
59 | LinearGradient(gradient: self.topGradient, startPoint: .top, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:45: error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
9 | import SmoothGradient
10 |
11 | public struct NavigationHeaderContainer<Header, Content, Toolbar>: View where Header: View, Content: View, Toolbar: ToolbarContent {
| `- note: add '@available' attribute to enclosing generic struct
12 | let header: Header
13 | let content: Content
:
37 | }
38 |
39 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
40 | GeometryReader { outerGeo in
41 | ScrollView {
:
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| |- error: 'SmoothLinearGradient' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:79: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:75:122: error: 'systemBackground' is unavailable in watchOS
73 | if #available(iOS 17.0, *) {
74 | // clear color must be represented as same color with opacity 0 to not have e.g. `black` leak in when transitioning from white
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift:77:103: error: 'systemBackground' is unavailable in watchOS
75 | SmoothLinearGradient(from: Color(.systemBackground).opacity(0.0), to: Color(.systemBackground), startPoint: .center, endPoint: .bottom)
76 | } else {
77 | LinearGradient(gradient: Gradient(colors: [.clear, Color(.systemBackground)]), startPoint: .center, endPoint: .bottom)
| `- error: 'systemBackground' is unavailable in watchOS
78 | }
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/NavigationHeaderContainer.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationHeaderContainer.swift
SwiftCompile normal arm64_32 Compiling\ SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:73:44: error: 'UIViewController' is unavailable in watchOS
71 | }
72 |
73 | class NavigationViewWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:36:39: error: cannot find type 'UIViewControllerRepresentable' in scope
34 | }
35 |
36 | fileprivate struct NavigationBarView: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
37 | let barState: BarState
38 | let defaultTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:8:93: error: value of type 'NavigationBarView' has no member 'frame'
6 | func navigationBarState(_ barState: BarState, displayMode: NavigationBarItem.TitleDisplayMode = .inline, defaultTintColor: UIColor? = nil) -> some View {
7 | return navigationBarTitleDisplayMode(displayMode)
8 | .overlay(NavigationBarView(state: barState, defaultTintColor: defaultTintColor).frame(width: 0, height: 0))
| `- error: value of type 'NavigationBarView' has no member 'frame'
9 | }
10 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUINavigationHeader.swift
SwiftCompile normal arm64 Compiling\ SwiftUINavigationHeader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:47:40: error: cannot find type 'Context' in scope
45 | }
46 |
47 | func makeUIViewController(context: Context) -> NavigationViewWrapperController {
| `- error: cannot find type 'Context' in scope
48 | let vc = NavigationViewWrapperController()
49 | if let defaultTintColor = defaultTintColor {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:56:95: error: cannot find type 'Context' in scope
54 | }
55 |
56 | func updateUIViewController(_ uiViewController: NavigationViewWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
57 | uiViewController.setNavigationBarTransitionState(barState)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:76:42: error: 'systemBlue' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
76 | var defaultTintColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
77 | var inHeaderContainer = false
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:93:36: error: 'UINavigationBar' is unavailable in watchOS
91 | }
92 |
93 | private var navigationBar: UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
94 | //(view.next as? UIViewController)?.navigationController?.navigationBar
95 | return findNavBar(self.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:44: error: 'UIView' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UIView' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:208:56: error: 'UINavigationBar' is unavailable in watchOS
206 |
207 |
208 | private func findNavBar(_ subview: UIView?) -> UINavigationBar? {
| `- error: 'UINavigationBar' is unavailable in watchOS
209 | guard let subview = subview else { return nil }
210 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:73:44: error: 'UIViewController' is unavailable in watchOS
71 | }
72 |
73 | class NavigationViewWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
74 |
75 | var currentBarState: BarState = .expanded
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:36:39: error: cannot find type 'UIViewControllerRepresentable' in scope
34 | }
35 |
36 | fileprivate struct NavigationBarView: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
37 | let barState: BarState
38 | let defaultTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:8:93: error: value of type 'NavigationBarView' has no member 'frame'
6 | func navigationBarState(_ barState: BarState, displayMode: NavigationBarItem.TitleDisplayMode = .inline, defaultTintColor: UIColor? = nil) -> some View {
7 | return navigationBarTitleDisplayMode(displayMode)
8 | .overlay(NavigationBarView(state: barState, defaultTintColor: defaultTintColor).frame(width: 0, height: 0))
| `- error: value of type 'NavigationBarView' has no member 'frame'
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift:13:102: error: value of type 'NavigationBarView' has no member 'frame'
11 | func navigationBarState(_ barState: BarState, displayMode: NavigationBarItem.TitleDisplayMode = .inline, defaultTintColor: Color) -> some View {
12 | return navigationBarTitleDisplayMode(displayMode)
13 | .overlay(NavigationBarView(state: barState, defaultTintColor: UIColor(defaultTintColor)).frame(width: 0, height: 0))
| `- error: value of type 'NavigationBarView' has no member 'frame'
14 | }
15 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/SwiftUINavigationHeader.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUINavigationHeader.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 01:07:01.489 xcodebuild[867:5103] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationHeader/Extensions.swift (in target 'SwiftUINavigationHeader' from project 'SwiftUINavigationHeader')
Building workspace SwiftUINavigationHeader with scheme SwiftUINavigationHeader
(3 failures)
BUILD FAILURE 6.4 watchOS