The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWScratchCard, reference 1.2.3 (33a7bb), with Swift 6.4 for watchOS using Xcode 27.0 on 20 Sep 2026 10:49:43 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 WWScratchCard -destination generic/platform=watchOS

Build Log

        ➜ Explicit dependency on target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard'
    Target 'WWScratchCard' in project 'WWScratchCard'
        ➜ Explicit dependency on target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard'
    Target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 446f535fc440365b96785e455cba9d79
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/446f535fc440365b96785e455cba9d79.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/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/Products/Debug-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    /bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.modulemap (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.DependencyStaticMetadataFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.DependencyMetadataFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/WWScratchCard_WWScratchCard.DependencyStaticMetadataFileList (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/WWScratchCard_WWScratchCard.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/WWScratchCard_WWScratchCard.DependencyMetadataFileList (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/WWScratchCard_WWScratchCard.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/empty-WWScratchCard_WWScratchCard.plist (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/empty-WWScratchCard_WWScratchCard.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftConstValuesFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.LinkFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-OutputFileMap.json (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard_const_extract_protocols.json (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-OutputFileMap.json (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftConstValuesFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.LinkFileList (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/WWScratchCard.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.modulemap (in target 'WWScratchCard' from project 'WWScratchCard')
    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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/WWScratchCard.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
CpResource /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle/Privacy /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Privacy (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    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/Sources/WWScratchCard/Privacy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/empty-WWScratchCard_WWScratchCard.plist (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard_WWScratchCard-b.build/empty-WWScratchCard_WWScratchCard.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform watchos -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle/Info.plist
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle (in target 'WWScratchCard_WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace
    /usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/WWScratchCard_WWScratchCard.bundle
SwiftDriver WWScratchCard normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWScratchCard' from project 'WWScratchCard')
    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 WWScratchCard -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWScratchCard normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWScratchCard' from project 'WWScratchCard')
    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 WWScratchCard -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-DZU5G1OCMNWU0AQRULIFHUJ1Z.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-D305JG44A2WPI6CJY37X3QJE8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-BFXF358ME5AK535N5A9Z766WU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6KO8O3PEWRCA4WC6PPLOYO6WJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-7ELIH9BTIGVKX3UBITM9N72WD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-244WAN3Z1QBT7PIA64EZEFY1R.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-9CQQGWTSNTN9EB5NSHDWUJICH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-6RTBPQ03V7BM9SPRK8SUE055H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-H44EFHQX6XSS5MZ7QP6YJZ76.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-A967K8W8YUYEC9SN52KJ7OO88.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-E7CNISCB36UE8XQ9IOHK9XDX1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-AIF0NDOYZ8ORBNHQAQR5NNB8M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-83J96QSOFE9VX04AAS6310UAE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-659N52XSKR5F0QSB880BH2FJR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-1FU30Y8SWFB7OUUHMJQH5J6FM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BUNV3UXM65NT37THI4W1AM0SF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-C0CW5Q4HGBQYKE77TC42IAFB5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-4MXFZPV6FEB0XBYXCGPWAMQGL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-3TZ9WJCGLYD25HQPWH4968ONX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-2GWF9RFMPLQW4PDHS3NARVI3G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-A7UU8LE6MP85SM26YO7PBZNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7SPX3MD0HMP55E4OLNCPNDQ53.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-3VKBU2AFTD65PAJZ5CJ3LHFM2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-9MY8GOSYRO0M9MKNXF6D3MBNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-9GWPA2B0H20DYUNYHYCWKABJG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-D0XAPJU49S5E9XMKYOFGSTB1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BFVLUQUSBZWYMLCU9QI7VZALW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-23PGCKURCQILXMK0MYZRYDCOU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8TLLMW08ZJWDGIIPKOYFGHHZW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-1HMXWI3V0V4TXHRWZOMZGZ80Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-E6PRXK75PHIPCZFWOFCQ3QBMK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8XMILLJZEGRN2XG7XZUXZ5RLX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-8NQ96OZ0YHXEC24JI95P01UF8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-2KXQLI78OUCDP779AE68GZJ2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-196IIAKDQVU42DLOZP9OQCV76.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-1TY035TURL76BF2U98PZPPZRX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-3DUTYQDQSD9HUAAVY947NMWOI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-75960HIPCIYA06IUW8FIIPQT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-B97LRG0E9GON2NUE65TVG81HU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-7JEFA3KBJJJN6TKJWY3OG1VG5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-D2KPCR4PEX9AQA33NGLUT5SBR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3FVT1SKLN2ZQ5RVOABMTQBB34.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-3UQSCM7WNM9EK4HZML8TY5J3D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3984OXKFNSPE77NT743WK8SEX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-21UNWYOBUZI1LVSQ99S1XBLMO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-EH08NODU6574T74ZKU61VP9BW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-6IJNELR2E80E7LUKESVCP2KET.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-56838ZJ0NC1EBAJ0O6O8QMPDX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-72IVD3VS2RS8Q28D9PIMY0KQP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-2U90NNSAQILBNBPS1SA4F8TYP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-5YWTC6L4756IWSTPGXS5NM0D0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3SDKD7F87FTZ26OON37DRYT6O.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-5JHTPDMNBUNHLJI8LPHKQK1JK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-89GG5G7YC2D0ZTK6AZXXQ20DH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-2P62F1T4XV63S4P99TUDTOK2Q.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-CWVWNML3T0NXVHZDKVLD3X1YZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-44FJGYXFAT2AQAW9Z6T7YS02U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1NLJOVAK60XP0DUB05XA59EIM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-81Y45QFY96XYYFCW2GT6FY8S4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8E6Y4BA3EXYKUGJ24GT9LGV3N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8T2L24YC5NU7WO6WQJWRY7W08.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-40DR0X1DHKGCV4J1IOLFS8MOU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-E5IGB442IA6SBB25TTCOLK2OC.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-9FDXYX6BKBUT6TJ2VF819E7T5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-D7TOWF88VWF67TB9HAFP5UWB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-5DIL6Z9LFIGLMZAHM7X2T5435.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-DWNZ73GEH98SBJXZ7DEXB420K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-6RZ6YBRU8WCUHRFFRVUK5WKMM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BJ2VQGI3OGR34500MEQ1VKHPH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2P8HI0403J99LBDPKNFJ5D4DL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C9X2REPZN2V5BSU4G80FCETDR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-DLBKUSGXN8QHAT8W0OARR9S8A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-8MRR5MNWUOAW2DBPGUQ8FKK4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-970YJN6NIYGK1316L35Z0O8QT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-1H97WMG76HU94F5VGJR19PXFY.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-F385OMZ5GYBUY5O4QAJB4NRII.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-CJZ3NTHPSBH4XWX5EVOG56UZS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-6375NPYACK5NYVHPMC1QQ8MC2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-5D4IR6X37682FPHJ5CBPTKQV6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-D9AVFY0KWO7RVBIQ73CBIJVCN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-AQ1OL9QKC3LQLY5CNSRM1HB53.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-U9BF7WHFVA6BZGFXXXP272PS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-9YFVNIMRC5HRVOIARNWHP1E3H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-6TBN8TEAKO014N1T2QD926XED.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-27QMG6ZQ1NKYTNBYFPM1XKNFC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-7BNVI1SZW5ISQL5SX4WL2X7I5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-5ZZDGDXB6HLQUC72SJW7YJ7MK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-3EFABTJ9L5PQDJ7RQCYQWEJMM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-8L08Q8DQJV8C4AW84YVGFGTRN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-9PPG3SLJ55T4LITIFYX2M0NOZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-B7VGO357Y3GJG35TST7DKDSI3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-IR7RNW23VAUKYI9MLCS9NL9A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-94KFMWNOU7ZLUZNB4T5DLZC9D.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-3Q7WLRD8MR9R3NGIPUBQCP6F6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-8XU5YMYM4P11RQMYCQAG65ITK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-ARAH8MEQ0C2L0FBO39HITJMAO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-ACKJ9K7ABI14F97Y46Y6SRR17.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-C1DST1IX2Z0PTH5SJJZ1IULRB.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-1XGTVTE5PP32UHME8AC63TL6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-6RD5K48QT1F4L9CATNFD2O7YB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-27R3P1YMV4C6JLDT661G3MRIA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-6PPV7YPZ89CZPHYAP072QH8B6.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:47: error: 'UITouch' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:69: error: 'UIEvent' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:47: error: 'UITouch' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:69: error: 'UIEvent' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:47: error: 'UITouch' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:69: error: 'UIEvent' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:11:26: error: 'UIImageView' is unavailable in watchOS
  9 |
 10 | // MARK: - 刮刮樂塗層
 11 | class WWScratchMaskView: UIImageView {
    |                          `- error: 'UIImageView' is unavailable in watchOS
 12 |
 13 |     var lineType: CGLineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:38: error: 'UITouch' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:60: error: 'UIEvent' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:38: error: 'UITouch' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:60: error: 'UIEvent' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:38: error: 'UITouch' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:60: error: 'UIEvent' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
Failed frontend command:
SwiftCompile normal arm64 (in target 'WWScratchCard' from project 'WWScratchCard')
    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/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWScratchCard -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.abi.json
SwiftCompile normal arm64 Compiling\ WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardDelegate.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ WWScratchMaskView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:47: error: 'UITouch' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:69: error: 'UIEvent' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:47: error: 'UITouch' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:69: error: 'UIEvent' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:47: error: 'UITouch' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:69: error: 'UIEvent' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:11:26: error: 'UIImageView' is unavailable in watchOS
  9 |
 10 | // MARK: - 刮刮樂塗層
 11 | class WWScratchMaskView: UIImageView {
    |                          `- error: 'UIImageView' is unavailable in watchOS
 12 |
 13 |     var lineType: CGLineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:38: error: 'UITouch' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:60: error: 'UIEvent' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:38: error: 'UITouch' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:60: error: 'UIEvent' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:38: error: 'UITouch' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchMaskView.swift
SwiftCompile normal arm64 Compiling\ WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:100:72: error: 'UIScreen' is unavailable in watchOS
 98 |     func _eraseMaskImage(lineCap: CGLineCap = .round, lineWidth: CGFloat = 10.0, fromPoint: CGPoint, toPoint: CGPoint) -> UIImage? {
 99 |
100 |         UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)
    |                                                                        `- error: 'UIScreen' is unavailable in watchOS
101 |
102 |         defer { UIGraphicsEndImageContext() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
 52 |
 53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
 54 | @interface UIScreen : NSObject <UITraitEnvironment>
    |            `- note: 'UIScreen' has been explicitly marked unavailable here
 55 |
 56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:100:72: error: 'UIScreen' is unavailable in watchOS
 98 |     func _eraseMaskImage(lineCap: CGLineCap = .round, lineWidth: CGFloat = 10.0, fromPoint: CGPoint, toPoint: CGPoint) -> UIImage? {
 99 |
100 |         UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)
    |                                                                        `- error: 'UIScreen' is unavailable in watchOS
101 |
102 |         defer { UIGraphicsEndImageContext() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
 52 |
 53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
 54 | @interface UIScreen : NSObject <UITraitEnvironment>
    |            `- note: 'UIScreen' has been explicitly marked unavailable here
 55 |
 56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:47: error: 'UITouch' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:69: error: 'UIEvent' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:47: error: 'UITouch' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:69: error: 'UIEvent' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:47: error: 'UITouch' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:69: error: 'UIEvent' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:11:26: error: 'UIImageView' is unavailable in watchOS
  9 |
 10 | // MARK: - 刮刮樂塗層
 11 | class WWScratchMaskView: UIImageView {
    |                          `- error: 'UIImageView' is unavailable in watchOS
 12 |
 13 |     var lineType: CGLineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:38: error: 'UITouch' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:60: error: 'UIEvent' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:38: error: 'UITouch' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:60: error: 'UIEvent' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:38: error: 'UITouch' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:60: error: 'UIEvent' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
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/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWScratchCard -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.abi.json
SwiftCompile normal arm64_32 (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardView.swift
SwiftCompile normal arm64_32 Compiling\ WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardDelegate.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 06:49:33.938 xcodebuild[658:4241] [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 'WWScratchCard' from project 'WWScratchCard')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
	SwiftCompile normal arm64_32 (in target 'WWScratchCard' from project 'WWScratchCard')
	Building workspace WWScratchCard with scheme WWScratchCard
(5 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:
  WWScratchCard: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWScratchCard
2026-09-20 06:49:39.870 xcodebuild[786:4729] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWScratchCard",
  "name" : "WWScratchCard",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "WWScratchCard",
      "targets" : [
        "WWScratchCard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWScratchCard",
      "module_type" : "SwiftTarget",
      "name" : "WWScratchCard",
      "path" : "Sources/WWScratchCard",
      "product_memberships" : [
        "WWScratchCard"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Extension.swift",
        "WWScratchCardDelegate.swift",
        "WWScratchCardView.swift",
        "WWScratchMaskView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "WWScratchCard",
    "schemes" : [
      "WWScratchCard"
    ]
  }
}
2026-09-20 06:49:41.078 xcodebuild[794:4796] [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 WWScratchCard -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme WWScratchCard -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  WWScratchCard: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'WWScratchCard-product' in project 'WWScratchCard'
        ➜ Explicit dependency on target 'WWScratchCard' in project 'WWScratchCard'
        ➜ Explicit dependency on target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard'
    Target 'WWScratchCard' in project 'WWScratchCard'
        ➜ Explicit dependency on target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard'
    Target 'WWScratchCard_WWScratchCard' in project 'WWScratchCard' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver WWScratchCard normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWScratchCard' from project 'WWScratchCard')
    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 WWScratchCard -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64/WWScratchCard-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWScratchCard normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWScratchCard' from project 'WWScratchCard')
    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 WWScratchCard -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-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/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:47: error: 'UITouch' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:69: error: 'UIEvent' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:47: error: 'UITouch' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:69: error: 'UIEvent' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:47: error: 'UITouch' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:69: error: 'UIEvent' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:11:26: error: 'UIImageView' is unavailable in watchOS
  9 |
 10 | // MARK: - 刮刮樂塗層
 11 | class WWScratchMaskView: UIImageView {
    |                          `- error: 'UIImageView' is unavailable in watchOS
 12 |
 13 |     var lineType: CGLineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:38: error: 'UITouch' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:60: error: 'UIEvent' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:38: error: 'UITouch' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:60: error: 'UIEvent' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:38: error: 'UITouch' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:60: error: 'UIEvent' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'WWScratchCard' from project 'WWScratchCard')
    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/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWScratchCard -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/Objects-normal/arm64_32/WWScratchCard.abi.json
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:100:72: error: 'UIScreen' is unavailable in watchOS
 98 |     func _eraseMaskImage(lineCap: CGLineCap = .round, lineWidth: CGFloat = 10.0, fromPoint: CGPoint, toPoint: CGPoint) -> UIImage? {
 99 |
100 |         UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)
    |                                                                        `- error: 'UIScreen' is unavailable in watchOS
101 |
102 |         defer { UIGraphicsEndImageContext() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
 52 |
 53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
 54 | @interface UIScreen : NSObject <UITraitEnvironment>
    |            `- note: 'UIScreen' has been explicitly marked unavailable here
 55 |
 56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 Compiling\ WWScratchMaskView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:47: error: 'UITouch' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:29:69: error: 'UIEvent' is unavailable in watchOS
 27 |     }
 28 |
 29 |     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 30 |         scratchBegan(touches, with: event)
 31 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:47: error: 'UITouch' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:33:69: error: 'UIEvent' is unavailable in watchOS
 31 |     }
 32 |
 33 |     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 34 |         scratchMoved(touches, with: event)
 35 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:47: error: 'UITouch' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                               `- error: 'UITouch' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:37:69: error: 'UIEvent' is unavailable in watchOS
 35 |     }
 36 |
 37 |     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                     `- error: 'UIEvent' is unavailable in watchOS
 38 |         scratchEnded(touches, with: event)
 39 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:11:26: error: 'UIImageView' is unavailable in watchOS
  9 |
 10 | // MARK: - 刮刮樂塗層
 11 | class WWScratchMaskView: UIImageView {
    |                          `- error: 'UIImageView' is unavailable in watchOS
 12 |
 13 |     var lineType: CGLineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:38: error: 'UITouch' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:49:60: error: 'UIEvent' is unavailable in watchOS
 47 |     ///   - touches: Set<UITouch>
 48 |     ///   - event: UIEvent?
 49 |     func scratchBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 50 |
 51 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:38: error: 'UITouch' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:67:60: error: 'UIEvent' is unavailable in watchOS
 65 |     ///   - touches: Set<UITouch>
 66 |     ///   - event: UIEvent?
 67 |     func scratchMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
 68 |
 69 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift:91:38: error: 'UITouch' is unavailable in watchOS
 89 |     ///   - touches: Set<UITouch>
 90 |     ///   - event: UIEvent?
 91 |     func scratchEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                      `- error: 'UITouch' is unavailable in watchOS
 92 |
 93 |         guard let delegate = delegate,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchMaskView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchMaskView.swift
SwiftCompile normal arm64_32 Compiling\ WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardView.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardDelegate.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWScratchCard.build/Debug-watchos/WWScratchCard-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ WWScratchCardView.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:14:26: error: 'UIImageView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
14 |     var couponImageView: UIImageView!
   |                          `- error: 'UIImageView' is unavailable in watchOS
15 |
16 |     override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:11:31: error: 'UIView' is unavailable in watchOS
 9 |
10 | // MARK: - 刮刮樂
11 | open class WWScratchCardView: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
12 |
13 |     var scratchMask: WWScratchMaskView!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:38:175: error: 'UIView' is unavailable in watchOS
36 |     ///   - scratchType: 線條樣式
37 |     ///   - contentMode: UIView.ContentMode
38 |     func setting(delegate: WWScratchCardDelegate? = nil, couponImage: UIImage, maskImage: UIImage, scratchWidth: CGFloat = 15, scratchType: CGLineCap = .square, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                                                                                                                               `- error: 'UIView' is unavailable in watchOS
39 |
40 |         restart(couponImage: couponImage, maskImage: maskImage, contentMode: contentMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift:53:73: error: 'UIView' is unavailable in watchOS
51 |     ///   - couponImage: 優惠卷圖片
52 |     ///   - maskImage: 塗層圖片
53 |     func restart(couponImage: UIImage, maskImage: UIImage, contentMode: UIView.ContentMode = .scaleAspectFill) {
   |                                                                         `- error: 'UIView' is unavailable in watchOS
54 |         couponImageView.contentMode = contentMode
55 |         couponImageView.image = couponImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardView.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardView.swift
SwiftCompile normal arm64 Compiling\ WWScratchCardDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/WWScratchCardDelegate.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWScratchCardDelegate.swift
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:89:11: error: 'UIImageView' is unavailable in watchOS
 87 |
 88 | // MARK: - UIImageView (function)
 89 | extension UIImageView {
    |           `- error: 'UIImageView' is unavailable in watchOS
 90 |
 91 |     /// [刮刮樂效果](https://www.hangge.com/blog/cache/detail_1660.html)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift:100:72: error: 'UIScreen' is unavailable in watchOS
 98 |     func _eraseMaskImage(lineCap: CGLineCap = .round, lineWidth: CGFloat = 10.0, fromPoint: CGPoint, toPoint: CGPoint) -> UIImage? {
 99 |
100 |         UIGraphicsBeginImageContextWithOptions(self.frame.size, false, UIScreen.main.scale)
    |                                                                        `- error: 'UIScreen' is unavailable in watchOS
101 |
102 |         defer { UIGraphicsEndImageContext() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
 52 |
 53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
 54 | @interface UIScreen : NSObject <UITraitEnvironment>
    |            `- note: 'UIScreen' has been explicitly marked unavailable here
 55 |
 56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWScratchCard/Extension.swift (in target 'WWScratchCard' from project 'WWScratchCard')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 06:49:42.041 xcodebuild[795:4821] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64_32 (in target 'WWScratchCard' from project 'WWScratchCard')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWScratchCard (in target 'WWScratchCard' from project 'WWScratchCard')
	Building workspace WWScratchCard with scheme WWScratchCard
(3 failures)
BUILD FAILURE 6.4 watchOS