The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-apple-search-ads-api, reference 1.1.5 (702f83), with Swift 6.3 for Wasm on 18 Apr 2026 09:17:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[528/694] Compiling AppleSearchAds APIProvider+Ads.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[529/694] Compiling AppleSearchAds APIProvider+Apps.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[530/694] Compiling AppleSearchAds APIProvider+BudgetOrders.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[531/694] Compiling AppleSearchAds APIProvider+CampaignKeywords.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[532/694] Compiling AppleSearchAds APIProvider+Campaigns.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[533/694] Compiling AppleSearchAds APIProvider+Context.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[534/694] Compiling AppleSearchAds APIProvider+Creatives.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[535/694] Compiling AppleSearchAds APIProvider+CustomProductPages.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[536/694] Compiling AppleSearchAds APIProvider+Geolocations.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[537/694] Compiling AppleSearchAds APIProvider+Paged.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[538/694] Compiling AppleSearchAds APIProvider+Reports.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[539/694] Compiling AppleSearchAds APIProvider+TargetingKeywords.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[540/694] Compiling AppleSearchAds APIProvider.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[541/694] Compiling AppleSearchAds CoderExtensions.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[542/694] Compiling AppleSearchAds ErrorExtensions.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[543/694] Compiling AppleSearchAds ResponseExtensions.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[544/694] Compiling AppleSearchAds URLRequestExtensions.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[545/694] Compiling AppleSearchAds AccessToken.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[546/694] Compiling AppleSearchAds Ad.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[547/694] Compiling AppleSearchAds AdCreate.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[548/694] Compiling AppleSearchAds AdGroup.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 92 |                 return try P256.Signing.PrivateKey(derRepresentation: base64Key)
 93 |             case .pemURL(let privateKeyURL):
 94 |                 let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
    |                                                `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
 95 |                 return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
 96 |             }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[549/718] Compiling AppleSearchAds CampaignNegativeKeywordsUpdateRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[550/718] Compiling AppleSearchAds TargetingKeywordDeleteRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[551/718] Compiling AppleSearchAds TargetingKeywordRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[552/718] Compiling AppleSearchAds TargetingKeywordsCreateRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[553/718] Compiling AppleSearchAds TargetingKeywordsDeleteRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[554/718] Compiling AppleSearchAds TargetingKeywordsFindRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[555/718] Compiling AppleSearchAds TargetingKeywordsListRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[556/718] Compiling AppleSearchAds TargetingKeywordsUpdateRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[557/718] Compiling AppleSearchAds AdGroupReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[558/718] Compiling AppleSearchAds AdReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[559/718] Compiling AppleSearchAds CampaignReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[560/718] Compiling AppleSearchAds ImpressionShareReportCreateRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[561/718] Compiling AppleSearchAds ImpressionShareReportListRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[562/718] Compiling AppleSearchAds ImpressionShareReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[563/718] Compiling AppleSearchAds KeywordReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[564/718] Compiling AppleSearchAds SearchTermReportRequest.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[565/718] Compiling AppleSearchAds AccessTokenStore.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[566/718] Compiling AppleSearchAds ContextStore.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[567/718] Compiling AppleSearchAds JWTStore.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[568/718] Compiling AppleSearchAds CodingKeysContaining.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[569/718] Compiling AppleSearchAds ExponentialBackoff.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[570/718] Compiling AppleSearchAds JWTDecoder.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[571/718] Compiling AppleSearchAds Retry.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[572/718] Compiling AppleSearchAds resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[573/718] Compiling AppleSearchAds MeDetailsRequest.swift
[574/718] Compiling AppleSearchAds UserACLRequest.swift
[575/718] Compiling AppleSearchAds CreativeCreateRequest.swift
[576/718] Compiling AppleSearchAds CreativeRequest.swift
[577/718] Compiling AppleSearchAds CreativesFindRequest.swift
[578/718] Compiling AppleSearchAds CreativesListRequest.swift
[579/718] Compiling AppleSearchAds AppPreviewDeviceSizesRequest.swift
[580/718] Compiling AppleSearchAds ProductPageLocalesRequest.swift
[581/718] Compiling AppleSearchAds ProductPageRequest.swift
[582/718] Compiling AppleSearchAds ProductPagesRequest.swift
[583/718] Compiling AppleSearchAds SupportedCountriesOrRegionsRequest.swift
[584/718] Compiling AppleSearchAds GeolocationsListRequest.swift
[585/718] Compiling AppleSearchAds GeolocationsSearchRequest.swift
[586/718] Compiling AppleSearchAds AdGroupNegativeKeywordRequest.swift
[587/718] Compiling AppleSearchAds AdGroupNegativeKeywordsCreateRequest.swift
[588/718] Compiling AppleSearchAds AdGroupNegativeKeywordsDeleteRequest.swift
[589/718] Compiling AppleSearchAds AdGroupNegativeKeywordsFindRequest.swift
[590/718] Compiling AppleSearchAds AdGroupNegativeKeywordsListRequest.swift
[591/718] Compiling AppleSearchAds AdGroupNegativeKeywordsUpdateRequest.swift
[592/718] Compiling AppleSearchAds CampaignNegativeKeywordRequest.swift
[593/718] Compiling AppleSearchAds CampaignNegativeKeywordsCreateRequest.swift
[594/718] Compiling AppleSearchAds CampaignNegativeKeywordsDeleteRequest.swift
[595/718] Compiling AppleSearchAds CampaignNegativeKeywordsFindRequest.swift
[596/718] Compiling AppleSearchAds CampaignNegativeKeywordsListRequest.swift
[597/718] Compiling AppleSearchAds KeywordInsights.swift
[598/718] Compiling AppleSearchAds KeywordMatchType.swift
[599/718] Compiling AppleSearchAds KeywordStatus.swift
[600/718] Compiling AppleSearchAds KeywordUpdate.swift
[601/718] Compiling AppleSearchAds LOCInvoiceDetails.swift
[602/718] Compiling AppleSearchAds LocaleInfo.swift
[603/718] Compiling AppleSearchAds LocalityCriteria.swift
[604/718] Compiling AppleSearchAds MeDetail.swift
[605/718] Compiling AppleSearchAds MediaAppAsset.swift
[606/718] Compiling AppleSearchAds MediaAppAssetsDetail.swift
[607/718] Compiling AppleSearchAds MediaAppPreviewOrScreenshots.swift
[608/718] Compiling AppleSearchAds MediaAppPreviewOrScreenshotsDetail.swift
[609/718] Compiling AppleSearchAds MediaAppVideoAsset.swift
[610/718] Compiling AppleSearchAds MediaAssetOrientation.swift
[611/718] Compiling AppleSearchAds MediaAssetType.swift
[612/718] Compiling AppleSearchAds Money.swift
[613/718] Compiling AppleSearchAds NegativeKeyword.swift
[614/718] Compiling AppleSearchAds PageDetail.swift
[615/718] Compiling AppleSearchAds Pagination.swift
[616/718] Compiling AppleSearchAds PaymentModel.swift
[617/718] Compiling AppleSearchAds PricingModel.swift
[618/718] Compiling AppleSearchAds ProductPageDetail.swift
[619/718] Compiling AppleSearchAds ProductPageDetailWithAssets.swift
[620/718] Compiling AppleSearchAds ProductPageLocaleDetail.swift
[621/718] Compiling AppleSearchAds CreativeCustomProductPage.swift
[622/718] Compiling AppleSearchAds CreativeLocalization.swift
[623/718] Compiling AppleSearchAds CreativeLocalizationWithAssets.swift
[624/718] Compiling AppleSearchAds CustomReport.swift
[625/718] Compiling AppleSearchAds CustomReportDateRange.swift
[626/718] Compiling AppleSearchAds CustomReportGranularity.swift
[627/718] Compiling AppleSearchAds CustomReportRequest.swift
[628/718] Compiling AppleSearchAds CustomReportSelector.swift
[629/718] Compiling AppleSearchAds DaypartCriteria.swift
[630/718] Compiling AppleSearchAds DaypartDetail.swift
[631/718] Compiling AppleSearchAds DeviceClass.swift
[632/718] Compiling AppleSearchAds DeviceClassCriteria.swift
[633/718] Compiling AppleSearchAds EligibilityRecord.swift
[634/718] Compiling AppleSearchAds Empty.swift
[635/718] Compiling AppleSearchAds ErrorResponse.swift
[636/718] Compiling AppleSearchAds Gender.swift
[637/718] Compiling AppleSearchAds GenderCriteria.swift
[638/718] Compiling AppleSearchAds GeolocationEntity.swift
[639/718] Compiling AppleSearchAds GeolocationRequest.swift
[640/718] Compiling AppleSearchAds GeolocationSearchEntity.swift
[641/718] Compiling AppleSearchAds GrandTotalsRow.swift
[642/718] Compiling AppleSearchAds Keyword.swift
[643/718] Compiling AppleSearchAds KeywordBidRecommendation.swift
[644/718] Compiling AppleSearchAds KeywordDisplayStatus.swift
[645/718] Compiling AppleSearchAds AdGroupUpdate.swift
[646/718] Compiling AppleSearchAds AdRejectionReasonLevel.swift
[647/718] Compiling AppleSearchAds AdUpdate.swift
[648/718] Compiling AppleSearchAds AdminAreaCriteria.swift
[649/718] Compiling AppleSearchAds AgeCriteria.swift
[650/718] Compiling AppleSearchAds AgeRange.swift
[651/718] Compiling AppleSearchAds AppAsset.swift
[652/718] Compiling AppleSearchAds AppCategoryCriteria.swift
[653/718] Compiling AppleSearchAds AppDetails.swift
[654/718] Compiling AppleSearchAds AppDownloaderCriteria.swift
[655/718] Compiling AppleSearchAds AppInfo.swift
[656/718] Compiling AppleSearchAds AppLocaleDetails.swift
[657/718] Compiling AppleSearchAds AppPreviewDeviceWithAssets.swift
[658/718] Compiling AppleSearchAds BudgetOrder.swift
[659/718] Compiling AppleSearchAds BudgetOrderCreate.swift
[660/718] Compiling AppleSearchAds BudgetOrderInfo.swift
[661/718] Compiling AppleSearchAds BudgetOrderUpdate.swift
[662/718] Compiling AppleSearchAds Campaign.swift
[663/718] Compiling AppleSearchAds CampaignAppDetail.swift
[664/718] Compiling AppleSearchAds CampaignUpdate.swift
[665/718] Compiling AppleSearchAds CampaignUpdateProperties.swift
[666/718] Compiling AppleSearchAds Condition.swift
[667/718] Compiling AppleSearchAds CountryCriteria.swift
[668/718] Compiling AppleSearchAds CountryOrRegion.swift
[669/718] Compiling AppleSearchAds Creative.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[670/718] Compiling AppleSearchAds ProductPageReason.swift
[671/718] Compiling AppleSearchAds Reporting.swift
[672/718] Compiling AppleSearchAds ReportingAd.swift
[673/718] Compiling AppleSearchAds ReportingAdGroup.swift
[674/718] Compiling AppleSearchAds ReportingCampaign.swift
[675/718] Compiling AppleSearchAds ReportingData.swift
[676/718] Compiling AppleSearchAds ReportingKeyword.swift
[677/718] Compiling AppleSearchAds ReportingRequest.swift
[678/718] Compiling AppleSearchAds ReportingSearchTerm.swift
[679/718] Compiling AppleSearchAds Row.swift
[680/718] Compiling AppleSearchAds Selector.swift
[681/718] Compiling AppleSearchAds Sorting.swift
[682/718] Compiling AppleSearchAds SovCondition.swift
[683/718] Compiling AppleSearchAds SpendRow.swift
[684/718] Compiling AppleSearchAds SpendRowExtended.swift
[685/718] Compiling AppleSearchAds SupplySource.swift
[686/718] Compiling AppleSearchAds TargetingCriteria.swift
[687/718] Compiling AppleSearchAds TargetingDimensions.swift
[688/718] Compiling AppleSearchAds UserACL.swift
[689/718] Compiling AppleSearchAds APIError.swift
[690/718] Compiling AppleSearchAds JWT.swift
[691/718] Compiling AppleSearchAds APIErrorResponse.swift
[692/718] Compiling AppleSearchAds DataResponse.swift
[693/718] Compiling AppleSearchAds PagedObjectResponse.swift
[694/718] Compiling AppleSearchAds AdCreativeRejectionReasonsFindRequest.swift
[695/718] Compiling AppleSearchAds AdCreativeRejectionReasonsRequest.swift
[696/718] Compiling AppleSearchAds AppAssetsFindRequest.swift
[697/718] Compiling AppleSearchAds AdCreateRequest.swift
[698/718] Compiling AppleSearchAds AdDeleteRequest.swift
[699/718] Compiling AppleSearchAds AdRequest.swift
[700/718] Compiling AppleSearchAds AdUpdateRequest.swift
[701/718] Compiling AppleSearchAds AdsFindRequest.swift
[702/718] Compiling AppleSearchAds AdsListRequest.swift
[703/718] Compiling AppleSearchAds AppDetailsRequest.swift
[704/718] Compiling AppleSearchAds AppEligibilityRequest.swift
[705/718] Compiling AppleSearchAds AppLocaleDetailsRequest.swift
[706/718] Compiling AppleSearchAds SearchAppsRequest.swift
[707/718] Compiling AppleSearchAds BudgetOrderCreateRequest.swift
[708/718] Compiling AppleSearchAds BudgetOrderListRequest.swift
[709/718] Compiling AppleSearchAds BudgetOrderRequest.swift
[710/718] Compiling AppleSearchAds BudgetOrderUpdateRequest.swift
[711/718] Compiling AppleSearchAds CampaignCreateRequest.swift
[712/718] Compiling AppleSearchAds CampaignDeleteRequest.swift
[713/718] Compiling AppleSearchAds CampaignFindRequest.swift
[714/718] Compiling AppleSearchAds CampaignListRequest.swift
[715/718] Compiling AppleSearchAds CampaignRequest.swift
[716/718] Compiling AppleSearchAds CampaignUpdateRequest.swift
[717/718] Compiling AppleSearchAds AccessTokenRequest.swift
[718/718] Emitting module AppleSearchAds
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: value of type '_' expected to be instance of class or class-constrained type
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |         keyIdentifier: String,
 45 |         privateKey: String,
 46 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         jwtExpirationDuration: TimeInterval = 86400
 48 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: value of type '_' expected to be instance of class or class-constrained type
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 69 |         keyIdentifier: String,
 70 |         privateKeyURL: URL,
 71 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |         jwtExpirationDuration: TimeInterval = 86400
 73 |     ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 20 |
 21 |     /// `URLSession` to use to perform the requests.
 22 |     public let session: URLSession
    |                `- error: stored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'
 23 |     /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
 24 |     public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIProvider.swift:24:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
22 |         let provider = Provider(
23 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
24 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
25 |             plugins: [
26 |                 HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 7 |     mutating func add(headers: [String: String], replace: Bool) {
 8 |         headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
/host/spi-builder-workspace/Sources/Core/Plugins/AcceptHeadersInjector.swift:19:33: error: cannot find type 'URLRequest' in scope
17 |     }
18 |
19 |     func prepare(request: inout URLRequest) async throws {
   |                                 `- error: cannot find type 'URLRequest' in scope
20 |         request.add(headers: headers, replace: true)
21 |     }
/host/spi-builder-workspace/Sources/Core/Plugins/Plugin.swift:7:33: error: cannot find type 'URLRequest' in scope
5 |
6 | protocol PluginType: Sendable {
7 |     func prepare(request: inout URLRequest) async throws
  |                                 `- error: cannot find type 'URLRequest' in scope
8 | }
9 |
/host/spi-builder-workspace/Sources/Core/Plugins/AuthorizationInjector.swift:15:33: error: cannot find type 'URLRequest' in scope
13 |     }
14 |
15 |     func prepare(request: inout URLRequest) async throws {
   |                                 `- error: cannot find type 'URLRequest' in scope
16 |         let token = try await provider()
17 |         let value = "\(token.tokenType) \(token.token)"
/host/spi-builder-workspace/Sources/Core/Plugins/ContextInjector.swift:15:33: error: cannot find type 'URLRequest' in scope
13 |     }
14 |
15 |     func prepare(request: inout URLRequest) async throws {
   |                                 `- error: cannot find type 'URLRequest' in scope
16 |         guard let acl = try await provider().first else { return }
17 |         request.add(header: "X-Ap-Context", value: "orgId=\(acl.orgId)", replace: true)
/host/spi-builder-workspace/Sources/Core/Plugins/HostInjector.swift:7:33: error: cannot find type 'URLRequest' in scope
 5 |
 6 | struct HostInjector: PluginType {
 7 |     func prepare(request: inout URLRequest) async throws {
   |                                 `- error: cannot find type 'URLRequest' in scope
 8 |         guard let url = request.url,
 9 |               let components = URLComponents(url: url, resolvingAgainstBaseURL: false),
/host/spi-builder-workspace/Sources/Core/Provider/SessionType.swift:7:28: error: cannot find type 'URLRequest' in scope
 5 |
 6 | protocol SessionType: Sendable {
 7 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
 8 | }
 9 |
/host/spi-builder-workspace/Sources/Core/Provider/Provider.swift:47:62: error: cannot find type 'URLRequest' in scope
45 |     }
46 |
47 |     func prepare<R: RequestType>(request: R) async throws -> URLRequest {
   |                                                              `- error: cannot find type 'URLRequest' in scope
48 |         var urlRequest = try request.urlRequest(baseURL: baseURL)
49 |         for plugin in plugins {
/host/spi-builder-workspace/Sources/Core/Provider/SessionType.swift:7:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | protocol SessionType: Sendable {
 7 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
   |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | }
 9 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/Provider/SessionType.swift:25:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
23 | }
24 | #else
25 | extension URLSession: SessionType {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
26 | #endif
27 |
/host/spi-builder-workspace/Sources/Core/Request/RequestType+URLRequest.swift:12:45: error: cannot find type 'URLRequest' in scope
10 |
11 | extension RequestType {
12 |     func urlRequest(baseURL: URL) throws -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
13 |         let url = baseURL.appendingPathComponent(path)
14 |         guard var components = URLComponents(url: url, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/Core/Stores/AccessTokenStore.swift:25:40: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
23 |             provider: Provider(
24 |                 baseURL: URL(string: "https://appleid.apple.com")!,
25 |                 session: configuration.session,
   |                                        `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
26 |                 plugins: [
27 |                     HostInjector(),
/host/spi-builder-workspace/Sources/Core/Stores/ContextStore.swift:15:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
13 |         self.init(provider: Provider(
14 |             baseURL: URL(string: "https://api.searchads.apple.com")!,
15 |             session: configuration.session,
   |                                    `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
16 |             plugins: [
17 |                 HostInjector(),
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 wasm