Build Information
Failed to build AdyenNetworking, reference develop (cc93bc
), with Swift 5.10 for macOS (SPM) on 14 Mar 2025 14:59:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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 cc93bc0 Merge pull request #48 from Adyen/fixing-prepare-release-workflow
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
cc93bc0e4f58038b0f87f091b58e7f2cbc530fd7
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/21] Compiling AdyenNetworking Coder.swift
[4/21] Compiling AdyenNetworking DebugLogger.swift
[5/21] Compiling AdyenNetworking DebugLogging.swift
[6/21] Compiling AdyenNetworking Logging.swift
[7/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[8/23] Compiling AdyenNetworking Scheduler.swift
[9/23] Compiling AdyenNetworking Request.swift
[10/23] Compiling AdyenNetworking RetryAPIClient.swift
[11/23] Compiling AdyenNetworking Errors.swift
[12/23] Compiling AdyenNetworking HTTPResponse.swift
[13/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[14/23] Compiling AdyenNetworking AnyCoder.swift
[15/23] Compiling AdyenNetworking AnyResponseValidator.swift
[16/23] Compiling AdyenNetworking BackoffScheduler.swift
[17/23] Emitting module AdyenNetworking
[18/23] Compiling AdyenNetworking SimpleScheduler.swift
[19/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[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
let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: note: add 'if #available' version check
let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:396:17: note: add @available attribute to enclosing instance method
public func perform<R>(
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
/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
let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: note: add 'if #available' version check
let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:411:17: note: add @available attribute to enclosing instance method
public func perform<R>(
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
[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
let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: note: add 'if #available' version check
let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:396:17: note: add @available attribute to enclosing instance method
public func perform<R>(
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
/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
let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: note: add 'if #available' version check
let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:411:17: note: add @available attribute to enclosing instance method
public func perform<R>(
^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm