Build Information
Failed to build IBM Verify, reference main (6a0b95), with Swift 6.0 for macOS (SPM) on 17 Dec 2025 13:27:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM-Verify/verify-sdk-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM-Verify/verify-sdk-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6a0b958 Update actions (#17)
Cloned https://github.com/IBM-Verify/verify-sdk-ios.git
Revision (git rev-parse @):
6a0b9585d8f12877f7566b39ba3908ab06d9e479
SUCCESS checkout https://github.com/IBM-Verify/verify-sdk-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/IBM-Verify/verify-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Write sources
[1/20] Copying README.md
[6/20] Copying Info.plist
[6/20] Copying Localizable.strings
[6/20] Copying Info.plist
[6/20] Copying README.md
[7/20] Copying Info.plist
[7/20] Copying README.md
[10/20] Copying Info.plist
[13/20] Write sources
[13/20] Copying README.md
[15/20] Write sources
[17/20] Copying Info.plist
[17/20] Copying README.md
[19/20] Write swift-version-5BDAB9E9C0126B9D.txt
[21/54] Compiling Adaptive resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[22/54] Compiling Adaptive Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[23/54] Compiling Adaptive Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[24/54] Compiling Core String+Extension.swift
[25/54] Compiling Core URLSessionDelegateHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:16:25: error: 'Logger' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
| `- error: 'Logger' is only available in macOS 11.0 or newer
17 | private let serviceName = Bundle.main.bundleIdentifier!
18 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:52:25: error: 'Logger' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
| `- error: 'Logger' is only available in macOS 11.0 or newer
53 | private let serviceName = Bundle.main.bundleIdentifier!
54 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:21:18: error: 'Logger' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
18 |
19 | /// Initializes the `SelfSignedCertificateDelegate`.
20 | public override init() {
| `- note: add @available attribute to enclosing initializer
21 | logger = Logger(subsystem: serviceName, category: "networking")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | completionHandler(.cancelAuthenticationChallenge, nil)
34 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:32:61: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | completionHandler(.cancelAuthenticationChallenge, nil)
34 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:38:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
36 |
37 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
38 | logger.info("SSL certificate trust for the challenge protection space was nil.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
39 | completionHandler(.performDefaultHandling, nil)
40 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:43:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 | /// The `SelfSignedCertificateDelegate` will allow SSL traffic to be transferred using a self signed certificate.
13 | /// - Remark: Using this class should **ONLY** be used for testing purposes.
14 | public final class SelfSignedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
15 | // MARK: Variables
16 | private let logger: Logger
:
28 | /// - completionHandler: A handler that your delegate method must call.
29 | /// - Remark: This completion handler uses `credential`.
30 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
31 | if let error = challenge.error {
32 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
41 | }
42 |
43 | logger.info("Allowing self-signed certificate to be trusted for challenge.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
44 |
45 | completionHandler(.useCredential, URLCredential(trust: serverTrust))
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:61:18: error: 'Logger' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
58 | /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
59 | /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
60 | public init?(with certificate: String) {
| `- note: add @available attribute to enclosing initializer
61 | logger = Logger(subsystem: serviceName, category: "networking")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
62 |
63 | guard let data = Data(base64Encoded: certificate) else {
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:64:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
58 | /// Initializes a `PinnedCertificateDelegate` with a certificate represented as a base64 `String`.
59 | /// - Parameter certificate: A base64 encoded DER (Distinguished Encoding Rules) representation of an X.509 certificate.
60 | public init?(with certificate: String) {
| `- note: add @available attribute to enclosing initializer
61 | logger = Logger(subsystem: serviceName, category: "networking")
62 |
63 | guard let data = Data(base64Encoded: certificate) else {
64 | logger.error("The base64 encoded certificate was invalid.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
65 | return nil
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:79:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | completionHandler(.cancelAuthenticationChallenge, nil)
81 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:79:61: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
80 | completionHandler(.cancelAuthenticationChallenge, nil)
81 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:86:25: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
84 | guard let serverTrust = challenge.protectionSpace.serverTrust else {
85 | // Terminate further processing, no certificate at index 0
86 | logger.info("SSL certificate trust chain for the challenge protection space was not found.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
87 | completionHandler(.cancelAuthenticationChallenge, nil)
88 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:92:31: error: 'SecTrustCopyCertificateChain' is only available in macOS 12.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
90 |
91 | // Compare the presented certificate to the pinned certificate.
92 | if let certificates = SecTrustCopyCertificateChain(serverTrust) as? [SecCertificate] {
| |- error: 'SecTrustCopyCertificateChain' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
93 | let serverCertificatesData = Set(
94 | certificates.map { SecCertificateCopyData($0) as Data }
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:98:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
96 |
97 | if serverCertificatesData.contains(certificateData) {
98 | logger.info("SSL certificate presented in challenge matches the pinned certificate.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
99 | completionHandler(.useCredential, URLCredential(trust: serverTrust))
100 | return
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSessionDelegateHelper.swift:106:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
48 |
49 | /// The `PinnedCertificateDelegate` compares certificate provided by the SSL handshake to a certificate presented by the client.
50 | public final class PinnedCertificateDelegate: NSObject, URLSessionDelegate {
| `- note: add @available attribute to enclosing class
51 | // MARK: Variables
52 | private let logger: Logger
:
75 | /// - challenge: An object that contains the request for authentication.
76 | /// - completionHandler: A handler that your delegate method must call.
77 | public func urlSession(_: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- note: add @available attribute to enclosing instance method
78 | if let error = challenge.error {
79 | logger.error("Cancel authentication challenge. \(error.localizedDescription, privacy: .public)")
:
104 |
105 | // Don't trust the presented certificate by default.
106 | logger.info("SSL certificate presented in challenge does not match the pinned certificate.")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
107 | completionHandler(.cancelAuthenticationChallenge, nil)
108 | }
[26/54] Compiling FIDO2 SecKeyConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/fido2/PublicKeyCredentialProvider.swift:9:8: error: no such module 'UIKit'
7 | import LocalAuthentication
8 | import os.log
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | /// A type that indicates when Fido2ApiClient encounters an error.
[27/56] Compiling Core Thread+Extension.swift
[28/56] Compiling FIDO2 AttestationStatementProvider.swift
[29/56] Compiling FIDO2 AuthenticatorExtensions.swift
[30/56] Compiling Core URLSession+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/core/URLSession+Extension.swift:304:53: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
296 |
297 | // MARK: - URLSession Extension
298 | extension URLSession {
| `- note: add @available attribute to enclosing extension
299 | /// Creates a task that retrieves the contents of the specified URL, then calls a handler upon completion.
300 | /// - Parameter resource: The `HTTPResource` containing the request.
301 | /// - Returns: The new session data task.
302 | @discardableResult
303 | public func dataTask<T>(for resource: HTTPResource<T>) async throws -> T {
| `- note: add @available attribute to enclosing instance method
304 | async let (data, response) = try await self.data(for: resource.request)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
305 |
306 | guard let httpResponse = try await response as? HTTPURLResponse else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/56] Emitting module Adaptive
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[32/56] Compiling Adaptive AssessmentsFactors.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[33/56] Compiling Adaptive AdaptiveResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[34/56] Compiling Adaptive Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
[35/56] Compiling Adaptive AdaptiveContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/adaptive/AdaptiveContext.swift:5:8: error: no such module 'UIKit'
3 | //
4 |
5 | import UIKit
| `- error: no such module 'UIKit'
6 | import os.log
7 |
BUILD FAILURE 6.0 macosSpm