Build Information
Failed to build VisionPushSDK, reference main (423303), with Swift 6.4 for tvOS using Xcode 27.0 on 25 Sep 2026 17:07:20 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 VisionPushSDK -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VisionLab-de/visionpush-ios-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VisionLab-de/visionpush-ios-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 423303b docs(sdks/ios): Swift Package Index config + badges
Cloned https://github.com/VisionLab-de/visionpush-ios-sdk.git
Revision (git rev-parse @):
423303b3c37661c5a0fe6014dc9043b8441bf6b7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VisionLab-de/visionpush-ios-sdk.git at main
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/VisionLab-de/visionpush-ios-sdk.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/apple/swift-docc-plugin
Fetching from https://github.com/swiftlang/swift-docc-symbolkit
Creating working copy of package ‘swift-docc-plugin’
Checking out 1.5.0 of package ‘swift-docc-plugin’
Creating working copy of package ‘swift-docc-symbolkit’
Checking out 1.0.0 of package ‘swift-docc-symbolkit’
Resolve Package Graph
Resolved source packages:
SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
VisionPushSDK: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftDocCPlugin, SymbolKit, VisionPushSDK
2026-09-25 13:05:53.586 xcodebuild[529:3030] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "VisionPushSDK",
"name" : "VisionPushSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VisionPushSDK",
"targets" : [
"VisionPushSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "VisionPushSDKTests",
"module_type" : "SwiftTarget",
"name" : "VisionPushSDKTests",
"path" : "Tests/VisionPushSDKTests",
"sources" : [
"RealtimeChannelTests.swift",
"SealedPayloadTests.swift",
"VisionPushTests.swift"
],
"target_dependencies" : [
"VisionPushSDK"
],
"type" : "test"
},
{
"c99name" : "VisionPushSDK",
"module_type" : "SwiftTarget",
"name" : "VisionPushSDK",
"path" : "Sources/VisionPushSDK",
"product_memberships" : [
"VisionPushSDK"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ApiClient.swift",
"DeviceRegistrar.swift",
"Diagnostics.swift",
"GeofenceManager.swift",
"InAppMessage.swift",
"LiveActivityHandler.swift",
"Models.swift",
"NotificationServiceExtension.swift",
"NotificationTracker.swift",
"RealtimeChannel.swift",
"SealedPayload.swift",
"VisionPush.swift",
"VisionPushError.swift",
"VoIPHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "VisionPushSDK",
"schemes" : [
"VisionPushSDK"
]
}
}
2026-09-25 13:06:37.464 xcodebuild[822:5010] [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 VisionPushSDK -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme VisionPushSDK -destination generic/platform=tvOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
VisionPushSDK: /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 'VisionPushSDK-product' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK'
Target 'VisionPushSDK' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK'
Target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 290bf7a909a60ba96a273cfaf4502c21
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/290bf7a909a60ba96a273cfaf4502c21.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
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/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/EagerLinkingTBDs/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.modulemap (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/VisionPushSDK_VisionPushSDK.DependencyMetadataFileList (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/VisionPushSDK_VisionPushSDK.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.DependencyMetadataFileList (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/empty-VisionPushSDK_VisionPushSDK.plist (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/empty-VisionPushSDK_VisionPushSDK.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/VisionPushSDK_VisionPushSDK.DependencyStaticMetadataFileList (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/VisionPushSDK_VisionPushSDK.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.DependencyStaticMetadataFileList (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftConstValuesFileList (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftFileList (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.LinkFileList (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-OutputFileMap.json (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/VisionPushSDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.modulemap (in target 'VisionPushSDK' from project 'VisionPushSDK')
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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/VisionPushSDK.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/empty-VisionPushSDK_VisionPushSDK.plist (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK_VisionPushSDK-b.build/empty-VisionPushSDK_VisionPushSDK.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform appletvos -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle/Info.plist
CpResource /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle/PrivacyInfo.xcprivacy /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/PrivacyInfo.xcprivacy (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
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/VisionPushSDK/PrivacyInfo.xcprivacy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle (in target 'VisionPushSDK_VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace
/usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/VisionPushSDK_VisionPushSDK.bundle
SwiftDriver VisionPushSDK normal arm64 com.apple.xcode.tools.swift.compiler (in target 'VisionPushSDK' from project 'VisionPushSDK')
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 VisionPushSDK -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-B1X8RI63V48AJRTH2RK6JAARV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-8X2KEPL7CTRPS40TUB9APHPK6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2AZ6B5IBYD3RRRTFWN2ONASY3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9ZJZ6FDEZNKTZU8YLPMFT9RAQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-8ZJAYZ85YBOAOP52Y9H6IUNP3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-8N4EXJ4RUJTR8K9OO3CMOH1EP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-AHRDH5EKLY6D04C5E42F3VCQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BV2EDDP0MI5QJDDPEEV4D9D3V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BY5PD8KF1L5KF6F4Q69HE3TJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-BO2OCAUYVAXDRVQWQ8ISKGNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-JOTYMOA1YZCIJ2NON6FQ848O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-AOGAN1O02NKXRJN5V73AV3V3M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-7JU2HP127LIT1X9E2V3D8WZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8GCAV1YMG5UUGHUID3CA20TCH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-7ULT1EUHDHW4OZPSTT33H6QGE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6NFTB6IBKS143IVPGT1EKB7HO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-6EVHP7A717OUS5DMC78F79HWO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-437O2R2NID4WAQVENR63GR82C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-8SR3855WDFHQPR6G9GHOI2C07.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-3YXHN678NGYM3NL9POJ2HVEIF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-6X1IQ3QK9KEVKXOK9Y79EW7J3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-DBSQAVBBPC3D2OMU5ZI2RXMST.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-117QUXEUT3Z7UQCUYWV2UA228.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-EH3F5PJCIZG05NO51CEFSZYPW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-5250FDCE56N8508OR6XUYDKZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-E2DGZ0SX0TULQHULZRPO6OKNW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-DBUFF7811DKMX7VPBOJPGGF1U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-7U8NLEFXSB8BR7PJQGVMF5A4Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1QL58A0V50C39KVAIC6C38SHL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-7TPJ7ENDC4L1A1ESHYI9TXS0D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-6O2DJFT3QUJ7QKTD3SNUB6PCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-EP05MCI8X9XCB9GCC2I2LPUJV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-3GJI8H0BNAEZPQPQ1V0VVY3FY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8VMXEKVDA3MHUH9AOTP905DID.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-CWSP3J98S2658BYCVL6RP99T3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-2CUR2VK9S3S3WPFXPNXNUWYGN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BSSIP64DIGUKMAYJOG1WPQ78X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-88D4CLEBD4CLWQKT78PZ6H1O8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-59NY7PABM0I4V978161FOC04A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-E9ZW5TH066WIJWH9080RC5NG4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-ETSJ65FELPWR8WH8G49R1DF2E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-6ZFJ1AK4H8IBGEBMYQBWGBYLK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-B6BODGZ4MQQTY0PBC4SHRP009.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-95CC8U42ZA9STP5K6GP9ZVJS5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-7V4O8DATEQ9F7SDNTCW8YWLG3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-37JIYZ2GWDA1L166PP1D9JKAF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-7OT6HHTMY0ZFEQJ095LJZ6NLC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-38FJ1CKX9FV2RD97O64Z7QB17.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-4N07O3JN82GNOWXYH2TBMWON5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B5AU9VM9Y7NU79RLMH13Z4IFM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-YVXXAOMVX0JH2KO1XTTKTY51.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-2KYBS7IML1SD788M91YV7Q0CC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-4NY99CNDU9WUNUYEIXSS1QFGE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-DPU0PB5X0XLSVA2ETRGI6FJBM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-DJSYAWKXFGVSAK5CQMOB3JSR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-7S2AFJ8EIY3DUFYLEAX1JR1QV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-543QU5V2NHKUFCYFJDKUJ7NYG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-1TKWN7VC2X6N3ITMRVA2G0EB2.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ VisionPushSDK (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:187:22: error: cannot override 'locationManager' which has been marked unavailable
185 | }
186 |
187 | nonisolated func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
188 | guard region.identifier.hasPrefix("vp_") else { return }
189 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:126:1: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
124 | * CLLocationManager instance with a non-nil delegate that implements this method.
125 | */
126 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
127 | didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
128 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:196:22: error: cannot override 'locationManager' which has been marked unavailable
194 | }
195 |
196 | nonisolated func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
197 | guard region.identifier.hasPrefix("vp_") else { return }
198 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:136:1: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
134 | * CLLocationManager instance with a non-nil delegate that implements this method.
135 | */
136 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
137 | didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
138 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:205:22: error: cannot override 'locationManager' which has been marked unavailable
203 | }
204 |
205 | nonisolated func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error) {}
| `- error: cannot override 'locationManager' which has been marked unavailable
206 | nonisolated func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {}
207 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:154:1: note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
152 | * Invoked when a region monitoring error has occurred. Error types are defined in "CLError.h".
153 | */
154 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
155 | monitoringDidFailForRegion:(nullable CLRegion *)region
156 | withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:254:75: error: 'UNNotificationAttachment' is unavailable in tvOS
252 | }
253 |
254 | private static func downloadAttachment(from url: URL) async throws -> UNNotificationAttachment {
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
255 | let (tmpURL, response) = try await URLSession.shared.download(from: url)
256 | defer { try? FileManager.default.removeItem(at: tmpURL) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:134:48: error: 'UNNotificationResponse' is unavailable in tvOS
132 | ///
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
| `- error: 'UNNotificationResponse' is unavailable in tvOS
135 | let userInfo = response.notification.request.content.userInfo
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:762:30: error: 'UNNotificationResponse' is unavailable in tvOS
760 | /// - Parameter response: The notification response from `UNUserNotificationCenterDelegate`.
761 | public func userNotificationCenter(
762 | didReceive response: UNNotificationResponse
| `- error: 'UNNotificationResponse' is unavailable in tvOS
763 | ) async {
764 | guard isInitialized, hasConsent else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
Failed frontend command:
SwiftCompile normal arm64 (in target 'VisionPushSDK' from project 'VisionPushSDK')
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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift -target arm64-apple-tvos15.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -swift-module-cross-import UserNotifications /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/UserNotifications.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VisionPushSDK -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.abi.json
SwiftCompile normal arm64 Compiling\ VisionPushError.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VisionPushError.swift
SwiftCompile normal arm64 Compiling\ LiveActivityHandler.swift,\ Models.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LiveActivityHandler.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Models.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ ApiClient.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ApiClient.swift
SwiftCompile normal arm64 Compiling\ VisionPush.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:762:30: error: 'UNNotificationResponse' is unavailable in tvOS
760 | /// - Parameter response: The notification response from `UNUserNotificationCenterDelegate`.
761 | public func userNotificationCenter(
762 | didReceive response: UNNotificationResponse
| `- error: 'UNNotificationResponse' is unavailable in tvOS
763 | ) async {
764 | guard isInitialized, hasConsent else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:624:63: error: 'setBadgeCount' is only available in tvOS 16.0 or newer
67 | /// ```
68 | @MainActor
69 | public final class VisionPush: NSObject {
| `- note: add '@available' attribute to enclosing class
70 |
71 | // MARK: - Callback Types
:
617 | ///
618 | /// - Parameter count: The badge number to display. Use 0 to clear the badge.
619 | public func setBadge(_ count: Int) {
| `- note: add '@available' attribute to enclosing instance method
620 | currentBadgeCount = max(0, count)
621 | #if canImport(UIKit)
622 | if #available(iOS 16.0, *) {
623 | Task {
624 | try? await UNUserNotificationCenter.current().setBadgeCount(currentBadgeCount)
| |- error: 'setBadgeCount' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
625 | }
626 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:770:41: error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
768 |
769 | // Fire open handlers and clear badge for default tap (not for action buttons / dismiss)
770 | if response.actionIdentifier == UNNotificationDefaultActionIdentifier {
| `- error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
771 | clearBadge()
772 | let userInfo = response.notification.request.content.userInfo
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:14:24: note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | extern NSString *const UNNotificationDefaultActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
| `- note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
15 | extern NSString *const UNNotificationDismissActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
16 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:772:66: error: 'userInfo' is unavailable in tvOS
770 | if response.actionIdentifier == UNNotificationDefaultActionIdentifier {
771 | clearBadge()
772 | let userInfo = response.notification.request.content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
773 | if let notification = VisionPushNotification(userInfo: userInfo) {
774 | notificationOpenHandlers.forEach { $0(notification) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:804:63: error: 'userInfo' is unavailable in tvOS
802 | await notificationTracker.handle(foregroundNotification: notification)
803 |
804 | let userInfoForHistory = notification.request.content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
805 | if let vpNotification = VisionPushNotification(userInfo: userInfoForHistory) {
806 | appendToHistory(vpNotification)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:810:53: error: 'userInfo' is unavailable in tvOS
808 |
809 | // Fire foreground-arrival handlers (setNotificationHandler)
810 | let userInfo = notification.request.content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
811 | if let vpNotification = VisionPushNotification(userInfo: userInfo),
812 | !notificationArrivalHandlers.isEmpty {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:1108:44: error: 'removeAllDeliveredNotifications()' is unavailable in tvOS
1106 | /// and resets the app icon badge to zero.
1107 | public func clearNotifications() {
1108 | UNUserNotificationCenter.current().removeAllDeliveredNotifications()
| `- error: 'removeAllDeliveredNotifications()' is unavailable in tvOS
1109 | clearBadge()
1110 | log("Notification center cleared.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:75:1: note: 'removeAllDeliveredNotifications()' has been explicitly marked unavailable here
73 | - (void)getDeliveredNotificationsWithCompletionHandler:(void(^)(NSArray<UNNotification *> *notifications))completionHandler API_UNAVAILABLE(tvos);
74 | - (void)removeDeliveredNotificationsWithIdentifiers:(NSArray<NSString *> *)identifiers API_UNAVAILABLE(tvos);
75 | - (void)removeAllDeliveredNotifications API_UNAVAILABLE(tvos);
| `- note: 'removeAllDeliveredNotifications()' has been explicitly marked unavailable here
76 |
77 | - (void)setBadgeCount:(NSInteger)newBadgeCount withCompletionHandler:(nullable void(^)(NSError *__nullable error))completionHandler API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VisionPush.swift
SwiftCompile normal arm64 Compiling\ DeviceRegistrar.swift,\ Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift:310:39: error: 'language' is only available in tvOS 16 or newer
19 | /// - Persisting the last-known `deviceId`, token, and externalId for deduplication.
20 | @MainActor
21 | final class DeviceRegistrar: NSObject, Sendable {
| `- note: add '@available' attribute to enclosing class
22 |
23 | // MARK: - Persistence Keys
:
301 |
302 | /// Builds the full device registration payload including device metadata.
303 | private func buildRegistrationPayload(
| `- note: add '@available' attribute to enclosing instance method
304 | token: String,
305 | tags: [String: String]
:
308 | let country: String?
309 | if #available(iOS 16, macOS 13, *) {
310 | language = Locale.current.language.languageCode?.identifier ?? Locale.current.identifier
| |- error: 'language' is only available in tvOS 16 or newer
| `- note: add 'if #available' version check
311 | country = Locale.current.region?.identifier
312 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift:310:48: error: 'languageCode' is only available in tvOS 16 or newer
19 | /// - Persisting the last-known `deviceId`, token, and externalId for deduplication.
20 | @MainActor
21 | final class DeviceRegistrar: NSObject, Sendable {
| `- note: add '@available' attribute to enclosing class
22 |
23 | // MARK: - Persistence Keys
:
301 |
302 | /// Builds the full device registration payload including device metadata.
303 | private func buildRegistrationPayload(
| `- note: add '@available' attribute to enclosing instance method
304 | token: String,
305 | tags: [String: String]
:
308 | let country: String?
309 | if #available(iOS 16, macOS 13, *) {
310 | language = Locale.current.language.languageCode?.identifier ?? Locale.current.identifier
| |- error: 'languageCode' is only available in tvOS 16 or newer
| `- note: add 'if #available' version check
311 | country = Locale.current.region?.identifier
312 | } else {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeviceRegistrar.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Diagnostics.swift
SwiftCompile normal arm64 Compiling\ SealedPayload.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SealedPayload.swift
SwiftCompile normal arm64 Compiling\ NotificationServiceExtension.swift,\ NotificationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:254:75: error: 'UNNotificationAttachment' is unavailable in tvOS
252 | }
253 |
254 | private static func downloadAttachment(from url: URL) async throws -> UNNotificationAttachment {
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
255 | let (tmpURL, response) = try await URLSession.shared.download(from: url)
256 | defer { try? FileManager.default.removeItem(at: tmpURL) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:87:33: error: 'userInfo' is unavailable in tvOS
85 | // content into mutableContent.userInfo so the app sees plaintext, not the envelope.)
86 | let rawActions = (sealed?["actions"] as? [[String: String]])
87 | ?? (request.content.userInfo["vp_actions"] as? [[String: String]])
| `- error: 'userInfo' is unavailable in tvOS
88 | if let rawActions, let categoryId = Self.registerActionsCategory(rawActions) {
89 | mutableContent.categoryIdentifier = categoryId
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:89:28: error: 'categoryIdentifier' is unavailable in tvOS
87 | ?? (request.content.userInfo["vp_actions"] as? [[String: String]])
88 | if let rawActions, let categoryId = Self.registerActionsCategory(rawActions) {
89 | mutableContent.categoryIdentifier = categoryId
| `- error: 'categoryIdentifier' is unavailable in tvOS
90 | }
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:110:61: note: 'categoryIdentifier' has been explicitly marked unavailable here
108 |
109 | // The identifier for a registered UNNotificationCategory that will be used to determine the appropriate actions to display for the notification.
110 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *categoryIdentifier API_UNAVAILABLE(tvos);
| `- note: 'categoryIdentifier' has been explicitly marked unavailable here
111 |
112 | // The launch image that will be used when the app is opened from the notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:94:33: error: 'userInfo' is unavailable in tvOS
92 | // Media URL: prefer the decrypted image, fall back to plaintext vp_media_url.
93 | let rawMedia = (sealed?["image_url"] as? String)
94 | ?? (request.content.userInfo["vp_media_url"] as? String)
| `- error: 'userInfo' is unavailable in tvOS
95 | guard
96 | let rawURL = rawMedia,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:108:32: error: 'attachments' is unavailable in tvOS
106 | do {
107 | let attachment = try await Self.downloadAttachment(from: mediaURL)
108 | mutableContent.attachments = [attachment]
| `- error: 'attachments' is unavailable in tvOS
109 | } catch {
110 | // Deliver without image — never block the notification
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:101:89: note: 'attachments' has been explicitly marked unavailable here
99 |
100 | // Optional array of attachments.
101 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSArray <UNNotificationAttachment *> *attachments API_UNAVAILABLE(tvos);
| `- note: 'attachments' has been explicitly marked unavailable here
102 |
103 | // The application badge number. nil means no change. 0 to hide.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:148:47: error: 'userInfo' is unavailable in tvOS
146 | into mutableContent: UNMutableNotificationContent
147 | ) -> [String: Any]? {
148 | guard VisionPushSeal.isSealed(content.userInfo),
| `- error: 'userInfo' is unavailable in tvOS
149 | let env = content.userInfo["enc"] as? [AnyHashable: Any],
150 | let ciphertext = env["ciphertext"] as? String,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:149:33: error: 'userInfo' is unavailable in tvOS
147 | ) -> [String: Any]? {
148 | guard VisionPushSeal.isSealed(content.userInfo),
149 | let env = content.userInfo["enc"] as? [AnyHashable: Any],
| `- error: 'userInfo' is unavailable in tvOS
150 | let ciphertext = env["ciphertext"] as? String,
151 | let keys = sealedKeysProvider?(),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:155:71: error: 'title' is unavailable in tvOS
153 | else { return nil }
154 |
155 | if let title = decrypted["title"] as? String { mutableContent.title = title }
| `- error: 'title' is unavailable in tvOS
156 | if let body = decrypted["body"] as? String { mutableContent.body = body }
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:125:61: note: 'title' has been explicitly marked unavailable here
123 |
124 | // The title of the notification. Use -[NSString localizedUserNotificationStringForKey:arguments:] to provide a string that will be localized at the time that the notification is presented.
125 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *title API_UNAVAILABLE(tvos);
| `- note: 'title' has been explicitly marked unavailable here
126 |
127 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:156:69: error: 'body' is unavailable in tvOS
154 |
155 | if let title = decrypted["title"] as? String { mutableContent.title = title }
156 | if let body = decrypted["body"] as? String { mutableContent.body = body }
| `- error: 'body' is unavailable in tvOS
157 |
158 | // Merge the decrypted content into userInfo under the SDK's keys so the app
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:107:61: note: 'body' has been explicitly marked unavailable here
105 |
106 | // The body of the notification. Use -[NSString localizedUserNotificationStringForKey:arguments:] to provide a string that will be localized at the time that the notification is presented.
107 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *body API_UNAVAILABLE(tvos);
| `- note: 'body' has been explicitly marked unavailable here
108 |
109 | // The identifier for a registered UNNotificationCategory that will be used to determine the appropriate actions to display for the notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:160:30: error: 'userInfo' is unavailable in tvOS
158 | // Merge the decrypted content into userInfo under the SDK's keys so the app
159 | // (and click handling) reconstruct the full notification from plaintext.
160 | var merged = content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
161 | merged.removeValue(forKey: "enc")
162 | merged.removeValue(forKey: "vp_sealed")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:167:24: error: 'userInfo' is unavailable in tvOS
165 | if let actions = decrypted["actions"] { merged["vp_actions"] = actions }
166 | if let custom = decrypted["custom_data"] { merged["custom_data"] = custom }
167 | mutableContent.userInfo = merged
| `- error: 'userInfo' is unavailable in tvOS
168 |
169 | return decrypted
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:128:65: note: 'userInfo' has been explicitly marked unavailable here
126 |
127 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
128 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
129 |
130 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:214:23: error: 'UNNotificationAction' is unavailable in tvOS
212 | /// Returns the category identifier to assign to `mutableContent.categoryIdentifier`.
213 | private static func registerActionsCategory(_ rawActions: [[String: String]]) -> String? {
214 | let actions: [UNNotificationAction] = rawActions.prefix(3).compactMap { dict in
| `- error: 'UNNotificationAction' is unavailable in tvOS
215 | guard let id = dict["id"], !id.isEmpty,
216 | let title = dict["title"], !title.isEmpty else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:29:12: note: 'UNNotificationAction' has been explicitly marked unavailable here
27 |
28 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
29 | @interface UNNotificationAction : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAction' has been explicitly marked unavailable here
30 |
31 | // The unique identifier for this action.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:217:23: error: 'UNNotificationActionOptions' is unavailable in tvOS
215 | guard let id = dict["id"], !id.isEmpty,
216 | let title = dict["title"], !title.isEmpty else { return nil }
217 | var opts: UNNotificationActionOptions = []
| `- error: 'UNNotificationActionOptions' is unavailable in tvOS
218 | if dict["foreground"] == "true" { opts.insert(.foreground) }
219 | if dict["auth_required"] == "true" { opts.insert(.authenticationRequired) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:14:32: note: 'UNNotificationActionOptions' has been explicitly marked unavailable here
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | typedef NS_OPTIONS(NSUInteger, UNNotificationActionOptions) {
| `- note: 'UNNotificationActionOptions' has been explicitly marked unavailable here
15 |
16 | // Whether this action should require unlocking before being performed.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:220:20: error: 'UNNotificationAction' is unavailable in tvOS
218 | if dict["foreground"] == "true" { opts.insert(.foreground) }
219 | if dict["auth_required"] == "true" { opts.insert(.authenticationRequired) }
220 | return UNNotificationAction(identifier: id, title: title, options: opts)
| `- error: 'UNNotificationAction' is unavailable in tvOS
221 | }
222 | guard !actions.isEmpty else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:29:12: note: 'UNNotificationAction' has been explicitly marked unavailable here
27 |
28 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
29 | @interface UNNotificationAction : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAction' has been explicitly marked unavailable here
30 |
31 | // The unique identifier for this action.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:229:24: error: 'UNNotificationCategory' is unavailable in tvOS
227 | let categoryId = "vp_cat_\(abs(sortedIds.hashValue))"
228 |
229 | let category = UNNotificationCategory(
| `- error: 'UNNotificationCategory' is unavailable in tvOS
230 | identifier: categoryId,
231 | actions: actions,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h:36:12: note: 'UNNotificationCategory' has been explicitly marked unavailable here
34 |
35 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
36 | @interface UNNotificationCategory : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationCategory' has been explicitly marked unavailable here
37 |
38 | // The unique identifier for this category. The UNNotificationCategory's actions will be displayed on notifications when the UNNotificationCategory's identifier matches the UNNotificationRequest's categoryIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:244:16: error: 'getNotificationCategories(completionHandler:)' is unavailable in tvOS
242 | let sema = DispatchSemaphore(value: 0)
243 | let center = UNUserNotificationCenter.current()
244 | center.getNotificationCategories { existing in
| `- error: 'getNotificationCategories(completionHandler:)' is unavailable in tvOS
245 | var merged = existing.filter { $0.identifier != categoryId }
246 | merged.insert(category)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:57:1: note: 'getNotificationCategories(completionHandler:)' has been explicitly marked unavailable here
55 | // Notification categories can be used to choose which actions will be displayed on which notifications.
56 | - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories API_UNAVAILABLE(tvos);
57 | - (void)getNotificationCategoriesWithCompletionHandler:(void(^)(NSSet<UNNotificationCategory *> *categories))completionHandler API_UNAVAILABLE(tvos);
| `- note: 'getNotificationCategories(completionHandler:)' has been explicitly marked unavailable here
58 |
59 | // The application's user notification settings
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:247:20: error: 'setNotificationCategories' is unavailable in tvOS
245 | var merged = existing.filter { $0.identifier != categoryId }
246 | merged.insert(category)
247 | center.setNotificationCategories(merged)
| `- error: 'setNotificationCategories' is unavailable in tvOS
248 | sema.signal()
249 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:56:1: note: 'setNotificationCategories' has been explicitly marked unavailable here
54 |
55 | // Notification categories can be used to choose which actions will be displayed on which notifications.
56 | - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories API_UNAVAILABLE(tvos);
| `- note: 'setNotificationCategories' has been explicitly marked unavailable here
57 | - (void)getNotificationCategoriesWithCompletionHandler:(void(^)(NSSet<UNNotificationCategory *> *categories))completionHandler API_UNAVAILABLE(tvos);
58 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:270:20: error: 'UNNotificationAttachment' is unavailable in tvOS
268 | try FileManager.default.moveItem(at: tmpURL, to: destURL)
269 |
270 | return try UNNotificationAttachment(
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
271 | identifier: UUID().uuidString,
272 | url: destURL,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:134:48: error: 'UNNotificationResponse' is unavailable in tvOS
132 | ///
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
| `- error: 'UNNotificationResponse' is unavailable in tvOS
135 | let userInfo = response.notification.request.content.userInfo
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:135:62: error: 'userInfo' is unavailable in tvOS
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
135 | let userInfo = response.notification.request.content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
137 | let campaignId = userInfo["vp_campaign_id"] as? String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:140:14: error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
138 |
139 | switch response.actionIdentifier {
140 | case UNNotificationDefaultActionIdentifier:
| `- error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
141 | await enqueue(notificationId: vpId, eventType: .opened, actionId: nil, campaignId: campaignId)
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:14:24: note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | extern NSString *const UNNotificationDefaultActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
| `- note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
15 | extern NSString *const UNNotificationDismissActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
16 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:143:14: error: 'UNNotificationDismissActionIdentifier' is unavailable in tvOS
141 | await enqueue(notificationId: vpId, eventType: .opened, actionId: nil, campaignId: campaignId)
142 |
143 | case UNNotificationDismissActionIdentifier:
| `- error: 'UNNotificationDismissActionIdentifier' is unavailable in tvOS
144 | await enqueue(notificationId: vpId, eventType: .dismissed, actionId: nil, campaignId: campaignId)
145 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:15:24: note: 'UNNotificationDismissActionIdentifier' has been explicitly marked unavailable here
13 |
14 | extern NSString *const UNNotificationDefaultActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
15 | extern NSString *const UNNotificationDismissActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
| `- note: 'UNNotificationDismissActionIdentifier' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotificationServiceExtension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotificationTracker.swift
SwiftCompile normal arm64 Compiling\ VoIPHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VoIPHandler.swift
SwiftCompile normal arm64 Compiling\ RealtimeChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RealtimeChannel.swift
SwiftCompile normal arm64 Compiling\ GeofenceManager.swift,\ InAppMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeofenceManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InAppMessage.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-25 13:06:46.136 xcodebuild[873:5370] [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 'VisionPushSDK' from project 'VisionPushSDK')
SwiftEmitModule normal arm64 Emitting\ module\ for\ VisionPushSDK (in target 'VisionPushSDK' from project 'VisionPushSDK')
Building workspace VisionPushSDK with scheme VisionPushSDK
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
VisionPushSDK: /Users/admin/builder/spi-builder-workspace
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
resolved source packages: SwiftDocCPlugin, VisionPushSDK, SymbolKit
2026-09-25 13:07:04.770 xcodebuild[1073:6451] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "VisionPushSDK",
"name" : "VisionPushSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VisionPushSDK",
"targets" : [
"VisionPushSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "VisionPushSDKTests",
"module_type" : "SwiftTarget",
"name" : "VisionPushSDKTests",
"path" : "Tests/VisionPushSDKTests",
"sources" : [
"RealtimeChannelTests.swift",
"SealedPayloadTests.swift",
"VisionPushTests.swift"
],
"target_dependencies" : [
"VisionPushSDK"
],
"type" : "test"
},
{
"c99name" : "VisionPushSDK",
"module_type" : "SwiftTarget",
"name" : "VisionPushSDK",
"path" : "Sources/VisionPushSDK",
"product_memberships" : [
"VisionPushSDK"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ApiClient.swift",
"DeviceRegistrar.swift",
"Diagnostics.swift",
"GeofenceManager.swift",
"InAppMessage.swift",
"LiveActivityHandler.swift",
"Models.swift",
"NotificationServiceExtension.swift",
"NotificationTracker.swift",
"RealtimeChannel.swift",
"SealedPayload.swift",
"VisionPush.swift",
"VisionPushError.swift",
"VoIPHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "VisionPushSDK",
"schemes" : [
"VisionPushSDK"
]
}
}
2026-09-25 13:07:12.145 xcodebuild[1131:6853] [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 VisionPushSDK -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme VisionPushSDK -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
VisionPushSDK: /Users/admin/builder/spi-builder-workspace
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'VisionPushSDK-product' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK'
Target 'VisionPushSDK' in project 'VisionPushSDK'
➜ Explicit dependency on target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK'
Target 'VisionPushSDK_VisionPushSDK' in project 'VisionPushSDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver VisionPushSDK normal arm64 com.apple.xcode.tools.swift.compiler (in target 'VisionPushSDK' from project 'VisionPushSDK')
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 VisionPushSDK -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ NotificationServiceExtension.swift,\ NotificationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:254:75: error: 'UNNotificationAttachment' is unavailable in tvOS
252 | }
253 |
254 | private static func downloadAttachment(from url: URL) async throws -> UNNotificationAttachment {
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
255 | let (tmpURL, response) = try await URLSession.shared.download(from: url)
256 | defer { try? FileManager.default.removeItem(at: tmpURL) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:87:33: error: 'userInfo' is unavailable in tvOS
85 | // content into mutableContent.userInfo so the app sees plaintext, not the envelope.)
86 | let rawActions = (sealed?["actions"] as? [[String: String]])
87 | ?? (request.content.userInfo["vp_actions"] as? [[String: String]])
| `- error: 'userInfo' is unavailable in tvOS
88 | if let rawActions, let categoryId = Self.registerActionsCategory(rawActions) {
89 | mutableContent.categoryIdentifier = categoryId
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:89:28: error: 'categoryIdentifier' is unavailable in tvOS
87 | ?? (request.content.userInfo["vp_actions"] as? [[String: String]])
88 | if let rawActions, let categoryId = Self.registerActionsCategory(rawActions) {
89 | mutableContent.categoryIdentifier = categoryId
| `- error: 'categoryIdentifier' is unavailable in tvOS
90 | }
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:110:61: note: 'categoryIdentifier' has been explicitly marked unavailable here
108 |
109 | // The identifier for a registered UNNotificationCategory that will be used to determine the appropriate actions to display for the notification.
110 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *categoryIdentifier API_UNAVAILABLE(tvos);
| `- note: 'categoryIdentifier' has been explicitly marked unavailable here
111 |
112 | // The launch image that will be used when the app is opened from the notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:94:33: error: 'userInfo' is unavailable in tvOS
92 | // Media URL: prefer the decrypted image, fall back to plaintext vp_media_url.
93 | let rawMedia = (sealed?["image_url"] as? String)
94 | ?? (request.content.userInfo["vp_media_url"] as? String)
| `- error: 'userInfo' is unavailable in tvOS
95 | guard
96 | let rawURL = rawMedia,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:108:32: error: 'attachments' is unavailable in tvOS
106 | do {
107 | let attachment = try await Self.downloadAttachment(from: mediaURL)
108 | mutableContent.attachments = [attachment]
| `- error: 'attachments' is unavailable in tvOS
109 | } catch {
110 | // Deliver without image — never block the notification
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:101:89: note: 'attachments' has been explicitly marked unavailable here
99 |
100 | // Optional array of attachments.
101 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSArray <UNNotificationAttachment *> *attachments API_UNAVAILABLE(tvos);
| `- note: 'attachments' has been explicitly marked unavailable here
102 |
103 | // The application badge number. nil means no change. 0 to hide.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:148:47: error: 'userInfo' is unavailable in tvOS
146 | into mutableContent: UNMutableNotificationContent
147 | ) -> [String: Any]? {
148 | guard VisionPushSeal.isSealed(content.userInfo),
| `- error: 'userInfo' is unavailable in tvOS
149 | let env = content.userInfo["enc"] as? [AnyHashable: Any],
150 | let ciphertext = env["ciphertext"] as? String,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:149:33: error: 'userInfo' is unavailable in tvOS
147 | ) -> [String: Any]? {
148 | guard VisionPushSeal.isSealed(content.userInfo),
149 | let env = content.userInfo["enc"] as? [AnyHashable: Any],
| `- error: 'userInfo' is unavailable in tvOS
150 | let ciphertext = env["ciphertext"] as? String,
151 | let keys = sealedKeysProvider?(),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:155:71: error: 'title' is unavailable in tvOS
153 | else { return nil }
154 |
155 | if let title = decrypted["title"] as? String { mutableContent.title = title }
| `- error: 'title' is unavailable in tvOS
156 | if let body = decrypted["body"] as? String { mutableContent.body = body }
157 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:125:61: note: 'title' has been explicitly marked unavailable here
123 |
124 | // The title of the notification. Use -[NSString localizedUserNotificationStringForKey:arguments:] to provide a string that will be localized at the time that the notification is presented.
125 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *title API_UNAVAILABLE(tvos);
| `- note: 'title' has been explicitly marked unavailable here
126 |
127 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:156:69: error: 'body' is unavailable in tvOS
154 |
155 | if let title = decrypted["title"] as? String { mutableContent.title = title }
156 | if let body = decrypted["body"] as? String { mutableContent.body = body }
| `- error: 'body' is unavailable in tvOS
157 |
158 | // Merge the decrypted content into userInfo under the SDK's keys so the app
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:107:61: note: 'body' has been explicitly marked unavailable here
105 |
106 | // The body of the notification. Use -[NSString localizedUserNotificationStringForKey:arguments:] to provide a string that will be localized at the time that the notification is presented.
107 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *body API_UNAVAILABLE(tvos);
| `- note: 'body' has been explicitly marked unavailable here
108 |
109 | // The identifier for a registered UNNotificationCategory that will be used to determine the appropriate actions to display for the notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:160:30: error: 'userInfo' is unavailable in tvOS
158 | // Merge the decrypted content into userInfo under the SDK's keys so the app
159 | // (and click handling) reconstruct the full notification from plaintext.
160 | var merged = content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
161 | merged.removeValue(forKey: "enc")
162 | merged.removeValue(forKey: "vp_sealed")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:167:24: error: 'userInfo' is unavailable in tvOS
165 | if let actions = decrypted["actions"] { merged["vp_actions"] = actions }
166 | if let custom = decrypted["custom_data"] { merged["custom_data"] = custom }
167 | mutableContent.userInfo = merged
| `- error: 'userInfo' is unavailable in tvOS
168 |
169 | return decrypted
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:128:65: note: 'userInfo' has been explicitly marked unavailable here
126 |
127 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
128 | @property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
129 |
130 | /// The argument to be inserted in the summary for this notification.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:214:23: error: 'UNNotificationAction' is unavailable in tvOS
212 | /// Returns the category identifier to assign to `mutableContent.categoryIdentifier`.
213 | private static func registerActionsCategory(_ rawActions: [[String: String]]) -> String? {
214 | let actions: [UNNotificationAction] = rawActions.prefix(3).compactMap { dict in
| `- error: 'UNNotificationAction' is unavailable in tvOS
215 | guard let id = dict["id"], !id.isEmpty,
216 | let title = dict["title"], !title.isEmpty else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:29:12: note: 'UNNotificationAction' has been explicitly marked unavailable here
27 |
28 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
29 | @interface UNNotificationAction : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAction' has been explicitly marked unavailable here
30 |
31 | // The unique identifier for this action.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:217:23: error: 'UNNotificationActionOptions' is unavailable in tvOS
215 | guard let id = dict["id"], !id.isEmpty,
216 | let title = dict["title"], !title.isEmpty else { return nil }
217 | var opts: UNNotificationActionOptions = []
| `- error: 'UNNotificationActionOptions' is unavailable in tvOS
218 | if dict["foreground"] == "true" { opts.insert(.foreground) }
219 | if dict["auth_required"] == "true" { opts.insert(.authenticationRequired) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:14:32: note: 'UNNotificationActionOptions' has been explicitly marked unavailable here
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | typedef NS_OPTIONS(NSUInteger, UNNotificationActionOptions) {
| `- note: 'UNNotificationActionOptions' has been explicitly marked unavailable here
15 |
16 | // Whether this action should require unlocking before being performed.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:220:20: error: 'UNNotificationAction' is unavailable in tvOS
218 | if dict["foreground"] == "true" { opts.insert(.foreground) }
219 | if dict["auth_required"] == "true" { opts.insert(.authenticationRequired) }
220 | return UNNotificationAction(identifier: id, title: title, options: opts)
| `- error: 'UNNotificationAction' is unavailable in tvOS
221 | }
222 | guard !actions.isEmpty else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h:29:12: note: 'UNNotificationAction' has been explicitly marked unavailable here
27 |
28 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
29 | @interface UNNotificationAction : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAction' has been explicitly marked unavailable here
30 |
31 | // The unique identifier for this action.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:229:24: error: 'UNNotificationCategory' is unavailable in tvOS
227 | let categoryId = "vp_cat_\(abs(sortedIds.hashValue))"
228 |
229 | let category = UNNotificationCategory(
| `- error: 'UNNotificationCategory' is unavailable in tvOS
230 | identifier: categoryId,
231 | actions: actions,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h:36:12: note: 'UNNotificationCategory' has been explicitly marked unavailable here
34 |
35 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
36 | @interface UNNotificationCategory : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationCategory' has been explicitly marked unavailable here
37 |
38 | // The unique identifier for this category. The UNNotificationCategory's actions will be displayed on notifications when the UNNotificationCategory's identifier matches the UNNotificationRequest's categoryIdentifier.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:244:16: error: 'getNotificationCategories(completionHandler:)' is unavailable in tvOS
242 | let sema = DispatchSemaphore(value: 0)
243 | let center = UNUserNotificationCenter.current()
244 | center.getNotificationCategories { existing in
| `- error: 'getNotificationCategories(completionHandler:)' is unavailable in tvOS
245 | var merged = existing.filter { $0.identifier != categoryId }
246 | merged.insert(category)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:57:1: note: 'getNotificationCategories(completionHandler:)' has been explicitly marked unavailable here
55 | // Notification categories can be used to choose which actions will be displayed on which notifications.
56 | - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories API_UNAVAILABLE(tvos);
57 | - (void)getNotificationCategoriesWithCompletionHandler:(void(^)(NSSet<UNNotificationCategory *> *categories))completionHandler API_UNAVAILABLE(tvos);
| `- note: 'getNotificationCategories(completionHandler:)' has been explicitly marked unavailable here
58 |
59 | // The application's user notification settings
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:247:20: error: 'setNotificationCategories' is unavailable in tvOS
245 | var merged = existing.filter { $0.identifier != categoryId }
246 | merged.insert(category)
247 | center.setNotificationCategories(merged)
| `- error: 'setNotificationCategories' is unavailable in tvOS
248 | sema.signal()
249 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h:56:1: note: 'setNotificationCategories' has been explicitly marked unavailable here
54 |
55 | // Notification categories can be used to choose which actions will be displayed on which notifications.
56 | - (void)setNotificationCategories:(NSSet<UNNotificationCategory *> *)categories API_UNAVAILABLE(tvos);
| `- note: 'setNotificationCategories' has been explicitly marked unavailable here
57 | - (void)getNotificationCategoriesWithCompletionHandler:(void(^)(NSSet<UNNotificationCategory *> *categories))completionHandler API_UNAVAILABLE(tvos);
58 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:270:20: error: 'UNNotificationAttachment' is unavailable in tvOS
268 | try FileManager.default.moveItem(at: tmpURL, to: destURL)
269 |
270 | return try UNNotificationAttachment(
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
271 | identifier: UUID().uuidString,
272 | url: destURL,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:134:48: error: 'UNNotificationResponse' is unavailable in tvOS
132 | ///
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
| `- error: 'UNNotificationResponse' is unavailable in tvOS
135 | let userInfo = response.notification.request.content.userInfo
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:135:62: error: 'userInfo' is unavailable in tvOS
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
135 | let userInfo = response.notification.request.content.userInfo
| `- error: 'userInfo' is unavailable in tvOS
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
137 | let campaignId = userInfo["vp_campaign_id"] as? String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:66:64: note: 'userInfo' has been explicitly marked unavailable here
64 |
65 | // Apps can set the userInfo for locally scheduled notification requests. The contents of the push payload will be set as the userInfo for remote notifications.
66 | @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
| `- note: 'userInfo' has been explicitly marked unavailable here
67 |
68 | /// The argument to be inserted in the summary for this notification.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotificationServiceExtension.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotificationTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:140:14: error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
138 |
139 | switch response.actionIdentifier {
140 | case UNNotificationDefaultActionIdentifier:
| `- error: 'UNNotificationDefaultActionIdentifier' is unavailable in tvOS
141 | await enqueue(notificationId: vpId, eventType: .opened, actionId: nil, campaignId: campaignId)
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:14:24: note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
12 | NS_ASSUME_NONNULL_BEGIN
13 |
14 | extern NSString *const UNNotificationDefaultActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
| `- note: 'UNNotificationDefaultActionIdentifier' has been explicitly marked unavailable here
15 | extern NSString *const UNNotificationDismissActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
16 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:143:14: error: 'UNNotificationDismissActionIdentifier' is unavailable in tvOS
141 | await enqueue(notificationId: vpId, eventType: .opened, actionId: nil, campaignId: campaignId)
142 |
143 | case UNNotificationDismissActionIdentifier:
| `- error: 'UNNotificationDismissActionIdentifier' is unavailable in tvOS
144 | await enqueue(notificationId: vpId, eventType: .dismissed, actionId: nil, campaignId: campaignId)
145 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:15:24: note: 'UNNotificationDismissActionIdentifier' has been explicitly marked unavailable here
13 |
14 | extern NSString *const UNNotificationDefaultActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
15 | extern NSString *const UNNotificationDismissActionIdentifier API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos);
| `- note: 'UNNotificationDismissActionIdentifier' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
SwiftCompile normal arm64 Compiling\ DeviceRegistrar.swift,\ Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeviceRegistrar.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift:310:39: error: 'language' is only available in tvOS 16 or newer
19 | /// - Persisting the last-known `deviceId`, token, and externalId for deduplication.
20 | @MainActor
21 | final class DeviceRegistrar: NSObject, Sendable {
| `- note: add '@available' attribute to enclosing class
22 |
23 | // MARK: - Persistence Keys
:
301 |
302 | /// Builds the full device registration payload including device metadata.
303 | private func buildRegistrationPayload(
| `- note: add '@available' attribute to enclosing instance method
304 | token: String,
305 | tags: [String: String]
:
308 | let country: String?
309 | if #available(iOS 16, macOS 13, *) {
310 | language = Locale.current.language.languageCode?.identifier ?? Locale.current.identifier
| |- error: 'language' is only available in tvOS 16 or newer
| `- note: add 'if #available' version check
311 | country = Locale.current.region?.identifier
312 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift:310:48: error: 'languageCode' is only available in tvOS 16 or newer
19 | /// - Persisting the last-known `deviceId`, token, and externalId for deduplication.
20 | @MainActor
21 | final class DeviceRegistrar: NSObject, Sendable {
| `- note: add '@available' attribute to enclosing class
22 |
23 | // MARK: - Persistence Keys
:
301 |
302 | /// Builds the full device registration payload including device metadata.
303 | private func buildRegistrationPayload(
| `- note: add '@available' attribute to enclosing instance method
304 | token: String,
305 | tags: [String: String]
:
308 | let country: String?
309 | if #available(iOS 16, macOS 13, *) {
310 | language = Locale.current.language.languageCode?.identifier ?? Locale.current.identifier
| |- error: 'languageCode' is only available in tvOS 16 or newer
| `- note: add 'if #available' version check
311 | country = Locale.current.region?.identifier
312 | } else {
SwiftCompile normal arm64 Compiling\ RealtimeChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RealtimeChannel.swift
SwiftCompile normal arm64 Compiling\ SealedPayload.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SealedPayload.swift
SwiftCompile normal arm64 Compiling\ GeofenceManager.swift,\ InAppMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:187:22: error: cannot override 'locationManager' which has been marked unavailable
185 | }
186 |
187 | nonisolated func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
188 | guard region.identifier.hasPrefix("vp_") else { return }
189 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:126:1: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
124 | * CLLocationManager instance with a non-nil delegate that implements this method.
125 | */
126 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
127 | didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
128 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:196:22: error: cannot override 'locationManager' which has been marked unavailable
194 | }
195 |
196 | nonisolated func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
197 | guard region.identifier.hasPrefix("vp_") else { return }
198 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:136:1: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
134 | * CLLocationManager instance with a non-nil delegate that implements this method.
135 | */
136 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
137 | didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
138 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:205:22: error: cannot override 'locationManager' which has been marked unavailable
203 | }
204 |
205 | nonisolated func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error) {}
| `- error: cannot override 'locationManager' which has been marked unavailable
206 | nonisolated func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {}
207 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:154:1: note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
152 | * Invoked when a region monitoring error has occurred. Error types are defined in "CLError.h".
153 | */
154 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
155 | monitoringDidFailForRegion:(nullable CLRegion *)region
156 | withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:51:25: error: 'requestAlwaysAuthorization()' is unavailable in tvOS
49 | /// Starts significant-location-change monitoring and re-registers cached geofences.
50 | func start() {
51 | locationManager.requestAlwaysAuthorization()
| `- error: 'requestAlwaysAuthorization()' is unavailable in tvOS
52 | locationManager.startMonitoringSignificantLocationChanges()
53 | registerCachedRegions()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:528:1: note: 'requestAlwaysAuthorization()' has been explicitly marked unavailable here
526 | * assumed not to support Always authorization.
527 | */
528 | - (void)requestAlwaysAuthorization API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(tvos, visionos);
| `- note: 'requestAlwaysAuthorization()' has been explicitly marked unavailable here
529 |
530 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:52:25: error: 'startMonitoringSignificantLocationChanges()' is unavailable in tvOS
50 | func start() {
51 | locationManager.requestAlwaysAuthorization()
52 | locationManager.startMonitoringSignificantLocationChanges()
| `- error: 'startMonitoringSignificantLocationChanges()' is unavailable in tvOS
53 | registerCachedRegions()
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:665:1: note: 'startMonitoringSignificantLocationChanges()' has been explicitly marked unavailable here
663 | *
664 | */
665 | - (void)startMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'startMonitoringSignificantLocationChanges()' has been explicitly marked unavailable here
666 |
667 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:60:25: error: 'stopMonitoringSignificantLocationChanges()' is unavailable in tvOS
58 | pendingDwellTasks.values.forEach { $0.cancel() }
59 | pendingDwellTasks.removeAll()
60 | locationManager.stopMonitoringSignificantLocationChanges()
| `- error: 'stopMonitoringSignificantLocationChanges()' is unavailable in tvOS
61 | for region in locationManager.monitoredRegions where region.identifier.hasPrefix("vp_") {
62 | locationManager.stopMonitoring(for: region)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:674:1: note: 'stopMonitoringSignificantLocationChanges()' has been explicitly marked unavailable here
672 | *
673 | */
674 | - (void)stopMonitoringSignificantLocationChanges API_AVAILABLE(ios(4.0), macos(10.7)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'stopMonitoringSignificantLocationChanges()' has been explicitly marked unavailable here
675 |
676 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:61:39: error: 'monitoredRegions' is unavailable in tvOS
59 | pendingDwellTasks.removeAll()
60 | locationManager.stopMonitoringSignificantLocationChanges()
61 | for region in locationManager.monitoredRegions where region.identifier.hasPrefix("vp_") {
| `- error: 'monitoredRegions' is unavailable in tvOS
62 | locationManager.stopMonitoring(for: region)
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:437:67: note: 'monitoredRegions' has been explicitly marked unavailable here
435 | * be present in this set.
436 | */
437 | @property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *monitoredRegions API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'monitoredRegions' has been explicitly marked unavailable here
438 |
439 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:62:29: error: 'stopMonitoring(for:)' is unavailable in tvOS
60 | locationManager.stopMonitoringSignificantLocationChanges()
61 | for region in locationManager.monitoredRegions where region.identifier.hasPrefix("vp_") {
62 | locationManager.stopMonitoring(for: region)
| `- error: 'stopMonitoring(for:)' is unavailable in tvOS
63 | }
64 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:721:1: note: 'stopMonitoring(for:)' has been explicitly marked unavailable here
719 | * This is done asynchronously and may not be immediately reflected in monitoredRegions.
720 | */
721 | - (void)stopMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'stopMonitoring(for:)' has been explicitly marked unavailable here
722 |
723 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:77:47: error: 'monitoredRegions' is unavailable in tvOS
75 | longitude: longitude
76 | )
77 | for region in locationManager.monitoredRegions where region.identifier.hasPrefix("vp_") {
| `- error: 'monitoredRegions' is unavailable in tvOS
78 | locationManager.stopMonitoring(for: region)
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:437:67: note: 'monitoredRegions' has been explicitly marked unavailable here
435 | * be present in this set.
436 | */
437 | @property (readonly, nonatomic, copy) NSSet<__kindof CLRegion *> *monitoredRegions API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'monitoredRegions' has been explicitly marked unavailable here
438 |
439 | /*
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:78:37: error: 'stopMonitoring(for:)' is unavailable in tvOS
76 | )
77 | for region in locationManager.monitoredRegions where region.identifier.hasPrefix("vp_") {
78 | locationManager.stopMonitoring(for: region)
| `- error: 'stopMonitoring(for:)' is unavailable in tvOS
79 | }
80 | let top = Array(fences.prefix(Self.maxRegions))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:721:1: note: 'stopMonitoring(for:)' has been explicitly marked unavailable here
719 | * This is done asynchronously and may not be immediately reflected in monitoredRegions.
720 | */
721 | - (void)stopMonitoringForRegion:(CLRegion *)region API_DEPRECATED_WITH_REPLACEMENT("Use CLMonitor to start or stop monitoring constraint", ios(5.0, API_TO_BE_DEPRECATED), macos(10.8, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos, tvos, visionos);
| `- note: 'stopMonitoring(for:)' has been explicitly marked unavailable here
722 |
723 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeofenceManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InAppMessage.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ VisionPushSDK (in target 'VisionPushSDK' from project 'VisionPushSDK')
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:187:22: error: cannot override 'locationManager' which has been marked unavailable
185 | }
186 |
187 | nonisolated func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
188 | guard region.identifier.hasPrefix("vp_") else { return }
189 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:126:1: note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
124 | * CLLocationManager instance with a non-nil delegate that implements this method.
125 | */
126 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didEnterRegion:)' has been explicitly marked unavailable here
127 | didEnterRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
128 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:196:22: error: cannot override 'locationManager' which has been marked unavailable
194 | }
195 |
196 | nonisolated func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| `- error: cannot override 'locationManager' which has been marked unavailable
197 | guard region.identifier.hasPrefix("vp_") else { return }
198 | let coordinate = manager.location?.coordinate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:136:1: note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
134 | * CLLocationManager instance with a non-nil delegate that implements this method.
135 | */
136 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:didExitRegion:)' has been explicitly marked unavailable here
137 | didExitRegion:(CLRegion *)region API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
138 |
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift:205:22: error: cannot override 'locationManager' which has been marked unavailable
203 | }
204 |
205 | nonisolated func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error) {}
| `- error: cannot override 'locationManager' which has been marked unavailable
206 | nonisolated func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {}
207 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h:154:1: note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
152 | * Invoked when a region monitoring error has occurred. Error types are defined in "CLError.h".
153 | */
154 | - (void)locationManager:(CLLocationManager *)manager
| `- note: 'locationManager(_:monitoringDidFailFor:withError:)' has been explicitly marked unavailable here
155 | monitoringDidFailForRegion:(nullable CLRegion *)region
156 | withError:(NSError *)error API_AVAILABLE(ios(4.0), macos(10.8)) API_UNAVAILABLE(watchos, tvos, visionos);
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift:254:75: error: 'UNNotificationAttachment' is unavailable in tvOS
252 | }
253 |
254 | private static func downloadAttachment(from url: URL) async throws -> UNNotificationAttachment {
| `- error: 'UNNotificationAttachment' is unavailable in tvOS
255 | let (tmpURL, response) = try await URLSession.shared.download(from: url)
256 | defer { try? FileManager.default.removeItem(at: tmpURL) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h:13:12: note: 'UNNotificationAttachment' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
13 | @interface UNNotificationAttachment : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationAttachment' has been explicitly marked unavailable here
14 |
15 | // The identifier of this attachment
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift:134:48: error: 'UNNotificationResponse' is unavailable in tvOS
132 | ///
133 | /// Call this from your `UNUserNotificationCenterDelegate.userNotificationCenter(_:didReceive:withCompletionHandler:)`.
134 | func handle(notificationResponse response: UNNotificationResponse) async {
| `- error: 'UNNotificationResponse' is unavailable in tvOS
135 | let userInfo = response.notification.request.content.userInfo
136 | guard let vpId = userInfo["vp_id"] as? String, !vpId.isEmpty, vpId.count <= 512 else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
/Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift:762:30: error: 'UNNotificationResponse' is unavailable in tvOS
760 | /// - Parameter response: The notification response from `UNUserNotificationCenterDelegate`.
761 | public func userNotificationCenter(
762 | didReceive response: UNNotificationResponse
| `- error: 'UNNotificationResponse' is unavailable in tvOS
763 | ) async {
764 | guard isInitialized, hasConsent else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h:18:12: note: 'UNNotificationResponse' has been explicitly marked unavailable here
16 |
17 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0)) API_UNAVAILABLE(tvos)
18 | @interface UNNotificationResponse : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UNNotificationResponse' has been explicitly marked unavailable here
19 |
20 | // The notification to which the user responded.
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/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/DeviceRegistrar.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Diagnostics.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/GeofenceManager.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/InAppMessage.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationServiceExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/NotificationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/RealtimeChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/SealedPayload.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift -target arm64-apple-tvos15.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -swift-module-cross-import UserNotifications /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/UserNotifications.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VisionPushSDK -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/Objects-normal/arm64/VisionPushSDK.abi.json
SwiftCompile normal arm64 (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LiveActivityHandler.swift,\ Models.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/LiveActivityHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LiveActivityHandler.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/Models.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Models.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ ApiClient.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VisionPushSDK.build/Debug-appletvos/VisionPushSDK-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/ApiClient.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ApiClient.swift
SwiftCompile normal arm64 Compiling\ VoIPHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VoIPHandler.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VoIPHandler.swift
SwiftCompile normal arm64 Compiling\ VisionPushError.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPushError.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VisionPushError.swift
SwiftCompile normal arm64 Compiling\ VisionPush.swift /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VisionPushSDK/VisionPush.swift (in target 'VisionPushSDK' from project 'VisionPushSDK')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VisionPush.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-25 13:07:19.029 xcodebuild[1182:7202] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ VisionPushSDK (in target 'VisionPushSDK' from project 'VisionPushSDK')
SwiftCompile normal arm64 (in target 'VisionPushSDK' from project 'VisionPushSDK')
Building workspace VisionPushSDK with scheme VisionPushSDK
(3 failures)
BUILD FAILURE 6.4 tvOS