Build Information
Failed to build SwiftlySearch, reference v1.2.5 (a71844), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 17:47:06 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 SwiftlySearch -destination generic/platform=watchOSBuild Log
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch_const_extract_protocols.json (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-OutputFileMap.json (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_const_extract_protocols.json (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.SwiftConstValuesFileList (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftFileList (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftConstValuesFileList (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.LinkFileList (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-OutputFileMap.json (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/SwiftlySearch.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/SwiftlySearch.modulemap (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/SwiftlySearch.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver SwiftlySearch normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftlySearch' from project 'SwiftlySearch')
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 SwiftlySearch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftlySearch normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftlySearch' from project 'SwiftlySearch')
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 SwiftlySearch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch_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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-H44EFHQX6XSS5MZ7QP6YJZ76.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-DZU5G1OCMNWU0AQRULIFHUJ1Z.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-A967K8W8YUYEC9SN52KJ7OO88.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-BFXF358ME5AK535N5A9Z766WU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-D305JG44A2WPI6CJY37X3QJE8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-244WAN3Z1QBT7PIA64EZEFY1R.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-7ELIH9BTIGVKX3UBITM9N72WD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6KO8O3PEWRCA4WC6PPLOYO6WJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-9CQQGWTSNTN9EB5NSHDWUJICH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-6RTBPQ03V7BM9SPRK8SUE055H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-1FU30Y8SWFB7OUUHMJQH5J6FM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-3TZ9WJCGLYD25HQPWH4968ONX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-659N52XSKR5F0QSB880BH2FJR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-AIF0NDOYZ8ORBNHQAQR5NNB8M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-A7UU8LE6MP85SM26YO7PBZNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-C0CW5Q4HGBQYKE77TC42IAFB5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BUNV3UXM65NT37THI4W1AM0SF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-4MXFZPV6FEB0XBYXCGPWAMQGL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-E7CNISCB36UE8XQ9IOHK9XDX1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-83J96QSOFE9VX04AAS6310UAE.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-2GWF9RFMPLQW4PDHS3NARVI3G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7SPX3MD0HMP55E4OLNCPNDQ53.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-3VKBU2AFTD65PAJZ5CJ3LHFM2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-9MY8GOSYRO0M9MKNXF6D3MBNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-D0XAPJU49S5E9XMKYOFGSTB1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-9GWPA2B0H20DYUNYHYCWKABJG.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8TLLMW08ZJWDGIIPKOYFGHHZW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-23PGCKURCQILXMK0MYZRYDCOU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-1HMXWI3V0V4TXHRWZOMZGZ80Y.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BFVLUQUSBZWYMLCU9QI7VZALW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-E6PRXK75PHIPCZFWOFCQ3QBMK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-2KXQLI78OUCDP779AE68GZJ2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-8NQ96OZ0YHXEC24JI95P01UF8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8XMILLJZEGRN2XG7XZUXZ5RLX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-196IIAKDQVU42DLOZP9OQCV76.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-3DUTYQDQSD9HUAAVY947NMWOI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-1TY035TURL76BF2U98PZPPZRX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-75960HIPCIYA06IUW8FIIPQT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-7JEFA3KBJJJN6TKJWY3OG1VG5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-B97LRG0E9GON2NUE65TVG81HU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-D2KPCR4PEX9AQA33NGLUT5SBR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-3UQSCM7WNM9EK4HZML8TY5J3D.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3FVT1SKLN2ZQ5RVOABMTQBB34.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3984OXKFNSPE77NT743WK8SEX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-21UNWYOBUZI1LVSQ99S1XBLMO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-EH08NODU6574T74ZKU61VP9BW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-56838ZJ0NC1EBAJ0O6O8QMPDX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-6IJNELR2E80E7LUKESVCP2KET.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-2U90NNSAQILBNBPS1SA4F8TYP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-72IVD3VS2RS8Q28D9PIMY0KQP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-5YWTC6L4756IWSTPGXS5NM0D0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3SDKD7F87FTZ26OON37DRYT6O.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-5JHTPDMNBUNHLJI8LPHKQK1JK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-89GG5G7YC2D0ZTK6AZXXQ20DH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-CWVWNML3T0NXVHZDKVLD3X1YZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-44FJGYXFAT2AQAW9Z6T7YS02U.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-2P62F1T4XV63S4P99TUDTOK2Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1NLJOVAK60XP0DUB05XA59EIM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8T2L24YC5NU7WO6WQJWRY7W08.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-40DR0X1DHKGCV4J1IOLFS8MOU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-81Y45QFY96XYYFCW2GT6FY8S4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8E6Y4BA3EXYKUGJ24GT9LGV3N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-5DIL6Z9LFIGLMZAHM7X2T5435.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-E5IGB442IA6SBB25TTCOLK2OC.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-9GVB1DHA32M46R4A9NWSI3I2K.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-9FDXYX6BKBUT6TJ2VF819E7T5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-D7TOWF88VWF67TB9HAFP5UWB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-6RZ6YBRU8WCUHRFFRVUK5WKMM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-DWNZ73GEH98SBJXZ7DEXB420K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-A9MF7N5LT63G21HNFVM6BT14B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-1B79RJJTP71GE6UY9WLESAN3C.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-5W6MX6OUPWBMUR8VD5LHT1PZF.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BJ2VQGI3OGR34500MEQ1VKHPH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-DLBKUSGXN8QHAT8W0OARR9S8A.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C9X2REPZN2V5BSU4G80FCETDR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2P8HI0403J99LBDPKNFJ5D4DL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-8MRR5MNWUOAW2DBPGUQ8FKK4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-970YJN6NIYGK1316L35Z0O8QT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-AO387T8CHWTTZODD1DGT0UAFA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-1AJVCUZNAO74KIKMFVFUUHWDI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-5ZZDGDXB6HLQUC72SJW7YJ7MK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-9JFJC4UET8BAO5IPV2JU6W9V8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-9PPG3SLJ55T4LITIFYX2M0NOZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-IR7RNW23VAUKYI9MLCS9NL9A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-8L08Q8DQJV8C4AW84YVGFGTRN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-B7VGO357Y3GJG35TST7DKDSI3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-27QMG6ZQ1NKYTNBYFPM1XKNFC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-ARAH8MEQ0C2L0FBO39HITJMAO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-3EFABTJ9L5PQDJ7RQCYQWEJMM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-94KFMWNOU7ZLUZNB4T5DLZC9D.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-AQ1OL9QKC3LQLY5CNSRM1HB53.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-U9BF7WHFVA6BZGFXXXP272PS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-7AU1AFQWUH88EAPDKVMLJPKVD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-DKNLHKM5FJBQ79LSNMSSMBUBR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-1H97WMG76HU94F5VGJR19PXFY.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-6375NPYACK5NYVHPMC1QQ8MC2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-6TBN8TEAKO014N1T2QD926XED.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-ACKJ9K7ABI14F97Y46Y6SRR17.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-CJZ3NTHPSBH4XWX5EVOG56UZS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-C1DST1IX2Z0PTH5SJJZ1IULRB.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-9YFVNIMRC5HRVOIARNWHP1E3H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-8XU5YMYM4P11RQMYCQAG65ITK.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-5D4IR6X37682FPHJ5CBPTKQV6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-D9AVFY0KWO7RVBIQ73CBIJVCN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-7BNVI1SZW5ISQL5SX4WL2X7I5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-6RD5K48QT1F4L9CATNFD2O7YB.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-F385OMZ5GYBUY5O4QAJB4NRII.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-5HZKIL7XETTTD8TOHYPN8JKRJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-3Q7WLRD8MR9R3NGIPUBQCP6F6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-1XGTVTE5PP32UHME8AC63TL6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-27R3P1YMV4C6JLDT661G3MRIA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-6PPV7YPZ89CZPHYAP072QH8B6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-DTS1N4AWILAL1URZ5IOXV5221.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-EJJWC7IL56MPLQMI93GJRE5OG.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-CWGB4YMP1VX1NYQN5FULFD5DR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-DUDZOMSN3UK8GNTNBNMPIWJRN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-3VT3K8YON6FJ6OWSUFJMFMP8J.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-FHF6WTKLC2APGK3LA2XJ6516.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-APXDH8ULYLM6FD17YRA73TULO.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-9AYG9OCT5VOJK7V4MX1WYR86T.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
Failed frontend command:
SwiftCompile normal arm64 (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftlySearch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.abi.json
SwiftCompile normal arm64 Compiling\ SwiftlySearch.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftlySearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:27:281: error: value of type 'SearchBar<AnyView>' has no member 'frame'
25 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
26 | func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
27 | return overlay(SearchBar<AnyView>(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<AnyView>' has no member 'frame'
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:33:302: error: value of type 'SearchBar<ResultContent>' has no member 'frame'
31 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
32 | func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
33 | return overlay(SearchBar(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked, resultContent: resultContent).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<ResultContent>' has no member 'frame'
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:71: error: cannot find type 'UIHostingController' in scope
67 |
68 | if let resultView = resultContent(text) {
69 | (controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
| `- error: cannot find type 'UIHostingController' in scope
70 | }
71 | }
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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 | /*
SwiftCompile normal arm64_32 (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ SwiftlySearch.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftlySearch.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-17 13:46:57.217 xcodebuild[651:4172] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftlySearch' from project 'SwiftlySearch')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
Building workspace SwiftlySearch with scheme SwiftlySearch
(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:
SwiftlySearch: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftlySearch
2026-09-17 13:47:03.625 xcodebuild[790:4710] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftlySearch",
"name" : "SwiftlySearch",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftlySearch",
"targets" : [
"SwiftlySearch"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftlySearch",
"module_type" : "SwiftTarget",
"name" : "SwiftlySearch",
"path" : "Sources/SwiftlySearch",
"product_memberships" : [
"SwiftlySearch"
],
"sources" : [
"SwiftlySearch.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
{
"workspace" : {
"name" : "SwiftlySearch",
"schemes" : [
"SwiftlySearch"
]
}
}
2026-09-17 13:47:04.826 xcodebuild[798:4777] [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 SwiftlySearch -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 SwiftlySearch -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftlySearch: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SwiftlySearch-product' in project 'SwiftlySearch'
➜ Explicit dependency on target 'SwiftlySearch' in project 'SwiftlySearch'
Target 'SwiftlySearch' in project 'SwiftlySearch' (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 SwiftlySearch normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftlySearch' from project 'SwiftlySearch')
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 SwiftlySearch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch_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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftlySearch normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftlySearch' from project 'SwiftlySearch')
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 SwiftlySearch -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-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\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftlySearch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64_32/SwiftlySearch.abi.json
SwiftCompile normal arm64_32 Compiling\ SwiftlySearch.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftlySearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:27:281: error: value of type 'SearchBar<AnyView>' has no member 'frame'
25 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
26 | func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
27 | return overlay(SearchBar<AnyView>(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<AnyView>' has no member 'frame'
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:33:302: error: value of type 'SearchBar<ResultContent>' has no member 'frame'
31 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
32 | func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
33 | return overlay(SearchBar(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked, resultContent: resultContent).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<ResultContent>' has no member 'frame'
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:71: error: cannot find type 'UIHostingController' in scope
67 |
68 | if let resultView = resultContent(text) {
69 | (controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
| `- error: cannot find type 'UIHostingController' in scope
70 | }
71 | }
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/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/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftlySearch -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftlySearch.build/Debug-watchos/SwiftlySearch-t.build/Objects-normal/arm64/SwiftlySearch.abi.json
SwiftCompile normal arm64 (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SwiftlySearch.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:57:40: error: cannot find type 'Context' in scope
55 | }
56 |
57 | func makeUIViewController(context: Context) -> SearchBarWrapperController {
| `- error: cannot find type 'Context' in scope
58 | return SearchBarWrapperController()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:61:84: error: cannot find type 'Context' in scope
59 | }
60 |
61 | func updateUIViewController(_ controller: SearchBarWrapperController, context: Context) {
| `- error: cannot find type 'Context' in scope
62 | controller.searchController = context.coordinator.searchController
63 | controller.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:82:31: error: 'UISearchController' is unavailable in watchOS
80 | var cancelClicked: () -> Void
81 | var searchClicked: () -> Void
82 | let searchController: UISearchController
| `- error: 'UISearchController' is unavailable in watchOS
83 |
84 | private var updatedText: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:115:56: error: 'UISearchController' is unavailable in watchOS
113 |
114 | // MARK: - UISearchResultsUpdating
115 | func updateSearchResults(for searchController: UISearchController) {
| `- error: 'UISearchController' is unavailable in watchOS
116 | guard let text = searchController.searchBar.text else { return }
117 | // Make sure the text has actually changed (workaround for #10).
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:128:56: error: 'UISearchBar' is unavailable in watchOS
126 |
127 | // MARK: - UISearchBarDelegate
128 | func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:131:56: error: 'UISearchBar' is unavailable in watchOS
129 | self.cancelClicked()
130 | }
131 | func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
| `- error: 'UISearchBar' is unavailable in watchOS
132 | self.searchClicked()
133 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:46:12: note: 'UISearchBar' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UISearchBar : UIView <UIBarPositioning, UITextInputTraits, UILookToDictateCapable>
| `- note: 'UISearchBar' has been explicitly marked unavailable here
47 |
48 | - (instancetype)init API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:34: error: 'UISearchResultsUpdating' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchResultsUpdating' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:49:11: note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
47 |
48 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @protocol UISearchResultsUpdating <NSObject>
| `- note: 'UISearchResultsUpdating' has been explicitly marked unavailable here
50 | @required
51 | // Called when the search bar's text or scope has changed or when the search bar becomes first responder.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:77:59: error: 'UISearchBarDelegate' is unavailable in watchOS
75 | }
76 |
77 | class Coordinator: NSObject, UISearchResultsUpdating, UISearchBarDelegate {
| `- error: 'UISearchBarDelegate' is unavailable in watchOS
78 | @Binding
79 | var text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h:176:11: note: 'UISearchBarDelegate' has been explicitly marked unavailable here
174 |
175 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
176 | @protocol UISearchBarDelegate <UIBarPositioningDelegate>
| `- note: 'UISearchBarDelegate' has been explicitly marked unavailable here
177 |
178 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:139:45: error: 'searchController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
139 | self.parent?.navigationItem.searchController?.searchBar.text = text
| `- error: 'searchController' is unavailable in watchOS
140 | }
141 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:145:45: error: 'searchController' is unavailable in watchOS
143 | var searchController: UISearchController? {
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
| `- error: 'searchController' is unavailable in watchOS
146 | }
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:234:72: note: 'searchController' has been explicitly marked unavailable here
232 |
233 | /// A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.
234 | @property (nonatomic, readwrite, strong, nullable) UISearchController *searchController API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'searchController' has been explicitly marked unavailable here
235 |
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:143:31: error: 'UISearchController' is unavailable in watchOS
141 | }
142 |
143 | var searchController: UISearchController? {
| `- error: 'UISearchController' is unavailable in watchOS
144 | didSet {
145 | self.parent?.navigationItem.searchController = searchController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h:59:12: note: 'UISearchController' has been explicitly marked unavailable here
57 |
58 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
59 | @interface UISearchController : UIViewController <UIViewControllerTransitioningDelegate, UIViewControllerAnimatedTransitioning>
| `- note: 'UISearchController' has been explicitly marked unavailable here
60 |
61 | // Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:151:45: error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
149 | var hidesSearchBarWhenScrolling: Bool = true {
150 | didSet {
151 | self.parent?.navigationItem.hidesSearchBarWhenScrolling = hidesSearchBarWhenScrolling
| `- error: 'hidesSearchBarWhenScrolling' is unavailable in watchOS
152 | }
153 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:238:47: note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
236 | /// If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.
237 | /// Not applicable and ignored for `UINavigationItemSearchBarPlacementIntegrated`
238 | @property (nonatomic, readwrite, assign) BOOL hidesSearchBarWhenScrolling API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
| `- note: 'hidesSearchBarWhenScrolling' has been explicitly marked unavailable here
239 |
240 | /// The preferred search bar placement, when a search controller is assigned to this item.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:136:39: error: 'UIViewController' is unavailable in watchOS
134 | }
135 |
136 | class SearchBarWrapperController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
137 | var text: String? {
138 | didSet {
/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/SwiftlySearch/SwiftlySearch.swift:37:40: error: cannot find type 'UIViewControllerRepresentable' in scope
35 | }
36 |
37 | struct SearchBar<ResultContent: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
38 | @Binding
39 | var text: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:27:281: error: value of type 'SearchBar<AnyView>' has no member 'frame'
25 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
26 | func navigationBarSearch(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}) -> some View {
27 | return overlay(SearchBar<AnyView>(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<AnyView>' has no member 'frame'
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:33:302: error: value of type 'SearchBar<ResultContent>' has no member 'frame'
31 | @available(macCatalyst, introduced: 13.0, deprecated: 15.0, message: "Use .searchable() and .onSubmit(of:) instead.")
32 | func navigationBarSearch<ResultContent: View>(_ searchText: Binding<String>, placeholder: String? = nil, hidesNavigationBarDuringPresentation: Bool = true, hidesSearchBarWhenScrolling: Bool = true, cancelClicked: @escaping () -> Void = {}, searchClicked: @escaping () -> Void = {}, @ViewBuilder resultContent: @escaping (String) -> ResultContent) -> some View {
33 | return overlay(SearchBar(text: searchText, placeholder: placeholder, hidesNavigationBarDuringPresentation: hidesNavigationBarDuringPresentation, hidesSearchBarWhenScrolling: hidesSearchBarWhenScrolling, cancelClicked: cancelClicked, searchClicked: searchClicked, resultContent: resultContent).frame(width: 0, height: 0))
| `- error: value of type 'SearchBar<ResultContent>' has no member 'frame'
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift:69:71: error: cannot find type 'UIHostingController' in scope
67 |
68 | if let resultView = resultContent(text) {
69 | (controller.searchController?.searchResultsController as? UIHostingController<ResultContent>)?.rootView = resultView
| `- error: cannot find type 'UIHostingController' in scope
70 | }
71 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftlySearch/SwiftlySearch.swift (in target 'SwiftlySearch' from project 'SwiftlySearch')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftlySearch.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-17 13:47:05.771 xcodebuild[799:4804] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwiftlySearch' from project 'SwiftlySearch')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftlySearch (in target 'SwiftlySearch' from project 'SwiftlySearch')
SwiftCompile normal arm64 (in target 'SwiftlySearch' from project 'SwiftlySearch')
Building workspace SwiftlySearch with scheme SwiftlySearch
(5 failures)
BUILD FAILURE 6.4 watchOS