The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CertificatePinner, reference 1.0.0 (a7596b), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 09:45:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/micho233/certificate-pinner.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/micho233/certificate-pinner
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a7596b8 Release 1.0.0
Cloned https://github.com/micho233/certificate-pinner.git
Revision (git rev-parse @):
a7596b88bbb943be942ad7f65ad7f3d258ce868d
SUCCESS checkout https://github.com/micho233/certificate-pinner.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "certificate-pinner",
      "name": "CertificatePinner",
      "url": "https://github.com/micho233/certificate-pinner.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/certificate-pinner",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/micho233/certificate-pinner.git
[1/41] Fetching certificate-pinner
Fetched https://github.com/micho233/certificate-pinner.git from cache (0.89s)
Creating working copy for https://github.com/micho233/certificate-pinner.git
Working copy of https://github.com/micho233/certificate-pinner.git resolved at 1.0.0 (a7596b8)
warning: '.resolve-product-dependencies': dependency 'certificate-pinner' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/micho233/certificate-pinner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/12] Compiling CertificatePinner RequestScheme.swift
[4/12] Compiling CertificatePinner URLProtectionSpace+Extension.swift
[5/12] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
[6/12] Emitting module CertificatePinner
[7/12] Compiling CertificatePinner Data+Extension.swift
[8/12] Compiling CertificatePinner CertificatePinner.swift
[9/12] Compiling CertificatePinner Asn1Header.swift
[10/12] Compiling CertificatePinner SecCertificate+Extension.swift
[11/12] Compiling CertificatePinner SecKey+Extension.swift
[12/12] Compiling CertificatePinner SecTrust+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:36:26: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
 8 | import Foundation
 9 |
10 | public extension SecTrust {
   |        `- note: add '@available' attribute to enclosing extension
11 |     var certificateChain: [SecCertificate] {
12 |         if #available(iOS 15.0, macOS 12.0, *) {
   :
32 |     }
33 |
34 |     func canEvaluate() -> Bool {
   |          `- note: add '@available' attribute to enclosing instance method
35 |         if #available(iOS 12.0, *) {
36 |             let result = SecTrustEvaluateWithError(self, nil)
   |                          |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
   |                          `- note: add 'if #available' version check
37 |             return result
38 |         } else {
BUILD FAILURE 6.3 macosSpm