Build Information
Failed to build apple-ads-platform-api-swift, reference main (4d0434), with Swift 6.4 for tvOS using Xcode 27.0 on 16 Oct 2026 19:52:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme apple-ads-platform-api-swift -destination generic/platform=tvOSBuild Log
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
102 |
103 | self.proactiveRefreshTask = Task {
104 | try? await ContinuousClock().sleep(for: delay)
| |- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
105 |
106 | guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:104:42: error: 'sleep(for:tolerance:)' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
102 |
103 | self.proactiveRefreshTask = Task {
104 | try? await ContinuousClock().sleep(for: delay)
| |- error: 'sleep(for:tolerance:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
105 |
106 | guard !Task.isCancelled else { return }
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClient.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsDateTranscoder.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/JWTSigner.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/TokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AuthMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/ClientConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Client.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Types.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/HeaderFixupMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.dia -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.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.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D SERVICE_LIFECYCLE -D CONFIGURATION -D Configuration -D ServiceLifecycle -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOExtrasZlib.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CAsyncHTTPClient.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppleAdsClient -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient_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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient.swiftmodule -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.o -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CachingTokenProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClientSecretProvider.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AppleAdsClient (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UserAgentMiddleware.swift,\ XApContext.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UserAgentMiddleware.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XApContext.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-10-16 15:50:51.251 xcodebuild[1766:9240] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ AppleAdsClientConfiguration+ConfigReader.swift,\ AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 Compiling\ CachingTokenProvider.swift,\ ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
Building workspace apple-ads-platform-api-swift with scheme apple-ads-platform-api-swift
(6 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.2
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.5.2
apple-ads-platform-api-swift: /Users/admin/builder/spi-builder-workspace
swift-openapi-async-http-client: https://github.com/swift-server/swift-openapi-async-http-client.git @ 1.5.0
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.13.0
swift-collections: https://github.com/apple/swift-collections @ 1.7.3
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.1
swift-log: https://github.com/apple/swift-log.git @ 1.16.1
SwiftDocCPlugin: https://github.com/swiftlang/swift-docc-plugin.git @ 1.5.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.21.0
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.35.1
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.5.1
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.3
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.36.2
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.28.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.7.2
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.7
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.5
swift-system: https://github.com/apple/swift-system @ 1.8.1
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.8.0
swift-nio: https://github.com/apple/swift-nio.git @ 2.104.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.13.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.46.0
resolved source packages: SymbolKit, swift-http-structured-headers, swift-configuration, swift-crypto, apple-ads-platform-api-swift, swift-openapi-async-http-client, swift-service-lifecycle, swift-collections, swift-numerics, swift-atomics, swift-log, SwiftDocCPlugin, swift-certificates, swift-nio-extras, swift-service-context, swift-asn1, async-http-client, swift-nio-transport-services, swift-distributed-tracing, swift-async-algorithms, swift-nio-ssl, swift-system, swift-http-types, swift-nio, swift-algorithms, swift-openapi-runtime, swift-nio-http2
2026-10-16 15:51:45.609 xcodebuild[3659:16093] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime.git"
},
{
"identity" : "swift-openapi-async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-openapi-async-http-client.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.21.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.14.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "swift-configuration",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-configuration.git"
}
],
"manifest_display_name" : "apple-ads-platform-api-swift",
"name" : "apple-ads-platform-api-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "AppleAdsClient",
"targets" : [
"AppleAdsClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "quickstart",
"targets" : [
"quickstart"
],
"type" : {
"snippet" : null
}
}
],
"targets" : [
{
"c99name" : "AppleAdsClientTests",
"module_type" : "SwiftTarget",
"name" : "AppleAdsClientTests",
"path" : "Tests/AppleAdsClientTests",
"product_dependencies" : [
"AsyncHTTPClient",
"HTTPTypes",
"OpenAPIRuntime",
"Logging",
"NIOCore",
"NIOPosix",
"NIOHTTP1",
"ServiceLifecycle",
"ServiceLifecycleTestKit"
],
"sources" : [
"AccessTokenFetcherTests.swift",
"AccessTokenTests.swift",
"CachingTokenProviderTests.swift",
"ClientServiceTests.swift",
"ErrorTests.swift",
"JWTSignerTests.swift",
"MiddlewareTests.swift",
"ModelSerializationTests.swift",
"OpenEnumResilienceTests.swift",
"XApContextTests.swift"
],
"target_dependencies" : [
"AppleAdsClient"
],
"type" : "test"
},
{
"c99name" : "AppleAdsClient",
"module_type" : "SwiftTarget",
"name" : "AppleAdsClient",
"path" : "Sources/AppleAdsClient",
"product_dependencies" : [
"Crypto",
"OpenAPIRuntime",
"OpenAPIAsyncHTTPClient",
"AsyncHTTPClient",
"HTTPTypes",
"Logging",
"ServiceLifecycle",
"Configuration"
],
"product_memberships" : [
"AppleAdsClient",
"quickstart"
],
"sources" : [
"AccessTokenFetcher.swift",
"AppleAdsClient.swift",
"AppleAdsClientConfiguration+ConfigReader.swift",
"AppleAdsClientConfiguration.swift",
"AppleAdsDateTranscoder.swift",
"Auth/AccessToken.swift",
"Auth/CachingTokenProvider.swift",
"Auth/ClientSecretProvider.swift",
"Auth/Constants.swift",
"Auth/Duration+Extensions.swift",
"Auth/Errors.swift",
"Auth/JWTSigner.swift",
"Auth/TokenProvider.swift",
"AuthMiddleware.swift",
"ClientConstants.swift",
"Generated/Client.swift",
"Generated/Types.swift",
"HeaderFixupMiddleware.swift",
"UserAgentMiddleware.swift",
"XApContext.swift"
],
"type" : "library"
},
{
"c99name" : "quickstart",
"module_type" : "SwiftTarget",
"name" : "quickstart",
"path" : "Snippets",
"product_memberships" : [
"quickstart"
],
"sources" : [
"quickstart.swift"
],
"target_dependencies" : [
"AppleAdsClient"
],
"type" : "snippet"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "apple-ads-platform-api-swift",
"schemes" : [
"apple-ads-platform-api-swift"
]
}
}
2026-10-16 15:51:53.636 xcodebuild[3717:16489] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme apple-ads-platform-api-swift -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0.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 apple-ads-platform-api-swift -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.28.0
swift-log: https://github.com/apple/swift-log.git @ 1.16.1
swift-openapi-async-http-client: https://github.com/swift-server/swift-openapi-async-http-client.git @ 1.5.0
apple-ads-platform-api-swift: /Users/admin/builder/spi-builder-workspace
swift-collections: https://github.com/apple/swift-collections @ 1.7.3
swift-http-types: https://github.com/apple/swift-http-types.git @ 1.8.0
swift-configuration: https://github.com/apple/swift-configuration.git @ 1.2.2
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.7
swift-system: https://github.com/apple/swift-system @ 1.8.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.46.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.7.3
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.5.1
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime.git @ 1.13.1
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.7.0
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.37.5
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.7.2
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.35.1
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.13.0
SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
SwiftDocCPlugin: https://github.com/swiftlang/swift-docc-plugin.git @ 1.5.0
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.21.0
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.5.2
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio: https://github.com/apple/swift-nio.git @ 2.104.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.36.2
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (91 targets)
Target 'AppleAdsClient-product' in project 'apple-ads-platform-api-swift'
➜ Explicit dependency on target 'AppleAdsClient' in project 'apple-ads-platform-api-swift'
➜ Explicit dependency on target 'Crypto-product' in project 'swift-crypto'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'OpenAPIAsyncHTTPClient-product' in project 'swift-openapi-async-http-client'
➜ Explicit dependency on target 'AsyncHTTPClient-product' in project 'async-http-client'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'ServiceLifecycle-product' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'Configuration-product' in project 'swift-configuration'
Target 'AppleAdsClient' in project 'apple-ads-platform-api-swift'
➜ Explicit dependency on target 'Crypto-product' in project 'swift-crypto'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'OpenAPIAsyncHTTPClient-product' in project 'swift-openapi-async-http-client'
➜ Explicit dependency on target 'AsyncHTTPClient-product' in project 'async-http-client'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'ServiceLifecycle-product' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'Configuration-product' in project 'swift-configuration'
Target 'ServiceLifecycle-product' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'ServiceLifecycle' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'ConcurrencyHelpers' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'UnixSignals' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'AsyncAlgorithms-product' in project 'swift-async-algorithms'
Target 'ServiceLifecycle' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'ConcurrencyHelpers' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'UnixSignals' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'AsyncAlgorithms-product' in project 'swift-async-algorithms'
Target 'AsyncAlgorithms-product' in project 'swift-async-algorithms'
➜ Explicit dependency on target 'AsyncAlgorithms' in project 'swift-async-algorithms'
➜ Explicit dependency on target 'OrderedCollections-product' in project 'swift-collections'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'AsyncAlgorithms' in project 'swift-async-algorithms'
➜ Explicit dependency on target 'OrderedCollections-product' in project 'swift-collections'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'OrderedCollections-product' in project 'swift-collections'
➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'OrderedCollections' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'UnixSignals' in project 'swift-service-lifecycle'
➜ Explicit dependency on target 'ConcurrencyHelpers' in project 'swift-service-lifecycle'
Target 'ConcurrencyHelpers' in project 'swift-service-lifecycle' (no dependencies)
Target 'OpenAPIAsyncHTTPClient-product' in project 'swift-openapi-async-http-client'
➜ Explicit dependency on target 'OpenAPIAsyncHTTPClient' in project 'swift-openapi-async-http-client'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'AsyncHTTPClient-product' in project 'async-http-client'
Target 'OpenAPIAsyncHTTPClient' in project 'swift-openapi-async-http-client'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'AsyncHTTPClient-product' in project 'async-http-client'
Target 'AsyncHTTPClient-product' in project 'async-http-client'
➜ Explicit dependency on target 'AsyncHTTPClient' in project 'async-http-client'
➜ Explicit dependency on target 'CAsyncHTTPClient' in project 'async-http-client'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP2-product' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIOSSL-product' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'NIOHTTPCompression-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOSOCKS-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOTransportServices-product' in project 'swift-nio-transport-services'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
➜ Explicit dependency on target 'Algorithms-product' in project 'swift-algorithms'
➜ Explicit dependency on target 'Configuration-product' in project 'swift-configuration'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'Tracing-product' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'AsyncHTTPClient' in project 'async-http-client'
➜ Explicit dependency on target 'CAsyncHTTPClient' in project 'async-http-client'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP2-product' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIOSSL-product' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'NIOHTTPCompression-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOSOCKS-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOTransportServices-product' in project 'swift-nio-transport-services'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
➜ Explicit dependency on target 'Algorithms-product' in project 'swift-algorithms'
➜ Explicit dependency on target 'Configuration-product' in project 'swift-configuration'
➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'Tracing-product' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'ServiceContextModule-product' in project 'swift-service-context'
➜ Explicit dependency on target 'ServiceContextModuleCompatibility' in project 'swift-service-context'
➜ Explicit dependency on target 'Instrumentation-product' in project 'swift-distributed-tracing'
Target 'ServiceContextModuleCompatibility' in project 'swift-service-context'
➜ Explicit dependency on target 'Instrumentation-product' in project 'swift-distributed-tracing'
Target 'Instrumentation-product' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'Instrumentation' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'ServiceContextModule' in project 'swift-distributed-tracing'
Target 'Tracing-product' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'Tracing' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'Instrumentation' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'ServiceContextModule' in project 'swift-distributed-tracing'
Target 'Tracing' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'Instrumentation' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'ServiceContextModule' in project 'swift-distributed-tracing'
Target 'ServiceContextModule' in project 'swift-distributed-tracing'
➜ Explicit dependency on target 'Instrumentation' in project 'swift-distributed-tracing'
Target 'Instrumentation' in project 'swift-distributed-tracing' (no dependencies)
Target 'Logging-product' in project 'swift-log'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log' (no dependencies)
Target 'Configuration-product' in project 'swift-configuration'
➜ Explicit dependency on target 'Configuration' in project 'swift-configuration'
➜ Explicit dependency on target 'SystemPackage-product' in project 'swift-system'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'Configuration' in project 'swift-configuration'
➜ Explicit dependency on target 'SystemPackage-product' in project 'swift-system'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'SystemPackage-product' in project 'swift-system'
➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
➜ Explicit dependency on target 'CSystem' in project 'swift-system'
Target 'SystemPackage' in project 'swift-system'
➜ Explicit dependency on target 'CSystem' in project 'swift-system'
Target 'CSystem' in project 'swift-system' (no dependencies)
Target 'Algorithms-product' in project 'swift-algorithms'
➜ Explicit dependency on target 'Algorithms' in project 'swift-algorithms'
➜ Explicit dependency on target 'RealModule-product' in project 'swift-numerics'
Target 'Algorithms' in project 'swift-algorithms'
➜ Explicit dependency on target 'RealModule-product' in project 'swift-numerics'
Target 'RealModule-product' in project 'swift-numerics'
➜ Explicit dependency on target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
Target 'RealModule' in project 'swift-numerics'
➜ Explicit dependency on target '_NumericsShims' in project 'swift-numerics'
Target '_NumericsShims' in project 'swift-numerics' (no dependencies)
Target 'NIOTransportServices-product' in project 'swift-nio-transport-services'
➜ Explicit dependency on target 'NIOTransportServices' in project 'swift-nio-transport-services'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOFoundationCompat-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOTransportServices' in project 'swift-nio-transport-services'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOFoundationCompat-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOFoundationCompat-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOFoundationCompat' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'NIOFoundationEssentialsCompat' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOFoundationCompat' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'NIOFoundationEssentialsCompat' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOFoundationEssentialsCompat' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOSOCKS-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOSOCKS' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
Target 'NIOSOCKS' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
Target 'NIOHTTPCompression-product' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIOHTTPCompression' in project 'swift-nio-extras'
➜ Explicit dependency on target 'CNIOExtrasZlib' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
Target 'NIOHTTPCompression' in project 'swift-nio-extras'
➜ Explicit dependency on target 'CNIOExtrasZlib' in project 'swift-nio-extras'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
Target 'CNIOExtrasZlib' in project 'swift-nio-extras' (no dependencies)
Target 'NIOSSL-product' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'NIOSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'swift-nio-ssl_NIOSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'CNIOBoringSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'CNIOBoringSSLShims' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
Target 'NIOSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'swift-nio-ssl_NIOSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'CNIOBoringSSL' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'CNIOBoringSSLShims' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
Target 'CNIOBoringSSLShims' in project 'swift-nio-ssl'
➜ Explicit dependency on target 'CNIOBoringSSL' in project 'swift-nio-ssl'
Target 'CNIOBoringSSL' in project 'swift-nio-ssl' (no dependencies)
Target 'swift-nio-ssl_NIOSSL' in project 'swift-nio-ssl' (no dependencies)
Target 'NIOHTTP2-product' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIOHTTP2' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIOHPACK' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOHTTP2' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIOHPACK' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOHPACK' in project 'swift-nio-http2'
➜ Explicit dependency on target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1-product' in project 'swift-nio'
Target 'NIOConcurrencyHelpers-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
Target 'NIOHTTP1-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOHTTP1' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLLHTTP' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOHTTP1' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLLHTTP' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'CNIOLLHTTP' in project 'swift-nio' (no dependencies)
Target 'NIOPosix-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'swift-nio_NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOCore-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOTLS-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIOTLS' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOTLS' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIO-product' in project 'swift-nio'
➜ Explicit dependency on target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIO' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'swift-nio_NIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOPosix' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'swift-nio_NIOPosix' in project 'swift-nio' (no dependencies)
Target 'CNIOPosix' in project 'swift-nio' (no dependencies)
Target 'NIOEmbedded' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'NIOCore' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target '_NIOBase64' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOOpenBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOFreeBSD' in project 'swift-nio'
➜ Explicit dependency on target 'CNIODarwin' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOLinux' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWindows' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOWASI' in project 'swift-nio'
➜ Explicit dependency on target '_NIODataStructures' in project 'swift-nio'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'Atomics-product' in project 'swift-atomics'
Target 'Atomics-product' in project 'swift-atomics'
➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
Target 'Atomics' in project 'swift-atomics'
➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
Target '_AtomicsShims' in project 'swift-atomics' (no dependencies)
Target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'DequeModule' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
➜ Explicit dependency on target 'SpanPreview' in project 'swift-collections'
Target 'DequeModule' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
➜ Explicit dependency on target 'SpanPreview' in project 'swift-collections'
Target 'SpanPreview' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
Target '_NIODataStructures' in project 'swift-nio' (no dependencies)
Target 'CNIOWASI' in project 'swift-nio' (no dependencies)
Target 'CNIOWindows' in project 'swift-nio' (no dependencies)
Target 'CNIOLinux' in project 'swift-nio' (no dependencies)
Target 'CNIODarwin' in project 'swift-nio' (no dependencies)
Target 'CNIOFreeBSD' in project 'swift-nio' (no dependencies)
Target 'CNIOOpenBSD' in project 'swift-nio' (no dependencies)
Target '_NIOBase64' in project 'swift-nio' (no dependencies)
Target 'NIOConcurrencyHelpers' in project 'swift-nio'
➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
Target 'CNIOAtomics' in project 'swift-nio' (no dependencies)
Target 'CAsyncHTTPClient' in project 'async-http-client' (no dependencies)
Target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
Target 'HTTPTypes' in project 'swift-http-types' (no dependencies)
Target 'Crypto-product' in project 'swift-crypto'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
Target 'Crypto' in project 'swift-crypto'
➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
Target 'swift-crypto_Crypto' in project 'swift-crypto' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
SwiftDriver AppleAdsClient normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AppleAdsClient -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DSERVICE_LIFECYCLE -DCONFIGURATION -DConfiguration -DServiceLifecycle -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOExtrasZlib.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CAsyncHTTPClient.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include/module.modulemap -DXcode -enable-upcoming-feature NonisolatedNonsendingByDefault -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/OpenAPIAsyncHTTPClient.o normal (in target 'OpenAPIAsyncHTTPClient' from project 'swift-openapi-async-http-client')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-openapi-async-http-client
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-tvos15.0 -r -isysroot /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/appletvos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/OpenAPIAsyncHTTPClient.o
ExtractAppIntentsMetadata (in target 'OpenAPIAsyncHTTPClient' from project 'swift-openapi-async-http-client')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-openapi-async-http-client
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.2BVwOH/Metal.xctoolchain --module-name OpenAPIAsyncHTTPClient --sdk-root /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk --xcode-version 27A266a --platform-family tvOS --deployment-target 15.0 --bundle-identifier swift-openapi-async-http-client.OpenAPIAsyncHTTPClient --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/OpenAPIAsyncHTTPClient.appintents --target-triple arm64-apple-tvos15.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/OpenAPIAsyncHTTPClient.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/OpenAPIAsyncHTTPClient.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/OpenAPIAsyncHTTPClient.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-openapi-async-http-client.build/Debug-appletvos/OpenAPIAsyncHTTPClient-t.build/Objects-normal/arm64/OpenAPIAsyncHTTPClient.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-10-16 15:52:05.781 appintentsmetadataprocessor[3823:17232] Starting appintentsmetadataprocessor export
2026-10-16 15:52:05.837 appintentsmetadataprocessor[3823:17232] Extracted no relevant App Intents symbols, skipping writing output
SwiftCompile normal arm64 Compiling\ AccessTokenFetcher.swift,\ AppleAdsClient.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClient.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AccessTokenFetcher.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClient.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleAdsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:13:26: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
11 | private let getClientSecret: @Sendable () async throws -> String
12 | private let httpClient: HTTPClient
13 | private let timeout: Duration
| `- error: 'Duration' is only available in tvOS 16.0 or newer
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:22:18: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
16 | internal init(
| `- note: add '@available' attribute to enclosing initializer
17 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
18 | clientId: String,
:
20 | signer: JWTSigner,
21 | httpClient: HTTPClient,
22 | timeout: Duration = .seconds(5)
| `- error: 'Duration' is only available in tvOS 16.0 or newer
23 | ) {
24 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:22:30: error: 'seconds' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
16 | internal init(
| `- note: add '@available' attribute to enclosing initializer
17 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
18 | clientId: String,
:
20 | signer: JWTSigner,
21 | httpClient: HTTPClient,
22 | timeout: Duration = .seconds(5)
| `- error: 'seconds' is only available in tvOS 16.0 or newer
23 | ) {
24 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:40:18: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
33 |
34 | /// Creates a token fetcher using a custom client secret provider.
35 | internal init(
| `- note: add '@available' attribute to enclosing initializer
36 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
37 | clientId: String,
38 | clientSecretProvider: any ClientSecretProvider,
39 | httpClient: HTTPClient,
40 | timeout: Duration = .seconds(5)
| `- error: 'Duration' is only available in tvOS 16.0 or newer
41 | ) {
42 | self.authBaseURL = authBaseURL
SwiftCompile normal arm64 Compiling\ Constants.swift,\ Duration+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:8:45: error: 'Duration' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
| | `- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
9 |
10 | /// Default auth base URL.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:8:57: error: 'seconds' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
| | `- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
9 |
10 | /// Default auth base URL.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:14:39: error: 'Duration' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
:
12 |
13 | /// How early to trigger proactive refresh before token expiry.
14 | internal static let expiryBuffer: Duration = .seconds(60)
| | `- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
15 |
16 | /// Minimum delay between token refresh attempts.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:14:51: error: 'seconds' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
:
12 |
13 | /// How early to trigger proactive refresh before token expiry.
14 | internal static let expiryBuffer: Duration = .seconds(60)
| | `- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
15 |
16 | /// Minimum delay between token refresh attempts.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:17:42: error: 'Duration' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
:
15 |
16 | /// Minimum delay between token refresh attempts.
17 | internal static let minRefreshDelay: Duration = .seconds(30)
| | `- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
18 |
19 | /// Maximum total attempts for a request (original + retries on 401).
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift:17:54: error: 'seconds' is only available in tvOS 16.0 or newer
4 |
5 | /// Constants for the Apple Ads OAuth flow.
6 | internal enum AuthConstants {
| `- note: add '@available' attribute to enclosing enum
7 | /// JWT expiry duration: 180 days.
8 | internal static let clientSecretExpiry: Duration = .seconds(86_400 * 180)
:
15 |
16 | /// Minimum delay between token refresh attempts.
17 | internal static let minRefreshDelay: Duration = .seconds(30)
| | `- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing static property
18 |
19 | /// Maximum total attempts for a request (original + retries on 401).
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift:5:11: error: 'Duration' is only available in tvOS 16.0 or newer
3 | import Foundation
4 |
5 | extension Duration {
| | `- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
6 | /// Converts to `TimeInterval`, preserving sub-second precision.
7 | internal var timeInterval: TimeInterval {
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift:8:22: error: 'components' is only available in tvOS 16.0 or newer
3 | import Foundation
4 |
5 | extension Duration {
| `- note: add '@available' attribute to enclosing extension
6 | /// Converts to `TimeInterval`, preserving sub-second precision.
7 | internal var timeInterval: TimeInterval {
| `- note: add '@available' attribute to enclosing property
8 | let c = self.components
| |- error: 'components' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
9 | return Double(c.seconds) + Double(c.attoseconds) / 1e18
10 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constants.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Duration+Extensions.swift
SwiftCompile normal arm64 Compiling\ AppleAdsDateTranscoder.swift,\ AccessToken.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsDateTranscoder.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:12:29: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
10 |
11 | /// The monotonic instant at which this token expires.
12 | internal let expiresAt: ContinuousClock.Instant
| `- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
13 |
14 | /// Whether this token has already expired.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:23:40: error: 'Duration' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
21 | /// - Parameter buffer: How far before expiration to consider the token stale.
22 | /// - Returns: `true` if the token should be refreshed.
23 | internal func needsRefresh(buffer: Duration) -> Bool {
| | `- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
24 | ContinuousClock.now > self.expiresAt - buffer
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:32:45: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
30 | /// - token: The bearer token string.
31 | /// - expiresAt: The monotonic instant the token expires.
32 | internal init(token: String, expiresAt: ContinuousClock.Instant) {
| | `- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
33 | self.token = token
34 | self.expiresAt = expiresAt
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:16:29: error: conformance of 'ContinuousClock.Instant' to 'Comparable' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
13 |
14 | /// Whether this token has already expired.
15 | internal var isExpired: Bool {
| `- note: add '@available' attribute to enclosing property
16 | ContinuousClock.now > self.expiresAt
| |- error: conformance of 'ContinuousClock.Instant' to 'Comparable' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:16:9: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
13 |
14 | /// Whether this token has already expired.
15 | internal var isExpired: Bool {
| `- note: add '@available' attribute to enclosing property
16 | ContinuousClock.now > self.expiresAt
| |- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:16:25: error: 'now' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
13 |
14 | /// Whether this token has already expired.
15 | internal var isExpired: Bool {
| `- note: add '@available' attribute to enclosing property
16 | ContinuousClock.now > self.expiresAt
| |- error: 'now' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:24:29: error: conformance of 'ContinuousClock.Instant' to 'Comparable' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
21 | /// - Parameter buffer: How far before expiration to consider the token stale.
22 | /// - Returns: `true` if the token should be refreshed.
23 | internal func needsRefresh(buffer: Duration) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
24 | ContinuousClock.now > self.expiresAt - buffer
| |- error: conformance of 'ContinuousClock.Instant' to 'Comparable' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:24:9: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
21 | /// - Parameter buffer: How far before expiration to consider the token stale.
22 | /// - Returns: `true` if the token should be refreshed.
23 | internal func needsRefresh(buffer: Duration) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
24 | ContinuousClock.now > self.expiresAt - buffer
| |- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift:24:25: error: 'now' is only available in tvOS 16.0 or newer
5 | /// Uses `ContinuousClock.Instant` (monotonic time) for expiration tracking,
6 | /// making it immune to wall-clock jumps (NTP corrections, DST, user changes).
7 | internal struct AccessToken: Sendable {
| `- note: add '@available' attribute to enclosing struct
8 | /// The bearer token string.
9 | internal let token: String
:
21 | /// - Parameter buffer: How far before expiration to consider the token stale.
22 | /// - Returns: `true` if the token should be refreshed.
23 | internal func needsRefresh(buffer: Duration) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
24 | ContinuousClock.now > self.expiresAt - buffer
| |- error: 'now' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
25 | }
26 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsDateTranscoder.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleAdsDateTranscoder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AccessToken.swift
SwiftCompile normal arm64 Compiling\ Errors.swift,\ JWTSigner.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/JWTSigner.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Errors.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Errors.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/JWTSigner.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JWTSigner.swift
SwiftCompile normal arm64 Compiling\ CachingTokenProvider.swift,\ ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:100:41: error: '-' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
98 | self.proactiveRefreshTask?.cancel()
99 |
100 | let expiresIn = token.expiresAt - ContinuousClock.now
| |- error: '-' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
101 | let delay = max(AuthConstants.minRefreshDelay, expiresIn - AuthConstants.expiryBuffer)
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:100:43: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
98 | self.proactiveRefreshTask?.cancel()
99 |
100 | let expiresIn = token.expiresAt - ContinuousClock.now
| |- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
101 | let delay = max(AuthConstants.minRefreshDelay, expiresIn - AuthConstants.expiryBuffer)
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:100:59: error: 'now' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
98 | self.proactiveRefreshTask?.cancel()
99 |
100 | let expiresIn = token.expiresAt - ContinuousClock.now
| |- error: 'now' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
101 | let delay = max(AuthConstants.minRefreshDelay, expiresIn - AuthConstants.expiryBuffer)
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:101:21: error: conformance of 'Duration' to 'Comparable' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
99 |
100 | let expiresIn = token.expiresAt - ContinuousClock.now
101 | let delay = max(AuthConstants.minRefreshDelay, expiresIn - AuthConstants.expiryBuffer)
| |- error: conformance of 'Duration' to 'Comparable' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
102 |
103 | self.proactiveRefreshTask = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:101:66: error: conformance of 'Duration' to 'AdditiveArithmetic' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
99 |
100 | let expiresIn = token.expiresAt - ContinuousClock.now
101 | let delay = max(AuthConstants.minRefreshDelay, expiresIn - AuthConstants.expiryBuffer)
| |- error: conformance of 'Duration' to 'AdditiveArithmetic' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
102 |
103 | self.proactiveRefreshTask = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:104:24: error: 'ContinuousClock' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
102 |
103 | self.proactiveRefreshTask = Task {
104 | try? await ContinuousClock().sleep(for: delay)
| |- error: 'ContinuousClock' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
105 |
106 | guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift:104:42: error: 'sleep(for:tolerance:)' is only available in tvOS 16.0 or newer
9 | /// - Concurrent coalescing: concurrent callers share a single in-flight fetch
10 | /// - Graceful degradation: proactive refresh failure is reported via callback
11 | internal actor CachingTokenProvider: TokenProvider {
| `- note: add '@available' attribute to enclosing actor
12 | private var cachedToken: AccessToken?
13 | private var refreshTask: Task<AccessToken, any Error>?
:
93 | /// This uses an unstructured `Task` because the proactive refresh
94 | /// must outlive any single caller's scope. The task is cancelled in `close()`.
95 | private func scheduleProactiveRefresh(for token: AccessToken) {
| `- note: add '@available' attribute to enclosing instance method
96 | guard !self.isClosed else { return }
97 |
:
102 |
103 | self.proactiveRefreshTask = Task {
104 | try? await ContinuousClock().sleep(for: delay)
| |- error: 'sleep(for:tolerance:)' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
105 |
106 | guard !Task.isCancelled else { return }
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClient.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsDateTranscoder.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/JWTSigner.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/TokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AuthMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/ClientConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Client.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Types.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/HeaderFixupMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.dia -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.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.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D SERVICE_LIFECYCLE -D CONFIGURATION -D Configuration -D ServiceLifecycle -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOExtrasZlib.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CAsyncHTTPClient.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppleAdsClient -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient_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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient.swiftmodule -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/CachingTokenProvider.o -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/ClientSecretProvider.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CachingTokenProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClientSecretProvider.swift
SwiftCompile normal arm64 Compiling\ AppleAdsClientConfiguration+ConfigReader.swift,\ AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:27:25: error: 'ConfigReader' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| | `- error: 'ConfigReader' is only available in tvOS 18.0 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:28:35: error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
| |- error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:28:58: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:28:58: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:29:33: error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
| |- error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:29:56: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:29:56: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:30:32: error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
| |- error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:30:55: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:30:55: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:31:40: error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
| |- error: 'requiredString(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
32 |
33 | self.init(
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:31:63: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
32 |
33 | self.init(
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:31:63: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
30 | let keyId = try config.requiredString(forKey: "keyId")
31 | let privateKeyPEM = try config.requiredString(forKey: "privateKeyPEM", isSecret: true)
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
32 |
33 | self.init(
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:36:33: error: 'string(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
34 | clientId: clientId,
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
| |- error: 'string(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:36:48: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
34 | clientId: clientId,
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:36:48: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
34 | clientId: clientId,
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:37:37: error: 'string(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
| |- error: 'string(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:37:52: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:37:52: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
35 | authMode: .key(teamId: teamId, keyId: keyId, privateKeyPEM: privateKeyPEM),
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:33: error: 'double(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'double(forKey:isSecret:fileID:line:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:48: error: 'ConfigKey' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'ConfigKey' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:48: error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'init(stringLiteral:)' is only available in tvOS 18.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:69: error: 'Duration' is only available in tvOS 16.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'Duration' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:78: error: 'seconds' is only available in tvOS 16.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:38:96: error: 'seconds' is only available in tvOS 16.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
:
36 | baseURL: try config.string(forKey: "baseURL").map { try Self.parseURL($0, forKey: "baseURL") },
37 | authBaseURL: try config.string(forKey: "authBaseURL").map { try Self.parseURL($0, forKey: "authBaseURL") },
38 | authTimeout: config.double(forKey: "authTimeout").map { Duration.seconds($0) } ?? .seconds(5)
| |- error: 'seconds' is only available in tvOS 16.0 or newer
| `- note: add 'if #available' version check
39 | )
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift:129:33: error: 'Duration' is only available in tvOS 16.0 or newer
40 | /// )
41 | /// ```
42 | public struct Configuration: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | /// The authentication strategy for the Apple Search Ads API.
:
127 | ///
128 | /// Applies only to auth calls, not API requests.
129 | public var authTimeout: Duration
| `- error: 'Duration' is only available in tvOS 16.0 or newer
130 |
131 | /// Middleware for the request pipeline.
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift:154:26: error: 'Duration' is only available in tvOS 16.0 or newer
40 | /// )
41 | /// ```
42 | public struct Configuration: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | /// The authentication strategy for the Apple Search Ads API.
:
147 | /// - middleware: Middleware appended after the SDK's built-in
148 | /// pipeline.
149 | public init(
| `- note: add '@available' attribute to enclosing initializer
150 | clientId: String,
151 | authMode: AuthMode,
152 | baseURL: URL? = nil,
153 | authBaseURL: URL? = nil,
154 | authTimeout: Duration = .seconds(5),
| `- error: 'Duration' is only available in tvOS 16.0 or newer
155 | middleware: [any ClientMiddleware] = []
156 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift:154:38: error: 'seconds' is only available in tvOS 16.0 or newer
40 | /// )
41 | /// ```
42 | public struct Configuration: Sendable {
| `- note: add '@available' attribute to enclosing struct
43 |
44 | /// The authentication strategy for the Apple Search Ads API.
:
147 | /// - middleware: Middleware appended after the SDK's built-in
148 | /// pipeline.
149 | public init(
| `- note: add '@available' attribute to enclosing initializer
150 | clientId: String,
151 | authMode: AuthMode,
152 | baseURL: URL? = nil,
153 | authBaseURL: URL? = nil,
154 | authTimeout: Duration = .seconds(5),
| `- error: 'seconds' is only available in tvOS 16.0 or newer
155 | middleware: [any ClientMiddleware] = []
156 | ) {
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClient.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsDateTranscoder.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/AccessToken.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Constants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Duration+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/JWTSigner.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/TokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AuthMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/ClientConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Client.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Types.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/HeaderFixupMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.dia -target arm64-apple-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.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.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D SERVICE_LIFECYCLE -D CONFIGURATION -D Configuration -D ServiceLifecycle -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOExtrasZlib.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CAsyncHTTPClient.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-system/Sources/CSystem/include -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/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppleAdsClient -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient_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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClient.swiftmodule -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration+ConfigReader.o -index-unit-output-path /apple-ads-platform-api-swift.build/Debug-appletvos/AppleAdsClient-t.build/Objects-normal/arm64/AppleAdsClientConfiguration.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleAdsClientConfiguration+ConfigReader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleAdsClientConfiguration.swift
SwiftCompile normal arm64 Compiling\ TokenProvider.swift,\ AuthMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/TokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AuthMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/TokenProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TokenProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AuthMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AuthMiddleware.swift
SwiftCompile normal arm64 Compiling\ ClientConstants.swift,\ Client.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/ClientConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Client.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/ClientConstants.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClientConstants.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Client.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Client.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AppleAdsClient (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:13:26: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
11 | private let getClientSecret: @Sendable () async throws -> String
12 | private let httpClient: HTTPClient
13 | private let timeout: Duration
| `- error: 'Duration' is only available in tvOS 16.0 or newer
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:22:18: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
16 | internal init(
| `- note: add '@available' attribute to enclosing initializer
17 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
18 | clientId: String,
:
20 | signer: JWTSigner,
21 | httpClient: HTTPClient,
22 | timeout: Duration = .seconds(5)
| `- error: 'Duration' is only available in tvOS 16.0 or newer
23 | ) {
24 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:22:30: error: 'seconds' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
14 |
15 | /// Creates a token fetcher using a JWT signer (key-based auth).
16 | internal init(
| `- note: add '@available' attribute to enclosing initializer
17 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
18 | clientId: String,
:
20 | signer: JWTSigner,
21 | httpClient: HTTPClient,
22 | timeout: Duration = .seconds(5)
| `- error: 'seconds' is only available in tvOS 16.0 or newer
23 | ) {
24 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:40:18: error: 'Duration' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
33 |
34 | /// Creates a token fetcher using a custom client secret provider.
35 | internal init(
| `- note: add '@available' attribute to enclosing initializer
36 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
37 | clientId: String,
38 | clientSecretProvider: any ClientSecretProvider,
39 | httpClient: HTTPClient,
40 | timeout: Duration = .seconds(5)
| `- error: 'Duration' is only available in tvOS 16.0 or newer
41 | ) {
42 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AccessTokenFetcher.swift:40:30: error: 'seconds' is only available in tvOS 16.0 or newer
6 |
7 | /// Fetches OAuth access tokens from the Apple ID token endpoint using the client credentials grant.
8 | internal struct AccessTokenFetcher: Sendable {
| `- note: add '@available' attribute to enclosing struct
9 | private let authBaseURL: URL
10 | private let clientId: String
:
33 |
34 | /// Creates a token fetcher using a custom client secret provider.
35 | internal init(
| `- note: add '@available' attribute to enclosing initializer
36 | authBaseURL: URL = AuthConstants.defaultAuthBaseURL,
37 | clientId: String,
38 | clientSecretProvider: any ClientSecretProvider,
39 | httpClient: HTTPClient,
40 | timeout: Duration = .seconds(5)
| `- error: 'seconds' is only available in tvOS 16.0 or newer
41 | ) {
42 | self.authBaseURL = authBaseURL
/Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift:27:25: error: 'ConfigReader' is only available in tvOS 18.0 or newer
5 | import Foundation
6 |
7 | extension AppleAdsClient.Configuration {
| `- note: add '@available' attribute to enclosing extension
8 | /// Create a configuration by reading values from a `ConfigReader`.
9 | ///
:
25 | /// - Parameter config: The configuration reader.
26 | /// - Throws: If any required key is missing or a URL value is malformed.
27 | public init(config: ConfigReader) throws {
| | `- error: 'ConfigReader' is only available in tvOS 18.0 or newer
| `- note: add '@available' attribute to enclosing initializer
28 | let clientId = try config.requiredString(forKey: "clientId")
29 | let teamId = try config.requiredString(forKey: "teamId")
SwiftCompile normal arm64 (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Types.swift,\ HeaderFixupMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Types.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/HeaderFixupMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Generated/Types.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Types.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/HeaderFixupMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HeaderFixupMiddleware.swift
SwiftCompile normal arm64 Compiling\ UserAgentMiddleware.swift,\ XApContext.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/UserAgentMiddleware.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UserAgentMiddleware.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/XApContext.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XApContext.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-10-16 15:52:02.031 xcodebuild[3768:16845] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ CachingTokenProvider.swift,\ ClientSecretProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/ClientSecretProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/Auth/CachingTokenProvider.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 Compiling\ AppleAdsClientConfiguration+ConfigReader.swift,\ AppleAdsClientConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration+ConfigReader.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AppleAdsClient/AppleAdsClientConfiguration.swift (in target 'AppleAdsClient' from project 'apple-ads-platform-api-swift')
Building workspace apple-ads-platform-api-swift with scheme apple-ads-platform-api-swift
(6 failures)
BUILD FAILURE 6.4 tvOS