Swiftystorekit: Update CocoaPods podspec to 0.16.0

Created on 25 May 2020  路  5Comments  路  Source: bizz84/SwiftyStoreKit

Could you update the version of the latest pod to 0.16.0?

The latest version of the framework from Cocoapods, 0.15.0, when porting to Catalyst gives an error:

#if os (iOS)
func paymentQueue (_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
聽聽聽聽聽聽聽return shouldAddStorePaymentHandler? (payment, product) ?? false
}
#endif

When installing SwiftyStoreKit using Cocoapods, the previous version of 0.15.0 is installed.
Version 0.15.1 as far as I can see from the PR fixes the error and supports Catalyst.

What did you expect to happen

It is expected that after updating the pod to version 0.15.1, the error with Catalyst will go away.

What happened instead

When building the application under macOS Catalyst, an error appears:

#if os (iOS)
func paymentQueue (_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
     return shouldAddStorePaymentHandler? (payment, product) ?? false
}
#endif
answered not-a-bug

All 5 comments

Hi! I'm so sorry for the delay with this. I've reached out to @bizz84, the original CocoaPods owner / author for this repo so we can get the new spec pushed up to the trunk!

Hold tight! In the meantime, SPM integration should be working! 馃槵

Hi! I'm so sorry for the delay with this. I've reached out to @bizz84, the original CocoaPods owner / author for this repo so we can get the new spec pushed up to the trunk!

Hold tight! In the meantime, SPM integration should be working! 馃槵

Thx, Sam.
We will be waiting for you and @bizz84

@Sam-Spencer I sent you a message on Slack about this. There's a step you need to complete, then I can give you push access.

@Sam-Spencer I sent you a message on Slack about this. There's a step you need to complete, then I can give you push access.

It should be setup now! @bizz84

@anatoliykant Huzzah! 0.16.0 is now available on CocoaPods!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

odedharth picture odedharth  路  8Comments

andresmontelpare picture andresmontelpare  路  9Comments

astrokin picture astrokin  路  4Comments

rdforte picture rdforte  路  3Comments

AdieOlami picture AdieOlami  路  9Comments