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.
It is expected that after updating the pod to version 0.15.1, the error with Catalyst will go away.
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
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!