Build Information
Failed to build ToastView, reference 2.0.0 (9c0c2c), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 20:53:40 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 ToastView -destination generic/platform=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PhilippeWeidmann/ToastView.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PhilippeWeidmann/ToastView
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 9c0c2c4 feat: Swift 6
Cloned https://github.com/PhilippeWeidmann/ToastView.git
Revision (git rev-parse @):
9c0c2c4f709bddde32d393735c0dc14742613a8c
SUCCESS checkout https://github.com/PhilippeWeidmann/ToastView.git at 2.0.0
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/PhilippeWeidmann/ToastView.git
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
Resolve Package Graph
Resolved source packages:
ToastView: /Users/admin/builder/spi-builder-workspace
resolved source packages: ToastView
2026-09-21 16:52:57.100 xcodebuild[563:3064] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ToastView",
"name" : "ToastView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ToastView",
"targets" : [
"ToastView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastView",
"module_type" : "SwiftTarget",
"name" : "ToastView",
"path" : "Sources/ToastView",
"product_memberships" : [
"ToastView"
],
"sources" : [
"ToastView+AppKit.swift",
"ToastView+SwiftUI.swift",
"ToastView+UIKit.swift",
"ToastView.swift",
"ToastWindow.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ToastView",
"schemes" : [
"ToastView"
]
}
}
2026-09-21 16:53:28.933 xcodebuild[660:3917] [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 ToastView -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 ToastView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ToastView: /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 'ToastView-product' in project 'ToastView'
➜ Explicit dependency on target 'ToastView' in project 'ToastView'
Target 'ToastView' in project 'ToastView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: aeb9cd2f7118caef74fe8649d9283ac4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/aeb9cd2f7118caef74fe8649d9283ac4.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.DependencyStaticMetadataFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.modulemap (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.LinkFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView_const_extract_protocols.json (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.LinkFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-OutputFileMap.json (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.SwiftFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_const_extract_protocols.json (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-OutputFileMap.json (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.SwiftConstValuesFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.DependencyMetadataFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.SwiftFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.SwiftConstValuesFileList (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/ToastView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.modulemap (in target 'ToastView' from project 'ToastView')
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/ToastView.build/Debug-watchos/ToastView-t.build/ToastView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver ToastView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ToastView' from project 'ToastView')
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 ToastView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ToastView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ToastView' from project 'ToastView')
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 ToastView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-CTPSFSTDCBVSSQFHL6I305U72.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-8K07997SIHO7YGY7UQ3LOQ3TJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-CL5QT3CW0ZM498PFTWG64QMLA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-5OH846KKUPSJJT7GCX9XU1TKG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-AJ4AZYHQNC33R5RLN7AGEIOMP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-E4M4A8689VXF1T7P7BV56IKBT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-C7VQASAJ967Q4Q6SRD4I3CFWZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-B692L2PMR118794VVYBG37897.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-58G4ISYSYDV3AT1DDGEE0QCUF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-42EVAC8Q6P1ZT6G3A168N97G4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-3FQKKPF3BW0SWE1YUZ86OZWIB.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-D9VBB138U50XYYGW2C2V21N3L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-EYJP6DFYQL9GJLH1TJ84A8MHV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-EAZ3I917ZFA9H6ZCL6PGLG4TR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-22ZP1ILSQW16KHXZS5GBZHOCS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-372PLGDQ1U3B6Z5EA5DJMDORJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-84ZA1VDW90AGWZ2LF5KOCM8DZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-3X4KLXUYEI0UGBILP4X7D0CYW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-2F9BFIPBQ5EWNSK5G7G7V4EKL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7YQ9TVI7XTOGQU9OADRXP33D1.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-EW7YZZ7LEZE1QZF2T8148IPSA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-5SNIO0SFHX9KJZTLQGIPAPXUZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-75TRA1C7IHYOFCG3KJXQVTHJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-CUPL4FH2SA95GMALQP4M6O8UA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-FP2Q8F1Q2HR151SBYKTU6Q8B.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-AQMEC9CLG0FZQN6TLGDQ6WF78.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6TUACK4YPMARFT56PLIO388SJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-7JP2AE1NQHA1DV5JYP2OHQ3BF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-9KPVYINL86WUSHF45TU8PWZZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-4N9Z22C0HUO8GV7GFPCLZRZA2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-414CVW1GW3IL0HRLCNNCS6Q0U.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-65NN51P1G7GN2GUAUPC53JJ7N.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6IWJLTRH2WB6RCG4THPA65RDS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-8QY7P4ZQXQAF14WVDITTM4R70.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-25T9UW3XDYID74302F31PX0RP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-EJXZKD8LN9EYM9OWP9VLJ49PK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-SQV576LJA0QE7RW5HF7CQ1BX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-D2FE5M7JS5NQA5JDADVERWJM4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-3YOBOPIW2MF1LRNQH7JBUBY4G.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-2K07JIG9ZANIKHSNPO3O6L1K6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-86YTNV5YADPJXFMJ82N3R4GWQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-CSB8C43KELVSFIQVR0803IZPN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-BPZJ68HW1IMYWSHROAZ0IMUJP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-10D35ZJWCWG7LJAF579U7I5V7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-2C11HKTI5TJB05T724EWNFZXD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-1W6O8NR1QUSWJGAN44DNNWVHX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-4RYXFVY68ZDEUZYFMVL57WEKU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-22CZPC4WYQC9G8T393WT2KKLW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-71AGZNHLBMR2QK817EJNUN54E.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-F47JQRYVH1SLPOQSJD8RK9MSX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-6KYGGZ4DPVZ3BBAZ6QICZN8LI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-CTXVQBCWDOH6JHUXIFDUOWFRL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-AHE7ULDQBKER38CYPIKDTZF4M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-EZKKX4XFW72RZCTOIG80Z93AP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-9L9R05BT5LTFRZ2NM68BZTVV2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-39VR0G01IUJ09PQKMFGOHXZ4L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-4XS0QRL16224ZE9KE9TMKASKT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CGIMI9KQKHNRQHR2IECIPRG14.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-59XKO8YNRGGYNC5U5LK8B4EM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-650JAZBTM6I0OMHYO6CKM0CWJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-7SLKI45KYLKXH9QET2WYS3UZ4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-76B9WJP9MDYT33HZQVSNNZQZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-6BCTB8I5DCBBKFJ0Y0G4WQDDJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-51SR7UBHOMSGMEPVFS6PLSR4M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-69WNGEAVQP55EDBQHP3BLE8QU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5488DA9QVJJ7QOFXPYOYIYFUX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-D9NWGT7PQGY2OD43XMA2KGLJK.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-A4WOQTM8SYZAQP223LI6RRPEK.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-AY6JAXDJMW2FLVG4UD79375PW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-1W411BS4UH2UNMNII2341429S.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-368NRGVYQ33J8K75Y2DSNU06Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-B3IXODHI7VO4VRX2RWRXLVJZT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-BEC0M2J7FJN53VXNFDZDKL9U2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2YRZ292TS6QDW2V2V92NZMPWM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-1FTJGW5ZM9ZN5IKPBE4A9LGNF.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-AIQ30TCDC2B0LBUU6FPQZ0HWI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-BX0NALWCB2F1YOTF0NZGV9FWU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-34U50N378SZT64826L0B62MN6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-EO02G285WTXB0RPNG3DP9O9VN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-CU8J9TNJY5EX43FQOPTAAHU29.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-47SS6PHE8KOUZX5UOQUNKH397.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-C3HYVW8P89QAUDLD9VRHUF48Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AR3EDJH6PMDGNUXQGV2JND65S.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-BRDP6VIMJ6A6HG4W4NYXZ8BI3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-4VPDXW2J8W40JMX88G7X30C4G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-ESJZZ70KT229YQNKF5CWYQVLA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-EULYJN53RZTIP2D6F171CT1YZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-DAEI6Z48P97TYC3SMMGLERAJ5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-DB0V1GY4JDAXG2CZ5MW826DDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B8SNL2YULCKW9SYIL0T5QLMV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-DP67QJL9W7VSYP70ZVEBE3KRT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-6STZ9DXY0E1K8LHUUEU1F4SE.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-72UYR37X0O2APTD1XMSJ20X5X.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-1XWTF8V96VX3IAHKJO7PJZDU0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-DSXZOKFM7XQLZ0FRNNKFDWZT0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-ABH83C7CSGMIJAARTF384TV0L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-BBXP8Z81UOB3UBBTO3GG9FEEO.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-DXCLJ0K1EEBRV5MFYJOV1HIUX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8RQ09UCIV0XSYRF8TQQD54MWN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-F5AOMF9V2Y10QV8U00QNX8B7Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-7VIERZPAA371031RT8VBKFYKJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-D4BOUT6VJWDXKNATG8P2F95W3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-CLOM4E4D45A8A94N3QNHOVW3H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-4AZRAZ8X3W0CS36SZ1GS4LT05.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-EH256724QTCKT0XATY095QHVP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-TURER010MQ2QH6SN4BGDJJKP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8EDL8T61430CB5CU94L1E3L0C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-B0A9Z3B1UDU8OLBQROLWD03N3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-E9C6K7MOTJF3RC93DULCZ130U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-70RNUQRT1QM2F8WR42WPP4KQV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-BGAQE5HOOTG6M9C46O1HHPCDR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2XWL6VFNA7WRWSTXI42YLU909.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-DXH34ZWEY4P4FEELCOH3LXVCR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-3RCPMYWFYVKLOR1JJH1M1L7O6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-5U4CPBNVICOGB0BBK9BC7P4E9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-2JD3RMVTK0MFX7K570KHTLBBH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-7IATJTA58S6OFDEYHG9JSLLDQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-22L6Z003SE8XPQ9JS14K57C9N.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-6DR5UJH94SD7QMITGWNAX9FBI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-E6XJI4PF1Q2HPTXKL91GWARU6.pcm
SwiftCompile normal arm64_32 Compiling\ ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
SwiftCompile normal arm64_32 Compiling\ ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+SwiftUI.swift
SwiftCompile normal arm64_32 Compiling\ ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+AppKit.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
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/ToastView/ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift -target arm64_32-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ToastView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.abi.json
SwiftCompile normal arm64_32 (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
SwiftCompile normal arm64_32 Compiling\ ToastWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:32:37: error: 'windowScene' is unavailable in watchOS
30 | override func willMove(toWindow newWindow: UIWindow?) {
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
| `- error: 'windowScene' is unavailable in watchOS
33 | currentWindow == nil
34 | else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:41:15: error: 'init(windowScene:)' is unavailable in watchOS
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
42 | rootViewController = UIHostingController(rootView: ToastView(
43 | title: text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:42:30: error: cannot find 'UIHostingController' in scope
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
| `- error: cannot find 'UIHostingController' in scope
43 | title: text,
44 | icon: icon,
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastWindow.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
SwiftCompile normal arm64 (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+UIKit.swift
SwiftCompile normal arm64 Compiling\ ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+AppKit.swift
SwiftCompile normal arm64 Compiling\ ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+SwiftUI.swift
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 16:53:30.501 xcodebuild[661:3960] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 (in target 'ToastView' from project 'ToastView')
Building workspace ToastView with scheme ToastView
(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:
ToastView: /Users/admin/builder/spi-builder-workspace
resolved source packages: ToastView
2026-09-21 16:53:37.267 xcodebuild[833:4698] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ToastView",
"name" : "ToastView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ToastView",
"targets" : [
"ToastView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastView",
"module_type" : "SwiftTarget",
"name" : "ToastView",
"path" : "Sources/ToastView",
"product_memberships" : [
"ToastView"
],
"sources" : [
"ToastView+AppKit.swift",
"ToastView+SwiftUI.swift",
"ToastView+UIKit.swift",
"ToastView.swift",
"ToastWindow.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ToastView",
"schemes" : [
"ToastView"
]
}
}
2026-09-21 16:53:38.435 xcodebuild[841:4764] [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 ToastView -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 ToastView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ToastView: /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 'ToastView-product' in project 'ToastView'
➜ Explicit dependency on target 'ToastView' in project 'ToastView'
Target 'ToastView' in project 'ToastView' (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 ToastView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ToastView' from project 'ToastView')
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 ToastView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ToastView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ToastView' from project 'ToastView')
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 ToastView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-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\ ToastView (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ToastView' from project 'ToastView')
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/ToastView/ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift -target arm64_32-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ToastView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64_32/ToastView.abi.json
SwiftEmitModule normal arm64 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
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/ToastView/ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift -target arm64-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-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 6 -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/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ToastView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView_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/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ToastView.build/Debug-watchos/ToastView-t.build/Objects-normal/arm64/ToastView.abi.json
SwiftCompile normal arm64 (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ToastWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:32:37: error: 'windowScene' is unavailable in watchOS
30 | override func willMove(toWindow newWindow: UIWindow?) {
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
| `- error: 'windowScene' is unavailable in watchOS
33 | currentWindow == nil
34 | else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:41:15: error: 'init(windowScene:)' is unavailable in watchOS
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
42 | rootViewController = UIHostingController(rootView: ToastView(
43 | title: text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:42:30: error: cannot find 'UIHostingController' in scope
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
| `- error: cannot find 'UIHostingController' in scope
43 | title: text,
44 | icon: icon,
SwiftCompile normal arm64 Compiling\ ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+SwiftUI.swift
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:42:13: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
40 | }
41 |
42 | Task {
| |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
| `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
43 | try await Task.sleep(nanoseconds: 1_000_000_000)
44 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:28:34: error: 'thin' is only available in watchOS 10.0 or newer
8 | import SwiftUI
9 |
10 | struct ToastView: View {
| `- note: add '@available' attribute to enclosing struct
11 | @State private var isShowing = false
12 |
:
15 | let onDisappear: () -> Void
16 |
17 | var body: some View {
| `- note: add '@available' attribute to enclosing property
18 | VStack {
19 | Spacer()
:
26 | .font(.subheadline.weight(.medium))
27 | .padding(20)
28 | .background(Material.thin)
| |- error: 'thin' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
29 | .clipShape(RoundedRectangle(cornerRadius: 15))
30 | .scaleEffect(isShowing ? CGSize(width: 1, height: 1) : .zero)
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:37:17: error: 'UINotificationFeedbackGenerator' is unavailable in watchOS
35 | withAnimation(.bouncy.speed(3)) {
36 | #if canImport(UIKit)
37 | UINotificationFeedbackGenerator().notificationOccurred(.success)
| `- error: 'UINotificationFeedbackGenerator' is unavailable in watchOS
38 | #endif
39 | isShowing = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h:21:12: note: 'UINotificationFeedbackGenerator' has been explicitly marked unavailable here
19 | // UINotificationFeedbackGenerator is used to give user feedback when an notification is displayed
20 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos, tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UINotificationFeedbackGenerator : UIFeedbackGenerator
| `- note: 'UINotificationFeedbackGenerator' has been explicitly marked unavailable here
22 |
23 | /// call when a notification is displayed, passing the corresponding type
SwiftCompile normal arm64 Compiling\ ToastWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 |
12 | class WindowSceneProviderView: UIView {
13 | private var currentWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
14 | private let title: String?
15 | private let icon: Image?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:30:48: error: 'UIWindow' is unavailable in watchOS
28 | }
29 |
30 | override func willMove(toWindow newWindow: UIWindow?) {
| `- error: 'UIWindow' is unavailable in watchOS
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:12:32: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | class WindowSceneProviderView: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | private var currentWindow: UIWindow?
14 | private let title: 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:40:23: error: 'UIWindowScene' is unavailable in watchOS
38 |
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
| `- error: 'UIWindowScene' is unavailable in watchOS
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:52:60: error: 'UIEvent' is unavailable in watchOS
50 | }
51 |
52 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
53 | return false
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:39:20: error: 'UIWindow' is unavailable in watchOS
37 | }
38 |
39 | class ToastWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:32:37: error: 'windowScene' is unavailable in watchOS
30 | override func willMove(toWindow newWindow: UIWindow?) {
31 | guard let newWindow,
32 | let scene = newWindow.windowScene,
| `- error: 'windowScene' is unavailable in watchOS
33 | currentWindow == nil
34 | else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:41:15: error: 'init(windowScene:)' is unavailable in watchOS
39 | class ToastWindow: UIWindow {
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
42 | rootViewController = UIHostingController(rootView: ToastView(
43 | title: text,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift:42:30: error: cannot find 'UIHostingController' in scope
40 | init(windowScene: UIWindowScene, text: String?, icon: Image?, onDisappear: @escaping () -> Void) {
41 | super.init(windowScene: windowScene)
42 | rootViewController = UIHostingController(rootView: ToastView(
| `- error: cannot find 'UIHostingController' in scope
43 | title: text,
44 | icon: icon,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastWindow.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastWindow.swift
SwiftCompile normal arm64 Compiling\ ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+AppKit.swift
SwiftCompile normal arm64_32 Compiling\ ToastView+AppKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+AppKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+AppKit.swift
SwiftCompile normal arm64_32 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:70:30: error: cannot find type 'Context' in scope
68 | let onDisappear: () -> Void
69 |
70 | func makeUIView(context: Context) -> WindowSceneProviderView {
| `- error: cannot find type 'Context' in scope
71 | return WindowSceneProviderView(text: title, icon: icon, onDisappear: onDisappear)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:74:65: error: cannot find type 'Context' in scope
72 | }
73 |
74 | func updateUIView(_ view: WindowSceneProviderView, context: Context) {}
| `- error: cannot find type 'Context' in scope
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:65:46: error: cannot find type 'UIViewRepresentable' in scope
63 |
64 | #if canImport(UIKit)
65 | struct WindowSceneProviderViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | let title: String?
67 | let icon: Image?
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift:94:6: error: 'Previewable()' is only available in watchOS 10.0 or newer
92 | @available(iOS 17.0, macOS 14.0, *)
93 | #Preview {
94 | @Previewable @State var isShowing = false
| |- error: 'Previewable()' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 |
96 | VStack {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
SwiftCompile normal arm64 Compiling\ ToastView+UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:19:81: error: 'UIView' is unavailable in watchOS
17 | static var currentToastWindow: ToastWindow?
18 |
19 | public static func show(title: String? = nil, icon: UIImage? = nil, origin: UIView, onDisappear: (() -> Void)? = nil) {
| `- error: 'UIView' is unavailable in watchOS
20 | guard let windowScene = origin.window?.windowScene else {
21 | logger.warning("Trying to show ToastView from nil windowScene. Nothing will be shown.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift:40:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
38 |
39 | @available(iOS 17.0, *)
40 | #Preview(traits: .defaultLayout) {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
41 | var button: UIButton!
42 | button = UIButton(type: .system, primaryAction: UIAction(title: "Show Toast", handler: { _ in
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+UIKit.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+UIKit.swift
SwiftCompile normal arm64_32 Compiling\ ToastView+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ToastView/ToastView+SwiftUI.swift (in target 'ToastView' from project 'ToastView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView+SwiftUI.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-21 16:53:39.329 xcodebuild[842:4796] [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 'ToastView' from project 'ToastView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ToastView (in target 'ToastView' from project 'ToastView')
SwiftCompile normal arm64 (in target 'ToastView' from project 'ToastView')
Building workspace ToastView with scheme ToastView
(5 failures)
BUILD FAILURE 6.4 watchOS