Skip to content

Commit

Permalink
Merge pull request #522 from bizz84/develop
Browse files Browse the repository at this point in the history
macOS Catalyst fix
  • Loading branch information
Sam-Spencer authored Feb 18, 2020
2 parents 23eb059 + 2c22bb3 commit 6de7077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SwiftyStoreKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwiftyStoreKit'
s.version = '0.15.0'
s.version = '0.15.1'
s.summary = 'Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and OSX 10.10+'
s.license = 'MIT'
s.homepage = 'https://github.com/bizz84/SwiftyStoreKit'
Expand Down
2 changes: 1 addition & 1 deletion SwiftyStoreKit/PaymentQueueController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class PaymentQueueController: NSObject, SKPaymentTransactionObserver {
updatedDownloadsHandler?(downloads)
}

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

return shouldAddStorePaymentHandler?(payment, product) ?? false
Expand Down

0 comments on commit 6de7077

Please sign in to comment.