Build Information
Failed to build swift-storekit, reference main (7086c2), with Swift 6.2 for macOS (SPM) on 13 Oct 2026 02:41:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-storekit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kosikowski/swift-storekit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7086c20 docs: Swift Package Index compatibility badges in the README (#6)
Cloned https://github.com/Kosikowski/swift-storekit.git
Revision (git rev-parse @):
7086c208a79d31f885ac57eabd2730ced14b16cc
SUCCESS checkout https://github.com/Kosikowski/swift-storekit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kosikowski/swift-storekit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin ReleaseCheck
Building for debugging...
[1/10] Write sources
[9/10] Write swift-version--3CB7CFEC50E0D141.txt
[11/62] Compiling PurchaseCore SubscriptionTerms.swift
[12/62] Compiling PurchaseCore SystemClock.swift
[13/62] Compiling PurchaseCore TimeProviding.swift
[14/62] Compiling PurchaseCore TransactionObserving.swift
[15/62] Compiling PurchaseCore TransactionUpdate.swift
[16/62] Compiling PurchaseCore PurchaseConfirmation.swift
[17/62] Compiling PurchaseCore PurchaseError.swift
[18/62] Compiling PurchaseCore PurchaseEvent.swift
[19/62] Compiling PurchaseCore PurchaseLogging.swift
[20/62] Compiling PurchaseCore PurchaseOptions.swift
[21/62] Compiling PurchaseCore PurchaseOutcome.swift
[22/62] Compiling PurchaseCore HeldSubscription.swift
[23/62] Compiling PurchaseCore IntroductoryEligibility.swift
[24/62] Compiling PurchaseCore IntroductoryEligibilityReading.swift
[25/62] Compiling PurchaseCore NonRenewingTerms.swift
[26/62] Compiling PurchaseCore OfferID.swift
[27/62] Compiling PurchaseCore OfferSigning.swift
[28/67] Compiling PurchaseCore ProductID.swift
[29/67] Compiling PurchaseCore ProductLoadState.swift
[30/67] Compiling PurchaseCore ProductPurchasing.swift
[31/67] Compiling PurchaseCore PurchaseActivity.swift
[32/67] Compiling PurchaseCore PurchaseCommanding.swift
[33/67] Compiling PurchaseCore PurchaseCompletion.swift
[34/67] Compiling PurchaseCore SilentPurchaseLogger.swift
[35/67] Compiling PurchaseCore Standing.swift
[36/67] Compiling PurchaseCore StandingResolver.swift
[37/67] Compiling PurchaseCore StoreDiagnosing.swift
[38/67] Compiling PurchaseCore StoreDiagnosis.swift
[39/67] Compiling PurchaseCore PurchaseRestoring.swift
[40/67] Compiling PurchaseCore PurchaseStateProviding.swift
[41/67] Compiling PurchaseCore PurchaseStore.swift
[42/67] Compiling PurchaseCore Renewal.swift
[43/67] Compiling PurchaseCore RequestedPurchase.swift
[44/67] Compiling PurchaseCore RestoreOutcome.swift
[45/67] Compiling PurchaseCore OfferTerms.swift
[46/67] Compiling PurchaseCore OwnedProduct.swift
[47/67] Compiling PurchaseCore Ownership.swift
[48/67] Compiling PurchaseCore OwnershipReading.swift
[49/67] Compiling PurchaseCore ProductAccess.swift
[50/67] Compiling PurchaseCore ProductCatalogueLoading.swift
[51/67] Compiling PurchaseCore AppliedOffer.swift
[52/67] Compiling PurchaseCore BillingPlan.swift
[53/67] Compiling PurchaseCore BundleMembership.swift
[54/67] Compiling PurchaseCore Catalogue.swift
[55/67] Compiling PurchaseCore CatalogueEntry.swift
[56/67] Compiling PurchaseCore Duration+TimeInterval.swift
[57/67] Emitting module PurchaseCore
[58/67] Compiling PurchaseCore StoreFront.swift
[59/67] Compiling PurchaseCore StoreProduct.swift
[60/67] Compiling PurchaseCore SubscriptionGroupID.swift
[61/67] Compiling PurchaseCore SubscriptionStanding.swift
[62/67] Compiling PurchaseCore SubscriptionStatusReading.swift
[63/67] Compiling PurchaseCore TrialPeriod.swift
[64/67] Compiling PurchaseCore TrialStatus.swift
[65/67] Compiling PurchaseCore TrialTerms.swift
[66/67] Compiling PurchaseCore UnlistedPurchases.swift
[67/67] Compiling PurchaseCore WinBackOffer.swift
[68/97] Emitting module PurchaseDirectDistribution
[69/97] Compiling PurchaseDirectDistribution EverythingOwnedStoreFront.swift
[70/97] Compiling PurchaseSimulator ScenarioError.swift
[71/97] Compiling PurchaseSimulator AnswerGate.swift
[72/97] Emitting module PurchaseSimulator
[73/97] Compiling PurchaseSimulator SimulatedStoreFront+Scenario.swift
[74/97] Compiling PurchaseSimulator SimulatedStoreFront+Behaviour.swift
[75/97] Compiling PurchaseSimulator SimulatedStoreFront.swift
[76/97] Compiling PurchaseSimulator Scenario.swift
[77/97] Compiling PurchaseSimulator Scenario+Parsing.swift
[78/107] Compiling PurchaseTestKit RecordingPurchaseLogger.swift
[79/107] Compiling PurchaseTestKit StoreKitConfiguration+Expectations.swift
[80/107] Compiling PurchaseTestKit StoreKitConfigurationProblem.swift
[81/108] Compiling PurchaseTestKit StoreKitConfigurationError.swift
[82/108] Compiling PurchaseTestKit StoreKitConfiguration.swift
[83/108] Compiling PurchaseTestKit SimulatedStoreFront+Configuration.swift
[84/108] Compiling PurchaseTestKit PurchaseTestKit.swift
[85/108] Emitting module PurchaseTestKit
[86/108] Compiling PurchaseTestKit ManualClock.swift
[87/108] Compiling PurchaseTestKit StoreKitConfiguration+Product.swift
[88/108] Compiling PurchaseTestKit WaitUntil.swift
[89/108] Compiling PurchaseStoreKit StoreKitErrorMapping.swift
[90/109] Compiling PurchaseStoreKit PurchaseRequest.swift
[91/109] Compiling PurchaseStoreKit PurchaseStore+StoreKitViews.swift
[92/109] Compiling PurchaseStoreKit TransactionSnapshot.swift
[93/109] Compiling PurchaseUI RestorePurchasesButton.swift
[94/109] Compiling PurchaseUI PurchaseStoreModifier.swift
[95/109] Compiling PurchaseUI StoreMessages.swift
[96/109] Compiling PurchaseStoreKit StoreKitGateway.swift
[97/109] Compiling PurchaseStoreKit SubscriptionTriage.swift
[98/109] Compiling PurchaseStoreKit StatusSnapshot.swift
[99/109] Compiling PurchaseUI MessageQueue.swift
[100/109] Compiling PurchaseUI ManageSubscriptionsButton.swift
[101/109] Emitting module PurchaseUI
[102/109] Compiling PurchaseUI EnvironmentValues+Purchase.swift
[103/109] Compiling PurchaseUI PurchaseButton.swift
[104/109] Compiling PurchaseStoreKit TransactionTriage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/109] Compiling PurchaseStoreKit AppStoreFront.swift
[106/109] Compiling PurchaseStoreKit GatewayPurchaseResult.swift
[107/109] Emitting module PurchaseStoreKit
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:314:55: error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
312 | /// `BILLED_UPFRONT` and `MONTHLY`.
313 | @available(macOS 26.4, iOS 26.4, *)
314 | static func plan(_ type: Product.SubscriptionInfo.BillingPlanType) -> BillingPlan {
| `- error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
315 | switch type {
316 | case .monthly: .monthly
StoreKit.Product.SubscriptionInfo:2:15: note: 'SubscriptionInfo' declared here
1 | struct Product {
2 | public struct SubscriptionInfo : Equatable, Hashable {
| `- note: 'SubscriptionInfo' declared here
3 | public let introductoryOffer: Product.SubscriptionOffer?
4 | public let promotionalOffers: [Product.SubscriptionOffer]
[108/109] Compiling PurchaseStoreKit LiveStoreKitGateway.swift
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:314:55: error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
312 | /// `BILLED_UPFRONT` and `MONTHLY`.
313 | @available(macOS 26.4, iOS 26.4, *)
314 | static func plan(_ type: Product.SubscriptionInfo.BillingPlanType) -> BillingPlan {
| `- error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
315 | switch type {
316 | case .monthly: .monthly
StoreKit.Product.SubscriptionInfo:2:15: note: 'SubscriptionInfo' declared here
1 | struct Product {
2 | public struct SubscriptionInfo : Equatable, Hashable {
| `- note: 'SubscriptionInfo' declared here
3 | public let introductoryOffer: Product.SubscriptionOffer?
4 | public let promotionalOffers: [Product.SubscriptionOffer]
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:69:34: error: type 'Product.PurchaseOption' has no member 'billingPlanType'
67 | if let token = request.appAccountToken { storeOptions.insert(.appAccountToken(token)) }
68 | if let plan = request.billingPlan, #available(macOS 26.4, iOS 26.4, *) {
69 | storeOptions.insert(.billingPlanType(plan == .monthly ? .monthly : .upFront))
| `- error: type 'Product.PurchaseOption' has no member 'billingPlanType'
70 | }
71 | switch request.offer {
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:69:70: error: cannot infer contextual base in reference to member 'monthly'
67 | if let token = request.appAccountToken { storeOptions.insert(.appAccountToken(token)) }
68 | if let plan = request.billingPlan, #available(macOS 26.4, iOS 26.4, *) {
69 | storeOptions.insert(.billingPlanType(plan == .monthly ? .monthly : .upFront))
| `- error: cannot infer contextual base in reference to member 'monthly'
70 | }
71 | switch request.offer {
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:92:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | var offers = product.subscription?.winBackOffers ?? []
91 | if plan == .monthly, #available(macOS 26.4, iOS 26.4, *) {
92 | offers += (product.subscription?.pricingTerms ?? [])
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | .filter { $0.billingPlanType == .monthly }
94 | .flatMap { $0.subscriptionOffers.filter { $0.type == .winBack } }
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:224:72: error: value of type 'Transaction' has no member 'commitmentInfo'
222 | if case .verified = result { .verified } else { .unverified }
223 | var commitment: SubscriptionCommitment?
224 | if #available(macOS 26.4, iOS 26.4, *), let info = transaction.commitmentInfo {
| `- error: value of type 'Transaction' has no member 'commitmentInfo'
225 | commitment = SubscriptionCommitment(
226 | plan: transaction.billingPlanType.map(plan) ?? .monthly, billingPeriod: Int(info.billingPeriodNumber),
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:226:35: error: value of type 'Transaction' has no member 'billingPlanType'
224 | if #available(macOS 26.4, iOS 26.4, *), let info = transaction.commitmentInfo {
225 | commitment = SubscriptionCommitment(
226 | plan: transaction.billingPlanType.map(plan) ?? .monthly, billingPeriod: Int(info.billingPeriodNumber),
| `- error: value of type 'Transaction' has no member 'billingPlanType'
227 | billingPeriods: Int(info.totalBillingPeriods), endsAt: info.expirationDate, price: info.price)
228 | }
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:249:68: error: value of type 'Product.SubscriptionInfo.RenewalInfo' has no member 'commitmentInfo'
247 | private static func snapshot(of info: Product.SubscriptionInfo.RenewalInfo) -> RenewalSnapshot {
248 | var commitment: CommitmentRenewal?
249 | if #available(macOS 26.4, iOS 26.4, *), let pending = info.commitmentInfo {
| `- error: value of type 'Product.SubscriptionInfo.RenewalInfo' has no member 'commitmentInfo'
250 | commitment = CommitmentRenewal(
251 | willRenew: pending.willAutoRenew, nextProduct: ProductID(pending.autoRenewPreference),
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:286:26: error: value of type 'Product.SubscriptionInfo' has no member 'pricingTerms'
284 | var plans: [BillingPlanTerms] = []
285 | if #available(macOS 26.4, iOS 26.4, *) {
286 | plans = info.pricingTerms.map { terms in
| `- error: value of type 'Product.SubscriptionInfo' has no member 'pricingTerms'
287 | BillingPlanTerms(
288 | plan: plan(terms.billingPlanType), billingDisplayPrice: terms.billingDisplayPrice,
[109/109] Compiling PurchaseStoreKit PurchaseConfirmation+StoreKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:314:55: error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
312 | /// `BILLED_UPFRONT` and `MONTHLY`.
313 | @available(macOS 26.4, iOS 26.4, *)
314 | static func plan(_ type: Product.SubscriptionInfo.BillingPlanType) -> BillingPlan {
| `- error: 'BillingPlanType' is not a member type of struct 'StoreKit.Product.SubscriptionInfo'
315 | switch type {
316 | case .monthly: .monthly
StoreKit.Product.SubscriptionInfo:2:15: note: 'SubscriptionInfo' declared here
1 | struct Product {
2 | public struct SubscriptionInfo : Equatable, Hashable {
| `- note: 'SubscriptionInfo' declared here
3 | public let introductoryOffer: Product.SubscriptionOffer?
4 | public let promotionalOffers: [Product.SubscriptionOffer]
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:69:34: error: type 'Product.PurchaseOption' has no member 'billingPlanType'
67 | if let token = request.appAccountToken { storeOptions.insert(.appAccountToken(token)) }
68 | if let plan = request.billingPlan, #available(macOS 26.4, iOS 26.4, *) {
69 | storeOptions.insert(.billingPlanType(plan == .monthly ? .monthly : .upFront))
| `- error: type 'Product.PurchaseOption' has no member 'billingPlanType'
70 | }
71 | switch request.offer {
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:69:70: error: cannot infer contextual base in reference to member 'monthly'
67 | if let token = request.appAccountToken { storeOptions.insert(.appAccountToken(token)) }
68 | if let plan = request.billingPlan, #available(macOS 26.4, iOS 26.4, *) {
69 | storeOptions.insert(.billingPlanType(plan == .monthly ? .monthly : .upFront))
| `- error: cannot infer contextual base in reference to member 'monthly'
70 | }
71 | switch request.offer {
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:92:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | var offers = product.subscription?.winBackOffers ?? []
91 | if plan == .monthly, #available(macOS 26.4, iOS 26.4, *) {
92 | offers += (product.subscription?.pricingTerms ?? [])
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | .filter { $0.billingPlanType == .monthly }
94 | .flatMap { $0.subscriptionOffers.filter { $0.type == .winBack } }
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:224:72: error: value of type 'Transaction' has no member 'commitmentInfo'
222 | if case .verified = result { .verified } else { .unverified }
223 | var commitment: SubscriptionCommitment?
224 | if #available(macOS 26.4, iOS 26.4, *), let info = transaction.commitmentInfo {
| `- error: value of type 'Transaction' has no member 'commitmentInfo'
225 | commitment = SubscriptionCommitment(
226 | plan: transaction.billingPlanType.map(plan) ?? .monthly, billingPeriod: Int(info.billingPeriodNumber),
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:226:35: error: value of type 'Transaction' has no member 'billingPlanType'
224 | if #available(macOS 26.4, iOS 26.4, *), let info = transaction.commitmentInfo {
225 | commitment = SubscriptionCommitment(
226 | plan: transaction.billingPlanType.map(plan) ?? .monthly, billingPeriod: Int(info.billingPeriodNumber),
| `- error: value of type 'Transaction' has no member 'billingPlanType'
227 | billingPeriods: Int(info.totalBillingPeriods), endsAt: info.expirationDate, price: info.price)
228 | }
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:249:68: error: value of type 'Product.SubscriptionInfo.RenewalInfo' has no member 'commitmentInfo'
247 | private static func snapshot(of info: Product.SubscriptionInfo.RenewalInfo) -> RenewalSnapshot {
248 | var commitment: CommitmentRenewal?
249 | if #available(macOS 26.4, iOS 26.4, *), let pending = info.commitmentInfo {
| `- error: value of type 'Product.SubscriptionInfo.RenewalInfo' has no member 'commitmentInfo'
250 | commitment = CommitmentRenewal(
251 | willRenew: pending.willAutoRenew, nextProduct: ProductID(pending.autoRenewPreference),
/Users/admin/builder/spi-builder-workspace/Sources/PurchaseStoreKit/LiveStoreKitGateway.swift:286:26: error: value of type 'Product.SubscriptionInfo' has no member 'pricingTerms'
284 | var plans: [BillingPlanTerms] = []
285 | if #available(macOS 26.4, iOS 26.4, *) {
286 | plans = info.pricingTerms.map { terms in
| `- error: value of type 'Product.SubscriptionInfo' has no member 'pricingTerms'
287 | BillingPlanTerms(
288 | plan: plan(terms.billingPlanType), billingDisplayPrice: terms.billingDisplayPrice,
BUILD FAILURE 6.2 macosSpm