Build Information
Failed to build AdyenNetworking, reference 3.0.1 (43fd5d
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 08:34:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Adyen/adyen-networking-ios.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Adyen/adyen-networking-ios
* tag 3.0.1 -> FETCH_HEAD
HEAD is now at 43fd5d9 Merge pull request #46 from Adyen/release/3.0.1
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
43fd5d93f8587623eb134e3968f099e0417e74f6
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at 3.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/21] Compiling AdyenNetworking DebugLogging.swift
[4/21] Compiling AdyenNetworking Logging.swift
[5/23] Compiling AdyenNetworking AnyResponseValidator.swift
[6/23] Compiling AdyenNetworking BackoffScheduler.swift
[7/23] Compiling AdyenNetworking Errors.swift
[8/23] Compiling AdyenNetworking HTTPResponse.swift
[9/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[10/23] Compiling AdyenNetworking Scheduler.swift
[11/23] Compiling AdyenNetworking Coder.swift
[12/23] Compiling AdyenNetworking DebugLogger.swift
[13/23] Compiling AdyenNetworking Request.swift
[14/23] Compiling AdyenNetworking RetryAPIClient.swift
[15/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[16/23] Compiling AdyenNetworking AnyCoder.swift
[17/23] Compiling AdyenNetworking SimpleScheduler.swift
[18/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[19/23] Emitting module AdyenNetworking
[20/23] Compiling AdyenNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
| `- note: add @available attribute to enclosing extension
386 | @available(iOS 15.0.0, *)
387 | public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
:
394 |
395 | @available(iOS 15.0.0, *)
396 | public func perform<R>(
| `- note: add @available attribute to enclosing instance method
397 | _ request: R
398 | ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
399 | let urlRequest = try buildUrlRequest(from: request)
400 | let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
| |- error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
401 | try handleHttpErrorCodes(from: urlResponse)
402 | let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
| `- note: add @available attribute to enclosing extension
386 | @available(iOS 15.0.0, *)
387 | public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
:
409 |
410 | @available(iOS 15.0.0, *)
411 | public func perform<R>(
| `- note: add @available attribute to enclosing instance method
412 | _ request: R
413 | ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
414 | let urlRequest = try buildUrlRequest(from: request)
415 | let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
| |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
416 | try handleHttpErrorCodes(from: urlResponse)
417 |
[21/23] Compiling AdyenNetworking AnyAPIContext.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
| `- note: add @available attribute to enclosing extension
386 | @available(iOS 15.0.0, *)
387 | public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
:
394 |
395 | @available(iOS 15.0.0, *)
396 | public func perform<R>(
| `- note: add @available attribute to enclosing instance method
397 | _ request: R
398 | ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
399 | let urlRequest = try buildUrlRequest(from: request)
400 | let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
| |- error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
401 | try handleHttpErrorCodes(from: urlResponse)
402 | let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
| `- note: add @available attribute to enclosing extension
386 | @available(iOS 15.0.0, *)
387 | public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
:
409 |
410 | @available(iOS 15.0.0, *)
411 | public func perform<R>(
| `- note: add @available attribute to enclosing instance method
412 | _ request: R
413 | ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
414 | let urlRequest = try buildUrlRequest(from: request)
415 | let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
| |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
416 | try handleHttpErrorCodes(from: urlResponse)
417 |
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.2 macosSpm