The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FinanceKit, reference 0.7.1 (b776f2), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 10:55:45 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/christiankm/FinanceKit.git
Reference: 0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christiankm/FinanceKit
 * tag               0.7.1      -> FETCH_HEAD
HEAD is now at b776f2e Fix bug where only holdings with splits in the portfolio was returned
Cloned https://github.com/christiankm/FinanceKit.git
Revision (git rev-parse @):
b776f2e0d040c578c0b60aae5b778ffaac60834e
SUCCESS checkout https://github.com/christiankm/FinanceKit.git at 0.7.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/christiankm/FinanceKit.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/37] Emitting module FinanceKit
[4/40] Compiling FinanceKit PriceTarget.swift
[5/40] Compiling FinanceKit Quantity.swift
[6/40] Compiling FinanceKit Split.swift
[7/40] Compiling FinanceKit PerformanceCalculator.swift
[8/40] Compiling FinanceKit Portfolio.swift
[9/40] Compiling FinanceKit Price.swift
[10/40] Compiling FinanceKit Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[11/40] Compiling FinanceKit CurrencyCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[12/40] Compiling FinanceKit CurrencyConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[13/40] Compiling FinanceKit CurrencyFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FinanceKit/Currency.swift:61:16: error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
40 |
41 | /// This extension provides a bridge to system APIs inside a convenient namespace.
42 | extension Currency {
   | `- note: add @available attribute to enclosing extension
43 |
44 |     /// The currency code of the users current locale.
   :
58 |
59 |     /// A list of common currency codes.
60 |     public static var commonIsoCurrencyCodes: [String] {
   |                       `- note: add @available attribute to enclosing static property
61 |         Locale.commonISOCurrencyCodes
   |                |- error: 'commonISOCurrencyCodes' is only available in macOS 13 or newer
   |                `- note: add 'if #available' version check
62 |     }
63 |
[14/40] Compiling FinanceKit Stock.swift
[15/40] Compiling FinanceKit Symbol.swift
[16/40] Compiling FinanceKit Transaction.swift
[17/40] Compiling FinanceKit Decimal+Rounded.swift
[18/40] Compiling FinanceKit Dividend.swift
[19/40] Compiling FinanceKit Exchange.swift
[20/40] Compiling FinanceKit ExchangeRate.swift
[21/40] Compiling FinanceKit Amount.swift
[22/40] Compiling FinanceKit Array+Holding.swift
[23/40] Compiling FinanceKit Asset.swift
[24/40] Compiling FinanceKit AssetAllocation.swift
[25/40] Compiling FinanceKit Change.swift
[26/40] Compiling FinanceKit ChangePeriod.swift
[27/40] Compiling FinanceKit Company.swift
[28/40] Compiling FinanceKit ComparableToZero.swift
[29/40] Compiling FinanceKit HistoricalPrice.swift
[30/40] Compiling FinanceKit Holding.swift
[31/40] Compiling FinanceKit Money.swift
[32/40] Compiling FinanceKit Number+LegacyType.swift
[33/40] Compiling FinanceKit CurrencyPair.swift
[34/40] Compiling FinanceKit Date+Comparison.swift
[35/40] Compiling FinanceKit Date+Ranges.swift
[36/40] Compiling FinanceKit Decimal+DoubleValue.swift
[37/40] Compiling FinanceKit NumberFormatter+Currency.swift
[38/40] Compiling FinanceKit Numerics+Total+Average.swift
[39/40] Compiling FinanceKit Percentage.swift
[40/40] Compiling FinanceKit PercentageFormatter.swift
BUILD FAILURE 6.2 macosSpm