The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdyenNetworking, reference develop (e9562f), with Swift 6.2 for macOS (SPM) on 12 Sep 2026 01:34:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Adyen/adyen-networking-ios.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Adyen/adyen-networking-ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e9562fc Merge pull request #72 from Adyen/end-carthage-support
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
e9562fcfb3438822cec7ad833208cdb974638e54
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at develop
========================================
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.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[4/21] Compiling AdyenNetworking Scheduler.swift
[5/21] Compiling AdyenNetworking Errors.swift
[6/21] Compiling AdyenNetworking HTTPResponse.swift
[7/21] Compiling AdyenNetworking AnyResponseValidator.swift
[8/21] Compiling AdyenNetworking BackoffScheduler.swift
[9/21] Emitting module AdyenNetworking
[10/21] Compiling AdyenNetworking DebugLogging.swift
[11/21] Compiling AdyenNetworking Logging.swift
[12/21] Compiling AdyenNetworking SimpleScheduler.swift
[13/21] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[14/21] Compiling AdyenNetworking Coder.swift
[15/21] Compiling AdyenNetworking DebugLogger.swift
[16/21] Compiling AdyenNetworking AnyAPIEnvironment.swift
[17/21] Compiling AdyenNetworking AnyCoder.swift
[18/21] Compiling AdyenNetworking Request.swift
[19/21] Compiling AdyenNetworking RetryAPIClient.swift
[20/21] Compiling AdyenNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add '@available' attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add '@available' attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add '@available' attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add '@available' attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[21/21] Compiling AdyenNetworking AnyAPIContext.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add '@available' attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add '@available' attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add '@available' attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add '@available' attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.2 macosSpm