Skip to content

Commit 6de7077

Browse files
authored
Merge pull request #522 from bizz84/develop
macOS Catalyst fix
2 parents 23eb059 + 2c22bb3 commit 6de7077

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SwiftyStoreKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SwiftyStoreKit'
3-
s.version = '0.15.0'
3+
s.version = '0.15.1'
44
s.summary = 'Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and OSX 10.10+'
55
s.license = 'MIT'
66
s.homepage = 'https://github.com/bizz84/SwiftyStoreKit'

SwiftyStoreKit/PaymentQueueController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class PaymentQueueController: NSObject, SKPaymentTransactionObserver {
240240
updatedDownloadsHandler?(downloads)
241241
}
242242

243-
#if os(iOS) && !targetEnvironment(UIKitForMac)
243+
#if os(iOS) && !targetEnvironment(macCatalyst)
244244
func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
245245

246246
return shouldAddStorePaymentHandler?(payment, product) ?? false

0 commit comments

Comments
 (0)