Build Information
Failed to build Toast, reference v1.0.1 (9788cf), with Swift 6.4 for tvOS using Xcode 27.0 on 24 Sep 2026 00:45:44 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 Toast -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaywcjlove/Toast.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaywcjlove/Toast
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 9788cf7 fix: use Task to avoid state changes during view updates in dismiss methods
Cloned https://github.com/jaywcjlove/Toast.git
Revision (git rev-parse @):
9788cf7e378c60bd840364f9860a50867d8bed6d
SUCCESS checkout https://github.com/jaywcjlove/Toast.git at v1.0.1
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/jaywcjlove/Toast.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:
Toast: /Users/admin/builder/spi-builder-workspace
resolved source packages: Toast
2026-09-23 20:45:01.161 xcodebuild[529:3028] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "Toast",
"name" : "Toast",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Toast",
"targets" : [
"Toast"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastTests",
"module_type" : "SwiftTarget",
"name" : "ToastTests",
"path" : "Tests/ToastTests",
"sources" : [
"ToastTests.swift"
],
"target_dependencies" : [
"Toast"
],
"type" : "test"
},
{
"c99name" : "Toast",
"module_type" : "SwiftTarget",
"name" : "Toast",
"path" : "Sources/Toast",
"product_memberships" : [
"Toast"
],
"sources" : [
"Toast.swift",
"ToastEnvironment.swift",
"ToastItem.swift",
"ToastManager.swift",
"ToastModels.swift",
"ToastView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "Toast",
"schemes" : [
"Toast"
]
}
}
2026-09-23 20:45:33.376 xcodebuild[626:3859] [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 Toast -destination generic/platform=tvOS
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 Toast -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
Toast: /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 'Toast-product' in project 'Toast'
➜ Explicit dependency on target 'Toast' in project 'Toast'
Target 'Toast' in project 'Toast' (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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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: 1b00d296898df8329345d25d0f4ec6f4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1b00d296898df8329345d25d0f4ec6f4.xcbuilddata
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/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/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/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
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/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/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/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/EagerLinkingTBDs/Debug-appletvos
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-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.modulemap (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.DependencyMetadataFileList (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.DependencyStaticMetadataFileList (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.SwiftConstValuesFileList (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.SwiftFileList (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.LinkFileList (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-OutputFileMap.json (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/Toast.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Toast.modulemap (in target 'Toast' from project 'Toast')
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/Toast.build/Debug-appletvos/Toast-t.build/Toast.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver Toast normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Toast' from project 'Toast')
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 Toast -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-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-3HZGHPZQL3GY71QUHDRB0P39S.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-99L1JVU5TYE8S0FGGB7E09QQS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-719DH4G2R3NRP3HRX5HE8WX08.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-4UUPXTY52W6RPSB0N2WGGLTJT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-EMKXYE8GN9BK4M3ODSTVDUJU2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-1MAO6P3OSQFGZFQEPM31XXNSS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-3RF4B70MBHPP952AX3GNZ8W3H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BA65H1NXYZJ0BLLWO9HZOAZ6Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-CJV8SY9BXJUTONPFWMLQEGTXA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-73G9EXEO9PVWB6PL1BR4TAJ0B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-90NUFDXQ765U5FR62173FT21A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-EPKSYG5WMVE7WSPFQB4C0UC59.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-3JICJWOCEYXXXNXAMEJBF6UQN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-A8OKY0NXO26BZ4GWYKP79TKL9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-CATSGLJDZ8UZUMKHO6M4I4PJT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-B6D36UOVIZC2Y0YE3KEZLZAP6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-320K271Z6IM134IWIB7S3LTD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-71DQV8BR56LNANL900GGEC9KO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-AQDFY8KQQX9Z38C6EI15S53EQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-63L5I5VCGX6CLI6HI7OWUXJN6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-80RS02PM2X81SP8N0Q7X05540.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-1VTILT8KA42CNDAUB0H1FM7MC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-D50CDGAQRFNF5E2BA2UWCCHLJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-A5KLTMTLJD1DPHEYPZHUSRJ4O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-CC0BYHG21IQMMT48PGDNSK7G6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-1TJLDNS7X3UT7Y5TM4QQ2RN6G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-E61GF9E8FAHZGKXVOV9QHUD27.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-F564M6B2H1RRD83XZ8EBWFSHE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-2KZFBWN278VTZL619Y96SAJC9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-2WVXL0UION0MYZOZAJZC6DUXD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-A4LOYEEJIFQKOPZRDOG9M3N2K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-4NLIUP5HHN7FW5ML70YLEU8QE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-8S7XZ5SI3TWM2JOZPDZPRY8W9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-3D575H9KXE9GWSK6ZWEWBV9TM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-D8Y0X4J52BHG7HHUQLTX6SXE1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-6KU6X9W8QDIJW83JUF0DRES83.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-46JNU59TK6U76A9ILN06CT9NS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-1AS5K10MY6XENLLR2NDUCKYTM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-48DA7ET77Q34HPZP9CPHI9VS4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-E0GG8D3D527TJX7D2QEHFQLM2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-DQ77M7R0D7VCBK0YUO3VHCRB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-EAPB6A95K5V0S27QNKR6ATG7F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-9TNA7JIKOEYVTYC7A16HCS4Z8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-2OY9351FRBO717MIULOKMYA9E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-DEQULTJ8SC21O986FDCNTM8FX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-AKH3GC0FQWUK55FNTW4WEMFQE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-9NQVCWATNLLVY125LB74695HY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-1UX1YGRJSIOEO9YC3MNFFD818.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-9IX0C1MAX33MS6TCZDSNKXEO8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-84B3V3M9DHRIQERK179SSQO5U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-3R0N6HKKQMVS32U7KOKR14383.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-6939X9DMB2SA43P0TYB7Z14Z5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-6Y33D4DDPO1R82EJXT1SIGNPS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-52GB3RCZ6A2WEZ7RWCXV2WL0N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-5G4VAY32QMJB00PUALI6188LK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-ATUQ374FIDJPA1DF5BLR644CG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-DSNZZA81DYNK4OK1ANRR6HM7G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-43BPYBY7ZACBDCUTAJXJFLTBP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-7SJQ9GB90ACGZV5NB09LFJIRX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-42T2ZGON9LDZUXRIAUKELQ554.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-B634212FU5XQXG1OEBY2WYYH3.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'toastsByPosition' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:58: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|2 | private var _configuration = ToastConfiguration.default
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:69: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @ObservationTracked ---------------------------
|1 | // 按位置分组的Toast列表
|2 |
|3 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|4 | private var _toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
Failed frontend command:
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
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/Toast/Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Toast -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.abi.json
SwiftCompile normal arm64 Compiling\ ToastModels.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastModels.swift
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:29:10: error: 'onTapGesture(count:perform:)' is only available in tvOS 16.0 or newer
2 |
3 | // MARK: - Toast View
4 | public struct ToastView: View {
| `- note: add '@available' attribute to enclosing struct
5 | @ObservedObject var toast: ToastItem
6 | let configuration: ToastConfiguration
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | Group {
20 | if let customView = toast.customView {
:
27 | .scaleEffect(toast.isVisible ? (isHovered ? 1.02 : 1.0) : 0.8)
28 | .offset(dragOffset)
29 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
30 | if toast.closeOnTap {
31 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:36:10: error: 'onHover(perform:)' is unavailable in tvOS
34 | }
35 | }
36 | .onHover { hovering in
| `- error: 'onHover(perform:)' is unavailable in tvOS
37 | withAnimation(.easeInOut(duration: 0.2)) {
38 | isHovered = hovering
SwiftUI.View.onHover:2:36: note: 'onHover(perform:)' has been explicitly marked unavailable here
1 | protocol View {
2 | @inlinable nonisolated public func onHover(perform action: @escaping (Bool) -> Void) -> some View
| `- note: 'onHover(perform:)' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:50:13: error: 'DragGesture' is unavailable in tvOS
48 | }
49 | .gesture(
50 | DragGesture()
| `- error: 'DragGesture' is unavailable in tvOS
51 | .onChanged { value in
52 | dragOffset = value.translation
SwiftUI.DragGesture:3:42: note: 'DragGesture' has been explicitly marked unavailable here
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, *)
2 | @available(tvOS, unavailable)
3 | @MainActor @preconcurrency public struct DragGesture : Gesture, ~Sendable {
| `- note: 'DragGesture' has been explicitly marked unavailable here
4 | public struct Value : Equatable, Sendable {
5 | public var time: Date
SwiftCompile normal arm64 Compiling\ ToastManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'toastsByPosition' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:58: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|2 | private var _configuration = ToastConfiguration.default
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:69: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @ObservationTracked ---------------------------
|1 | // 按位置分组的Toast列表
|2 |
|3 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|4 | private var _toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:77:36: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
26 |
27 | // MARK: - Core Toast Methods
28 | public func show(
| `- note: add '@available' attribute to enclosing instance method
29 | id: String = UUID().uuidString,
30 | type: ToastType,
:
75 | if timerDuration > 0 {
76 | Task {
77 | try await Task.sleep(for: .seconds(timerDuration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
78 | dismiss(id: toast.id)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:77:48: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
26 |
27 | // MARK: - Core Toast Methods
28 | public func show(
| `- note: add '@available' attribute to enclosing instance method
29 | id: String = UUID().uuidString,
30 | type: ToastType,
:
75 | if timerDuration > 0 {
76 | Task {
77 | try await Task.sleep(for: .seconds(timerDuration))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
78 | dismiss(id: toast.id)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:76:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
74 | let timerDuration = duration ?? configuration.duration
75 | if timerDuration > 0 {
76 | 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
77 | try await Task.sleep(for: .seconds(timerDuration))
78 | dismiss(id: toast.id)
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:160:36: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
138 | }
139 |
140 | private func dismissSpecific(id: String) {
| `- note: add '@available' attribute to enclosing instance method
141 | // 在所有位置组中查找并删除
142 | for (position, toasts) in toastsByPosition {
:
158 | // 调用回调
159 | Task {
160 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
161 | await MainActor.run {
162 | toast.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:160:48: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
138 | }
139 |
140 | private func dismissSpecific(id: String) {
| `- note: add '@available' attribute to enclosing instance method
141 | // 在所有位置组中查找并删除
142 | for (position, toasts) in toastsByPosition {
:
158 | // 调用回调
159 | Task {
160 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
161 | await MainActor.run {
162 | toast.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:159:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
157 |
158 | // 调用回调
159 | 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
160 | try await Task.sleep(for: .seconds(0.3))
161 | await MainActor.run {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:185:28: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
169 | }
170 |
171 | public func dismissAll() {
| `- note: add '@available' attribute to enclosing instance method
172 | let allToasts = toasts
173 |
:
183 |
184 | // 清空所有位置组
185 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
186 | self.toastsByPosition.removeAll()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:185:40: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
169 | }
170 |
171 | public func dismissAll() {
| `- note: add '@available' attribute to enclosing instance method
172 | let allToasts = toasts
173 |
:
183 |
184 | // 清空所有位置组
185 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
186 | self.toastsByPosition.removeAll()
187 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastManager.swift
SwiftCompile normal arm64 Compiling\ ToastEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift:56:14: error: 'onChange(of:initial:_:)' is only available in tvOS 17.0 or newer
14 |
15 | // MARK: - View Extension for Toast Environment
16 | public extension View {
| `- note: add '@available' attribute to enclosing extension
17 | /// Adds toast environment to the view hierarchy
18 | func toastEnvironment(manager: ToastManager = ToastManager.shared) -> some View {
:
46 |
47 | /// Shows a toast with binding
48 | func toast<Content: View>(
| `- note: add '@available' attribute to enclosing instance method
49 | isPresented: Binding<Bool>,
50 | type: ToastType = .info,
:
54 | @ViewBuilder content: @escaping () -> Content = { EmptyView() }
55 | ) -> some View {
56 | self.onChange(of: isPresented.wrappedValue) { _, newValue in
| |- error: 'onChange(of:initial:_:)' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
57 | if newValue {
58 | let manager = ToastManager.shared
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift:188:17: error: 'DragGesture' is unavailable in tvOS
186 | .opacity(1 - abs(Double(dragOffset.width)) / 200.0)
187 | .gesture(
188 | DragGesture()
| `- error: 'DragGesture' is unavailable in tvOS
189 | .updating($dragOffset) { value, state, _ in
190 | state = value.translation
SwiftUI.DragGesture:3:42: note: 'DragGesture' has been explicitly marked unavailable here
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, *)
2 | @available(tvOS, unavailable)
3 | @MainActor @preconcurrency public struct DragGesture : Gesture, ~Sendable {
| `- note: 'DragGesture' has been explicitly marked unavailable here
4 | public struct Value : Equatable, Sendable {
5 | public var time: Date
SwiftCompile normal arm64 Compiling\ ToastItem.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastItem.swift
SwiftCompile normal arm64 Compiling\ Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Toast.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 20:45:35.008 xcodebuild[627:3906] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
Building workspace Toast with scheme Toast
(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:
Toast: /Users/admin/builder/spi-builder-workspace
resolved source packages: Toast
2026-09-23 20:45:41.420 xcodebuild[738:4454] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "Toast",
"name" : "Toast",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Toast",
"targets" : [
"Toast"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastTests",
"module_type" : "SwiftTarget",
"name" : "ToastTests",
"path" : "Tests/ToastTests",
"sources" : [
"ToastTests.swift"
],
"target_dependencies" : [
"Toast"
],
"type" : "test"
},
{
"c99name" : "Toast",
"module_type" : "SwiftTarget",
"name" : "Toast",
"path" : "Sources/Toast",
"product_memberships" : [
"Toast"
],
"sources" : [
"Toast.swift",
"ToastEnvironment.swift",
"ToastItem.swift",
"ToastManager.swift",
"ToastModels.swift",
"ToastView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "Toast",
"schemes" : [
"Toast"
]
}
}
2026-09-23 20:45:42.572 xcodebuild[746:4517] [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 Toast -destination generic/platform=tvOS
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 Toast -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
Toast: /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 'Toast-product' in project 'Toast'
➜ Explicit dependency on target 'Toast' in project 'Toast'
Target 'Toast' in project 'Toast' (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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver Toast normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Toast' from project 'Toast')
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 Toast -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ ToastEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift:56:14: error: 'onChange(of:initial:_:)' is only available in tvOS 17.0 or newer
14 |
15 | // MARK: - View Extension for Toast Environment
16 | public extension View {
| `- note: add '@available' attribute to enclosing extension
17 | /// Adds toast environment to the view hierarchy
18 | func toastEnvironment(manager: ToastManager = ToastManager.shared) -> some View {
:
46 |
47 | /// Shows a toast with binding
48 | func toast<Content: View>(
| `- note: add '@available' attribute to enclosing instance method
49 | isPresented: Binding<Bool>,
50 | type: ToastType = .info,
:
54 | @ViewBuilder content: @escaping () -> Content = { EmptyView() }
55 | ) -> some View {
56 | self.onChange(of: isPresented.wrappedValue) { _, newValue in
| |- error: 'onChange(of:initial:_:)' is only available in tvOS 17.0 or newer
| `- note: add 'if #available' version check
57 | if newValue {
58 | let manager = ToastManager.shared
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift:188:17: error: 'DragGesture' is unavailable in tvOS
186 | .opacity(1 - abs(Double(dragOffset.width)) / 200.0)
187 | .gesture(
188 | DragGesture()
| `- error: 'DragGesture' is unavailable in tvOS
189 | .updating($dragOffset) { value, state, _ in
190 | state = value.translation
SwiftUI.DragGesture:3:42: note: 'DragGesture' has been explicitly marked unavailable here
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, *)
2 | @available(tvOS, unavailable)
3 | @MainActor @preconcurrency public struct DragGesture : Gesture, ~Sendable {
| `- note: 'DragGesture' has been explicitly marked unavailable here
4 | public struct Value : Equatable, Sendable {
5 | public var time: Date
SwiftCompile normal arm64 Compiling\ ToastManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'toastsByPosition' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:58: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|2 | private var _configuration = ToastConfiguration.default
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:69: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @ObservationTracked ---------------------------
|1 | // 按位置分组的Toast列表
|2 |
|3 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|4 | private var _toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:77:36: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
26 |
27 | // MARK: - Core Toast Methods
28 | public func show(
| `- note: add '@available' attribute to enclosing instance method
29 | id: String = UUID().uuidString,
30 | type: ToastType,
:
75 | if timerDuration > 0 {
76 | Task {
77 | try await Task.sleep(for: .seconds(timerDuration))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
78 | dismiss(id: toast.id)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:77:48: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
26 |
27 | // MARK: - Core Toast Methods
28 | public func show(
| `- note: add '@available' attribute to enclosing instance method
29 | id: String = UUID().uuidString,
30 | type: ToastType,
:
75 | if timerDuration > 0 {
76 | Task {
77 | try await Task.sleep(for: .seconds(timerDuration))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
78 | dismiss(id: toast.id)
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:76:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
74 | let timerDuration = duration ?? configuration.duration
75 | if timerDuration > 0 {
76 | 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
77 | try await Task.sleep(for: .seconds(timerDuration))
78 | dismiss(id: toast.id)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:160:36: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
138 | }
139 |
140 | private func dismissSpecific(id: String) {
| `- note: add '@available' attribute to enclosing instance method
141 | // 在所有位置组中查找并删除
142 | for (position, toasts) in toastsByPosition {
:
158 | // 调用回调
159 | Task {
160 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
161 | await MainActor.run {
162 | toast.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:160:48: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
138 | }
139 |
140 | private func dismissSpecific(id: String) {
| `- note: add '@available' attribute to enclosing instance method
141 | // 在所有位置组中查找并删除
142 | for (position, toasts) in toastsByPosition {
:
158 | // 调用回调
159 | Task {
160 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
161 | await MainActor.run {
162 | toast.onDismiss?()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:159:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#NoUseUnstructuredThrowingTask]
157 |
158 | // 调用回调
159 | 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
160 | try await Task.sleep(for: .seconds(0.3))
161 | await MainActor.run {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:185:28: error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
169 | }
170 |
171 | public func dismissAll() {
| `- note: add '@available' attribute to enclosing instance method
172 | let allToasts = toasts
173 |
:
183 |
184 | // 清空所有位置组
185 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'sleep(for:tolerance:clock:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
186 | self.toastsByPosition.removeAll()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:185:40: error: 'seconds' is only available in tvOS 16.0 or newer
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
169 | }
170 |
171 | public func dismissAll() {
| `- note: add '@available' attribute to enclosing instance method
172 | let allToasts = toasts
173 |
:
183 |
184 | // 清空所有位置组
185 | try await Task.sleep(for: .seconds(0.3))
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
186 | self.toastsByPosition.removeAll()
187 | }
SwiftCompile normal arm64 Compiling\ ToastItem.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastItem.swift
SwiftCompile normal arm64 Compiling\ Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/Toast.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Toast.swift
SwiftCompile normal arm64 Compiling\ ToastModels.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastModels.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'configuration' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:5: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on property 'toastsByPosition' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in tvOS 17.0 or newer
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:10:58: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
10 | public var configuration = ToastConfiguration.default
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|2 | private var _configuration = ToastConfiguration.default
+-------------------------------------------------------------------
11 |
12 | // 按位置分组的Toast列表
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:13:69: note: expanded code originates here
5 | @MainActor
6 | @Observable
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
11 |
12 | // 按位置分组的Toast列表
13 | private var toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+--- macro expansion @ObservationTracked ---------------------------
|1 | // 按位置分组的Toast列表
|2 |
|3 | @ObservationIgnored
| | `- error: 'ObservationIgnored()' is only available in tvOS 17.0 or newer
|4 | private var _toastsByPosition: [ToastPosition: [ToastItem]] = [:]
+-------------------------------------------------------------------
14 |
15 | private init() {}
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:308:1: note: expanded code originates here
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- note: in expansion of macro 'Observable' on class 'ToastManager' here
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
:
306 | toast.resumeTimer()
307 | }
308 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in tvOS 17.0 or newer
| 2 |
| 3 | internal nonisolated func access<$s5Toast0A7Manager10ObservablefMm_6MemberfMu_>(
+-------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
| `- note: add '@available' attribute to enclosing class
8 | public static let shared = ToastManager()
9 |
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/Toast/Toast.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastItem.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastModels.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Toast -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Toast.build/Debug-appletvos/Toast-t.build/Objects-normal/arm64/Toast.abi.json
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ToastView.swift /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift (in target 'Toast' from project 'Toast')
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:6:2: error: 'Observable()' is only available in tvOS 17.0 or newer
4 | // MARK: - Toast Manager
5 | @MainActor
6 | @Observable
| `- error: 'Observable()' is only available in tvOS 17.0 or newer
7 | public final class ToastManager {
8 | public static let shared = ToastManager()
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:29:10: error: 'onTapGesture(count:perform:)' is only available in tvOS 16.0 or newer
2 |
3 | // MARK: - Toast View
4 | public struct ToastView: View {
| `- note: add '@available' attribute to enclosing struct
5 | @ObservedObject var toast: ToastItem
6 | let configuration: ToastConfiguration
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | Group {
20 | if let customView = toast.customView {
:
27 | .scaleEffect(toast.isVisible ? (isHovered ? 1.02 : 1.0) : 0.8)
28 | .offset(dragOffset)
29 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
30 | if toast.closeOnTap {
31 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:36:10: error: 'onHover(perform:)' is unavailable in tvOS
34 | }
35 | }
36 | .onHover { hovering in
| `- error: 'onHover(perform:)' is unavailable in tvOS
37 | withAnimation(.easeInOut(duration: 0.2)) {
38 | isHovered = hovering
SwiftUI.View.onHover:2:36: note: 'onHover(perform:)' has been explicitly marked unavailable here
1 | protocol View {
2 | @inlinable nonisolated public func onHover(perform action: @escaping (Bool) -> Void) -> some View
| `- note: 'onHover(perform:)' has been explicitly marked unavailable here
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift:50:13: error: 'DragGesture' is unavailable in tvOS
48 | }
49 | .gesture(
50 | DragGesture()
| `- error: 'DragGesture' is unavailable in tvOS
51 | .onChanged { value in
52 | dragOffset = value.translation
SwiftUI.DragGesture:3:42: note: 'DragGesture' has been explicitly marked unavailable here
1 | @available(iOS 13.0, macOS 10.15, watchOS 6.0, *)
2 | @available(tvOS, unavailable)
3 | @MainActor @preconcurrency public struct DragGesture : Gesture, ~Sendable {
| `- note: 'DragGesture' has been explicitly marked unavailable here
4 | public struct Value : Equatable, Sendable {
5 | public var time: Date
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastView.swift (in target 'Toast' from project 'Toast')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToastView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 20:45:43.493 xcodebuild[747:4541] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Toast (in target 'Toast' from project 'Toast')
SwiftCompile normal arm64 (in target 'Toast' from project 'Toast')
Building workspace Toast with scheme Toast
(3 failures)
BUILD FAILURE 6.4 tvOS