The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SKHelper, reference main (bec0ff), with Swift 6.0 for macOS (SPM) on 2 Dec 2025 20:21:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/russell-archer/SKHelper.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/russell-archer/SKHelper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bec0fff Merge pull request #15 from russell-archer/observable-support
Updating files:  77% (8722/11243)
Updating files:  78% (8770/11243)
Updating files:  79% (8882/11243)
Updating files:  80% (8995/11243)
Updating files:  81% (9107/11243)
Updating files:  82% (9220/11243)
Updating files:  83% (9332/11243)
Updating files:  84% (9445/11243)
Updating files:  85% (9557/11243)
Updating files:  86% (9669/11243)
Updating files:  87% (9782/11243)
Updating files:  88% (9894/11243)
Updating files:  89% (10007/11243)
Updating files:  90% (10119/11243)
Updating files:  91% (10232/11243)
Updating files:  92% (10344/11243)
Updating files:  93% (10456/11243)
Updating files:  94% (10569/11243)
Updating files:  95% (10681/11243)
Updating files:  96% (10794/11243)
Updating files:  97% (10906/11243)
Updating files:  98% (11019/11243)
Updating files:  99% (11131/11243)
Updating files: 100% (11243/11243)
Updating files: 100% (11243/11243), done.
Cloned https://github.com/russell-archer/SKHelper.git
Revision (git rev-parse @):
bec0fff69beec22048c16efac4f3127eb78202a2
SUCCESS checkout https://github.com/russell-archer/SKHelper.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/russell-archer/SKHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[4/7] Copying skhelper-logo-small.png
[4/7] Copying skhelper-logo.png
[6/7] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/39] Emitting module SKHelper
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:138:5: error: deinitializer cannot have a global actor
 136 |     ///
 137 |     @MainActor
 138 |     deinit {
     |     `- error: deinitializer cannot have a global actor
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
[9/42] Compiling SKHelper SKHelperLog.swift
[10/42] Compiling SKHelper SKHelperNotification.swift
[11/42] Compiling SKHelper SKHelperProduct.swift
[12/42] Compiling SKHelper SKHelperPurchaseInfo.swift
[13/42] Compiling SKHelper SKHelperSubscriptionInfoManage.swift
[14/42] Compiling SKHelper SKHelperSubscriptionStoreView.swift
[15/42] Compiling SKHelper resource_bundle_accessor.swift
[16/42] Compiling SKHelper SKHelperEntitlementState.swift
[17/42] Compiling SKHelper SKHelperPurchaseState.swift
[18/42] Compiling SKHelper SKHelperSubscriptionState.swift
[19/42] Compiling SKHelper SKHelperTransactionUpdateReason.swift
[20/42] Compiling SKHelper OnTransaction.swift
[21/42] Compiling SKHelper SKHelperManagePurchaseView.swift
[22/42] Compiling SKHelper SKHelperProductView.swift
[23/42] Compiling SKHelper SKHelperPurchaseInfoFieldText.swift
[24/42] Compiling SKHelper SKHelperPurchaseInfoFieldView.swift
[25/42] Compiling SKHelper SKHelperPurchaseInfoMain.swift
[26/42] Compiling SKHelper SKHelperStoreView.swift
[27/42] Compiling SKHelper SKHelperStoreViewBody.swift
[28/42] Compiling SKHelper SKHelperSubscriptionInfoMain.swift
[29/42] Compiling SKHelper SKHelperSubscriptionInfo.swift
[30/42] Compiling SKHelper SKHelperButtons.swift
[31/42] Compiling SKHelper SKHelperProductViewStyle.swift
[32/42] Compiling SKHelper SKHelperTapGesture.swift
[33/42] Compiling SKHelper SKHelperPurchaseInfoManage.swift
[34/42] Compiling SKHelper SKHelperPurchasesView.swift
[35/42] Compiling SKHelper SKHelperSheetBarView.swift
[36/42] Compiling SKHelper SKHelper+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:138:5: error: deinitializer cannot have a global actor
 136 |     ///
 137 |     @MainActor
 138 |     deinit {
     |     `- error: deinitializer cannot have a global actor
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:139:9: error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
  91 |
  92 |     /// Handler for App Store transactions.
  93 |     private var transactionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
     :
 137 |     @MainActor
 138 |     deinit {
 139 |         transactionListener?.cancel()
     |         `- error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:140:9: error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
  96 |     private var purchaseIntentListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  97 |
  98 |     /// Handler for changes to subscriptions.
     :
 138 |     deinit {
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
     |         `- error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
 141 |         subscriptionListener?.cancel()
 142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:141:9: error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
  97 |
  98 |     /// Handler for changes to subscriptions.
  99 |     private var subscriptionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
 100 |
 101 |     /// The current internal state of `SKHelper`.
     :
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
     |         `- error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
 142 |     }
 143 |
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:302:61: error: type 'Transaction' has no member 'currentEntitlements'
 300 |             if #available(iOS 18.4, macOS 15.4, *) {
 301 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4 and higher
 302 |                 for await verificationResult in Transaction.currentEntitlements(for: productId) { latestTransaction = verificationResult }
     |                                                             `- error: type 'Transaction' has no member 'currentEntitlements'
 303 |             } else {
 304 |                 latestTransaction = await Transaction.currentEntitlement(for: productId)
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:379:57: error: type 'Transaction' has no member 'currentEntitlements'
 377 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 378 |             var latestDate: Date?
 379 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 380 |                 // Make sure we find the latest verified entitlement found for this product.
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:383:38: error: generic parameter 'T' could not be inferred
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
 382 |                 // For subscriptions, despite Apple's docs saying otherwise, there can be multiple transactions in `Transaction.currentEntitlements(for: productId)`.
 383 |                 let verifiedResult = checkVerificationResult(result: verificationResult)
     |                                      `- error: generic parameter 'T' could not be inferred
 384 |                 if !verifiedResult.verified {
 385 |                     // The user seems to have an entitlement but we couldn't verify it.
     :
 732 |     /// When `verified` is false `verificationError` will be non-nil.
 733 |     ///
 734 |     public func checkVerificationResult<T>(result: VerificationResult<T>) -> SKHelperUnwrappedVerificationResult<T> {
     |                 `- note: in call to function 'checkVerificationResult(result:)'
 735 |
 736 |         switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:776:57: error: type 'Transaction' has no member 'currentEntitlements'
 774 |     public func hasCurrentEntitlement(for productId: ProductId) async -> SKHelperEntitlementState {
 775 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 776 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 777 |                 // We've found a transaction. See if it has been verified by StoreKit
 778 |                 if checkVerificationResult(result: verificationResult).verified { return .verifiedEntitlement }
[37/42] Compiling SKHelper SKHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:138:5: error: deinitializer cannot have a global actor
 136 |     ///
 137 |     @MainActor
 138 |     deinit {
     |     `- error: deinitializer cannot have a global actor
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:139:9: error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
  91 |
  92 |     /// Handler for App Store transactions.
  93 |     private var transactionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
     :
 137 |     @MainActor
 138 |     deinit {
 139 |         transactionListener?.cancel()
     |         `- error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:140:9: error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
  96 |     private var purchaseIntentListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  97 |
  98 |     /// Handler for changes to subscriptions.
     :
 138 |     deinit {
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
     |         `- error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
 141 |         subscriptionListener?.cancel()
 142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:141:9: error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
  97 |
  98 |     /// Handler for changes to subscriptions.
  99 |     private var subscriptionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
 100 |
 101 |     /// The current internal state of `SKHelper`.
     :
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
     |         `- error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
 142 |     }
 143 |
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:302:61: error: type 'Transaction' has no member 'currentEntitlements'
 300 |             if #available(iOS 18.4, macOS 15.4, *) {
 301 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4 and higher
 302 |                 for await verificationResult in Transaction.currentEntitlements(for: productId) { latestTransaction = verificationResult }
     |                                                             `- error: type 'Transaction' has no member 'currentEntitlements'
 303 |             } else {
 304 |                 latestTransaction = await Transaction.currentEntitlement(for: productId)
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:379:57: error: type 'Transaction' has no member 'currentEntitlements'
 377 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 378 |             var latestDate: Date?
 379 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 380 |                 // Make sure we find the latest verified entitlement found for this product.
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:383:38: error: generic parameter 'T' could not be inferred
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
 382 |                 // For subscriptions, despite Apple's docs saying otherwise, there can be multiple transactions in `Transaction.currentEntitlements(for: productId)`.
 383 |                 let verifiedResult = checkVerificationResult(result: verificationResult)
     |                                      `- error: generic parameter 'T' could not be inferred
 384 |                 if !verifiedResult.verified {
 385 |                     // The user seems to have an entitlement but we couldn't verify it.
     :
 732 |     /// When `verified` is false `verificationError` will be non-nil.
 733 |     ///
 734 |     public func checkVerificationResult<T>(result: VerificationResult<T>) -> SKHelperUnwrappedVerificationResult<T> {
     |                 `- note: in call to function 'checkVerificationResult(result:)'
 735 |
 736 |         switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:776:57: error: type 'Transaction' has no member 'currentEntitlements'
 774 |     public func hasCurrentEntitlement(for productId: ProductId) async -> SKHelperEntitlementState {
 775 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 776 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 777 |                 // We've found a transaction. See if it has been verified by StoreKit
 778 |                 if checkVerificationResult(result: verificationResult).verified { return .verifiedEntitlement }
[38/42] Compiling SKHelper SKHelperConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:138:5: error: deinitializer cannot have a global actor
 136 |     ///
 137 |     @MainActor
 138 |     deinit {
     |     `- error: deinitializer cannot have a global actor
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:139:9: error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
  91 |
  92 |     /// Handler for App Store transactions.
  93 |     private var transactionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
     :
 137 |     @MainActor
 138 |     deinit {
 139 |         transactionListener?.cancel()
     |         `- error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:140:9: error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
  96 |     private var purchaseIntentListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  97 |
  98 |     /// Handler for changes to subscriptions.
     :
 138 |     deinit {
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
     |         `- error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
 141 |         subscriptionListener?.cancel()
 142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:141:9: error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
  97 |
  98 |     /// Handler for changes to subscriptions.
  99 |     private var subscriptionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
 100 |
 101 |     /// The current internal state of `SKHelper`.
     :
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
     |         `- error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
 142 |     }
 143 |
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:302:61: error: type 'Transaction' has no member 'currentEntitlements'
 300 |             if #available(iOS 18.4, macOS 15.4, *) {
 301 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4 and higher
 302 |                 for await verificationResult in Transaction.currentEntitlements(for: productId) { latestTransaction = verificationResult }
     |                                                             `- error: type 'Transaction' has no member 'currentEntitlements'
 303 |             } else {
 304 |                 latestTransaction = await Transaction.currentEntitlement(for: productId)
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:379:57: error: type 'Transaction' has no member 'currentEntitlements'
 377 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 378 |             var latestDate: Date?
 379 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 380 |                 // Make sure we find the latest verified entitlement found for this product.
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:383:38: error: generic parameter 'T' could not be inferred
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
 382 |                 // For subscriptions, despite Apple's docs saying otherwise, there can be multiple transactions in `Transaction.currentEntitlements(for: productId)`.
 383 |                 let verifiedResult = checkVerificationResult(result: verificationResult)
     |                                      `- error: generic parameter 'T' could not be inferred
 384 |                 if !verifiedResult.verified {
 385 |                     // The user seems to have an entitlement but we couldn't verify it.
     :
 732 |     /// When `verified` is false `verificationError` will be non-nil.
 733 |     ///
 734 |     public func checkVerificationResult<T>(result: VerificationResult<T>) -> SKHelperUnwrappedVerificationResult<T> {
     |                 `- note: in call to function 'checkVerificationResult(result:)'
 735 |
 736 |         switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:776:57: error: type 'Transaction' has no member 'currentEntitlements'
 774 |     public func hasCurrentEntitlement(for productId: ProductId) async -> SKHelperEntitlementState {
 775 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 776 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 777 |                 // We've found a transaction. See if it has been verified by StoreKit
 778 |                 if checkVerificationResult(result: verificationResult).verified { return .verifiedEntitlement }
[39/42] Compiling SKHelper SKHelperConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:138:5: error: deinitializer cannot have a global actor
 136 |     ///
 137 |     @MainActor
 138 |     deinit {
     |     `- error: deinitializer cannot have a global actor
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:139:9: error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
  91 |
  92 |     /// Handler for App Store transactions.
  93 |     private var transactionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
     :
 137 |     @MainActor
 138 |     deinit {
 139 |         transactionListener?.cancel()
     |         `- error: main actor-isolated property 'transactionListener' can not be referenced from a nonisolated context
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:140:9: error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
  94 |
  95 |     /// Handler for purchase intents from App Store-promoted IAPs.
  96 |     private var purchaseIntentListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
  97 |
  98 |     /// Handler for changes to subscriptions.
     :
 138 |     deinit {
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
     |         `- error: main actor-isolated property 'purchaseIntentListener' can not be referenced from a nonisolated context
 141 |         subscriptionListener?.cancel()
 142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:141:9: error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
  97 |
  98 |     /// Handler for changes to subscriptions.
  99 |     private var subscriptionListener: Task<Void, any Error>? = nil
     |                 `- note: property declared here
 100 |
 101 |     /// The current internal state of `SKHelper`.
     :
 139 |         transactionListener?.cancel()
 140 |         purchaseIntentListener?.cancel()
 141 |         subscriptionListener?.cancel()
     |         `- error: main actor-isolated property 'subscriptionListener' can not be referenced from a nonisolated context
 142 |     }
 143 |
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:302:61: error: type 'Transaction' has no member 'currentEntitlements'
 300 |             if #available(iOS 18.4, macOS 15.4, *) {
 301 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4 and higher
 302 |                 for await verificationResult in Transaction.currentEntitlements(for: productId) { latestTransaction = verificationResult }
     |                                                             `- error: type 'Transaction' has no member 'currentEntitlements'
 303 |             } else {
 304 |                 latestTransaction = await Transaction.currentEntitlement(for: productId)
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:379:57: error: type 'Transaction' has no member 'currentEntitlements'
 377 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 378 |             var latestDate: Date?
 379 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 380 |                 // Make sure we find the latest verified entitlement found for this product.
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:383:38: error: generic parameter 'T' could not be inferred
 381 |                 // Note that use of Transaction.currentEntitlement(for:) has been deprecated with iOS 18.4.
 382 |                 // For subscriptions, despite Apple's docs saying otherwise, there can be multiple transactions in `Transaction.currentEntitlements(for: productId)`.
 383 |                 let verifiedResult = checkVerificationResult(result: verificationResult)
     |                                      `- error: generic parameter 'T' could not be inferred
 384 |                 if !verifiedResult.verified {
 385 |                     // The user seems to have an entitlement but we couldn't verify it.
     :
 732 |     /// When `verified` is false `verificationError` will be non-nil.
 733 |     ///
 734 |     public func checkVerificationResult<T>(result: VerificationResult<T>) -> SKHelperUnwrappedVerificationResult<T> {
     |                 `- note: in call to function 'checkVerificationResult(result:)'
 735 |
 736 |         switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SKHelper/Core/SKHelper.swift:776:57: error: type 'Transaction' has no member 'currentEntitlements'
 774 |     public func hasCurrentEntitlement(for productId: ProductId) async -> SKHelperEntitlementState {
 775 |         if #available(iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, *) {
 776 |             for await verificationResult in Transaction.currentEntitlements(for: productId) {
     |                                                         `- error: type 'Transaction' has no member 'currentEntitlements'
 777 |                 // We've found a transaction. See if it has been verified by StoreKit
 778 |                 if checkVerificationResult(result: verificationResult).verified { return .verifiedEntitlement }
[40/42] Compiling SKHelper SKHelperUnwrappedVerificationResult.swift
[41/42] Compiling SKHelper OnProductsAvailable.swift
[42/42] Compiling SKHelper OnSubscriptionChange.swift
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.34s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.5 (3.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3588] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.5
BUILD FAILURE 6.0 macosSpm