Build Information
Failed to build swift-apple-search-ads-api, reference 1.1.7 (f5ecd2), with Swift 6.1 for Wasm on 25 Jun 2026 08:41:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
23 | }
24 | #else
25 | extension URLSession: SessionType {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | #endif
27 |
/host/spi-builder-workspace/Sources/Core/Request/RequestType+URLRequest.swift:21:23: error: cannot find 'URLRequest' in scope
19 | throw RequestEncodingError.invalidURL
20 | }
21 | var request = URLRequest(url: requestURL)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = method.rawValue
23 | request.allHTTPHeaderFields = headers
[168/318] Compiling AppleSearchAds AdCreativeRejectionReasonsFindRequest.swift
/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/Provider.swift:39:65: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
37 | let request = try await prepare(request: request)
38 | let (data, urlResponse) = try await session.data(for: request)
39 | let statusCode = (urlResponse as? HTTPURLResponse)?.statusCode ?? ResponseStatus.success.rawValue
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | let response = Response(model: data, statusCode: ResponseStatus(rawValue: statusCode))
41 | return try response.validatingStatusCode()
/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/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
23 | }
24 | #else
25 | extension URLSession: SessionType {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
26 | #endif
27 |
/host/spi-builder-workspace/Sources/Core/Request/RequestType+URLRequest.swift:21:23: error: cannot find 'URLRequest' in scope
19 | throw RequestEncodingError.invalidURL
20 | }
21 | var request = URLRequest(url: requestURL)
| `- error: cannot find 'URLRequest' in scope
22 | request.httpMethod = method.rawValue
23 | request.allHTTPHeaderFields = headers
[169/342] Compiling AppleSearchAds APIConfiguration.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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[170/342] Compiling AppleSearchAds APIProvider+AdGroupKeywords.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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[171/342] Compiling AppleSearchAds APIProvider+AdGroups.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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[172/342] Compiling AppleSearchAds APIProvider+AdRejection.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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[173/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[174/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[175/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[176/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[177/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[178/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[179/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[180/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[181/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[182/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[183/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[184/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[185/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[186/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[187/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[188/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[189/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[190/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[191/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[192/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
[193/342] 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: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: 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 'URLSession' (aka '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 'URLSession' (aka '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
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
95 | return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
96 | }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[194/366] 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: 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: 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 'URLSession' (aka '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 'URLSession' (aka '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:30:36: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
28 | let provider = Provider(
29 | baseURL: URL(string: "https://api.searchads.apple.com")!,
30 | session: configuration.session,
| `- error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'
31 | plugins: [
32 | 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
23 | }
24 | #else
25 | extension URLSession: SessionType {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
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(),
[195/366] 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(),
[196/366] 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(),
[197/366] 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(),
[198/366] 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(),
[199/366] 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(),
[200/366] 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(),
[201/366] 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(),
[202/366] 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(),
[203/366] 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(),
[204/366] 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(),
[205/366] 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(),
[206/366] 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(),
[207/366] 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(),
[208/366] 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(),
[209/366] 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(),
[210/366] 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(),
[211/366] 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(),
[212/366] 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(),
[213/366] 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(),
[214/366] 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(),
[215/366] 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(),
[216/366] Compiling AppleSearchAds NullCodable.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(),
[217/366] 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(),
[218/366] 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(),
[219/366] Compiling AppleSearchAds AdCreativeRejectionReasonsRequest.swift
[220/366] Compiling AppleSearchAds AppAssetsFindRequest.swift
[221/366] Compiling AppleSearchAds AdCreateRequest.swift
[222/366] Compiling AppleSearchAds AdDeleteRequest.swift
[223/366] Compiling AppleSearchAds AdRequest.swift
[224/366] Compiling AppleSearchAds AdUpdateRequest.swift
[225/366] Compiling AppleSearchAds AdsFindRequest.swift
[226/366] Compiling AppleSearchAds AdsListRequest.swift
[227/366] Compiling AppleSearchAds AppDetailsRequest.swift
[228/366] Compiling AppleSearchAds AppEligibilityRequest.swift
[229/366] Compiling AppleSearchAds AppLocaleDetailsRequest.swift
[230/366] Compiling AppleSearchAds SearchAppsRequest.swift
[231/366] Compiling AppleSearchAds BudgetOrderCreateRequest.swift
[232/366] Compiling AppleSearchAds BudgetOrderListRequest.swift
[233/366] Compiling AppleSearchAds BudgetOrderRequest.swift
[234/366] Compiling AppleSearchAds BudgetOrderUpdateRequest.swift
[235/366] Compiling AppleSearchAds CampaignCreateRequest.swift
[236/366] Compiling AppleSearchAds CampaignDeleteRequest.swift
[237/366] Compiling AppleSearchAds CampaignFindRequest.swift
[238/366] Compiling AppleSearchAds CampaignListRequest.swift
[239/366] Compiling AppleSearchAds CampaignRequest.swift
[240/366] Compiling AppleSearchAds CampaignUpdateRequest.swift
[241/366] Compiling AppleSearchAds AccessTokenRequest.swift
[242/366] Compiling AppleSearchAds MeDetailsRequest.swift
[243/366] Compiling AppleSearchAds UserACLRequest.swift
[244/366] Compiling AppleSearchAds CreativeCreateRequest.swift
[245/366] Compiling AppleSearchAds CreativeRequest.swift
[246/366] Compiling AppleSearchAds CreativesFindRequest.swift
[247/366] Compiling AppleSearchAds CreativesListRequest.swift
[248/366] Compiling AppleSearchAds AppPreviewDeviceSizesRequest.swift
[249/366] Compiling AppleSearchAds ProductPageLocalesRequest.swift
[250/366] Compiling AppleSearchAds ProductPageRequest.swift
[251/366] Compiling AppleSearchAds ProductPagesRequest.swift
[252/366] Compiling AppleSearchAds SupportedCountriesOrRegionsRequest.swift
[253/366] Compiling AppleSearchAds GeolocationsListRequest.swift
[254/366] Compiling AppleSearchAds GeolocationsSearchRequest.swift
[255/366] Compiling AppleSearchAds AdGroupNegativeKeywordRequest.swift
[256/366] Compiling AppleSearchAds AdGroupNegativeKeywordsCreateRequest.swift
[257/366] Compiling AppleSearchAds AdGroupNegativeKeywordsDeleteRequest.swift
[258/366] Compiling AppleSearchAds AdGroupNegativeKeywordsFindRequest.swift
[259/366] Compiling AppleSearchAds AdGroupNegativeKeywordsListRequest.swift
[260/366] Compiling AppleSearchAds AdGroupNegativeKeywordsUpdateRequest.swift
[261/366] Compiling AppleSearchAds CampaignNegativeKeywordRequest.swift
[262/366] Compiling AppleSearchAds CampaignNegativeKeywordsCreateRequest.swift
[263/366] Compiling AppleSearchAds CampaignNegativeKeywordsDeleteRequest.swift
[264/366] Compiling AppleSearchAds CampaignNegativeKeywordsFindRequest.swift
[265/366] Compiling AppleSearchAds CampaignNegativeKeywordsListRequest.swift
[266/366] Compiling AppleSearchAds CampaignNegativeKeywordsUpdateRequest.swift
[267/366] Compiling AppleSearchAds CreativeCustomProductPage.swift
[268/366] Compiling AppleSearchAds CreativeLocalization.swift
[269/366] Compiling AppleSearchAds CreativeLocalizationWithAssets.swift
[270/366] Compiling AppleSearchAds CustomReport.swift
[271/366] Compiling AppleSearchAds CustomReportDateRange.swift
[272/366] Compiling AppleSearchAds CustomReportGranularity.swift
[273/366] Compiling AppleSearchAds CustomReportRequest.swift
[274/366] Compiling AppleSearchAds CustomReportSelector.swift
[275/366] Compiling AppleSearchAds DaypartCriteria.swift
[276/366] Compiling AppleSearchAds DaypartDetail.swift
[277/366] Compiling AppleSearchAds DeviceClass.swift
[278/366] Compiling AppleSearchAds DeviceClassCriteria.swift
[279/366] Compiling AppleSearchAds EligibilityRecord.swift
[280/366] Compiling AppleSearchAds Empty.swift
[281/366] Compiling AppleSearchAds ErrorResponse.swift
[282/366] Compiling AppleSearchAds Gender.swift
[283/366] Compiling AppleSearchAds GenderCriteria.swift
[284/366] Compiling AppleSearchAds GeolocationEntity.swift
[285/366] Compiling AppleSearchAds GeolocationRequest.swift
[286/366] Compiling AppleSearchAds GeolocationSearchEntity.swift
[287/366] Compiling AppleSearchAds GrandTotalsRow.swift
[288/366] Compiling AppleSearchAds Keyword.swift
[289/366] Compiling AppleSearchAds KeywordBidRecommendation.swift
[290/366] Compiling AppleSearchAds KeywordDisplayStatus.swift
[291/366] Compiling AppleSearchAds KeywordInsights.swift
[292/366] Compiling AppleSearchAds KeywordMatchType.swift
[293/366] Compiling AppleSearchAds KeywordStatus.swift
[294/366] Compiling AppleSearchAds KeywordUpdate.swift
[295/366] Compiling AppleSearchAds LOCInvoiceDetails.swift
[296/366] Compiling AppleSearchAds LocaleInfo.swift
[297/366] Compiling AppleSearchAds LocalityCriteria.swift
[298/366] Compiling AppleSearchAds MeDetail.swift
[299/366] Compiling AppleSearchAds MediaAppAsset.swift
[300/366] Compiling AppleSearchAds MediaAppAssetsDetail.swift
[301/366] Compiling AppleSearchAds MediaAppPreviewOrScreenshots.swift
[302/366] Compiling AppleSearchAds MediaAppPreviewOrScreenshotsDetail.swift
[303/366] Compiling AppleSearchAds MediaAppVideoAsset.swift
[304/366] Compiling AppleSearchAds MediaAssetOrientation.swift
[305/366] Compiling AppleSearchAds MediaAssetType.swift
[306/366] Compiling AppleSearchAds Money.swift
[307/366] Compiling AppleSearchAds NegativeKeyword.swift
[308/366] Compiling AppleSearchAds Page.swift
[309/366] Compiling AppleSearchAds PageDetail.swift
[310/366] Compiling AppleSearchAds Pagination.swift
[311/366] Compiling AppleSearchAds PaginationDetail.swift
[312/366] Compiling AppleSearchAds PaymentModel.swift
[313/366] Compiling AppleSearchAds PricingModel.swift
[314/366] Compiling AppleSearchAds ProductPageDetail.swift
[315/366] Compiling AppleSearchAds ProductPageDetailWithAssets.swift
[316/366] Compiling AppleSearchAds ProductPageLocaleDetail.swift
[317/366] Compiling AppleSearchAds AdGroupUpdate.swift
[318/366] Compiling AppleSearchAds AdRejectionReasonLevel.swift
[319/366] Compiling AppleSearchAds AdUpdate.swift
[320/366] Compiling AppleSearchAds AdminAreaCriteria.swift
[321/366] Compiling AppleSearchAds AgeCriteria.swift
[322/366] Compiling AppleSearchAds AgeRange.swift
[323/366] Compiling AppleSearchAds AppAsset.swift
[324/366] Compiling AppleSearchAds AppCategoryCriteria.swift
[325/366] Compiling AppleSearchAds AppDetails.swift
[326/366] Compiling AppleSearchAds AppDownloaderCriteria.swift
[327/366] Compiling AppleSearchAds AppInfo.swift
[328/366] Compiling AppleSearchAds AppLocaleDetails.swift
[329/366] Compiling AppleSearchAds AppPreviewDeviceWithAssets.swift
[330/366] Compiling AppleSearchAds BudgetOrder.swift
[331/366] Compiling AppleSearchAds BudgetOrderCreate.swift
[332/366] Compiling AppleSearchAds BudgetOrderInfo.swift
[333/366] Compiling AppleSearchAds BudgetOrderUpdate.swift
[334/366] Compiling AppleSearchAds Campaign.swift
[335/366] Compiling AppleSearchAds CampaignAppDetail.swift
[336/366] Compiling AppleSearchAds CampaignUpdate.swift
[337/366] Compiling AppleSearchAds CampaignUpdateProperties.swift
[338/366] Compiling AppleSearchAds Condition.swift
[339/366] Compiling AppleSearchAds CountryCriteria.swift
[340/366] Compiling AppleSearchAds CountryOrRegion.swift
[341/366] Compiling AppleSearchAds Creative.swift
[342/366] Compiling AppleSearchAds ProductPageReason.swift
[343/366] Compiling AppleSearchAds Reporting.swift
[344/366] Compiling AppleSearchAds ReportingAd.swift
[345/366] Compiling AppleSearchAds ReportingAdGroup.swift
[346/366] Compiling AppleSearchAds ReportingCampaign.swift
[347/366] Compiling AppleSearchAds ReportingData.swift
[348/366] Compiling AppleSearchAds ReportingKeyword.swift
[349/366] Compiling AppleSearchAds ReportingRequest.swift
[350/366] Compiling AppleSearchAds ReportingSearchTerm.swift
[351/366] Compiling AppleSearchAds Row.swift
[352/366] Compiling AppleSearchAds Selector.swift
[353/366] Compiling AppleSearchAds Sorting.swift
[354/366] Compiling AppleSearchAds SovCondition.swift
[355/366] Compiling AppleSearchAds SpendRow.swift
[356/366] Compiling AppleSearchAds SpendRowExtended.swift
[357/366] Compiling AppleSearchAds SupplySource.swift
[358/366] Compiling AppleSearchAds TargetingCriteria.swift
[359/366] Compiling AppleSearchAds TargetingDimensions.swift
[360/366] Compiling AppleSearchAds UserACL.swift
[361/366] Compiling AppleSearchAds APIError.swift
[362/366] Compiling AppleSearchAds JWT.swift
[363/366] Compiling AppleSearchAds APIErrorResponse.swift
[364/366] Compiling AppleSearchAds DataResponse.swift
[365/366] Compiling AppleSearchAds PagedObjectResponse.swift
[366/366] Compiling AppleSearchAds PagedResponse.swift
BUILD FAILURE 6.1 wasm