diff --git a/Sources/Purchasing/StoreKitAbstractions/SK1Storefront.swift b/Sources/Purchasing/StoreKitAbstractions/SK1Storefront.swift index 40ec0b1000..944519641d 100644 --- a/Sources/Purchasing/StoreKitAbstractions/SK1Storefront.swift +++ b/Sources/Purchasing/StoreKitAbstractions/SK1Storefront.swift @@ -29,3 +29,9 @@ internal struct SK1Storefront: StorefrontType { let countryCode: String } + +#if swift(<5.7) +// `SKStorefront` isn't `Sendable` until iOS 16.0 / Swift 5.7 +@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.2, macCatalyst 13.1, *) +extension SK1Storefront: @unchecked Sendable {} +#endif diff --git a/Sources/Purchasing/StoreKitAbstractions/SK2Storefront.swift b/Sources/Purchasing/StoreKitAbstractions/SK2Storefront.swift index 278b1cf127..11b3a5583d 100644 --- a/Sources/Purchasing/StoreKitAbstractions/SK2Storefront.swift +++ b/Sources/Purchasing/StoreKitAbstractions/SK2Storefront.swift @@ -29,3 +29,9 @@ internal struct SK2Storefront: StorefrontType { let countryCode: String } + +#if swift(<5.7) +// `SKStorefront` isn't `Sendable` until iOS 16.0 / Swift 5.7 +@available(iOS 15.0, tvOS 15.0, watchOS 8.0, macOS 12.0, *) +extension SK2Storefront: @unchecked Sendable {} +#endif