bizz84 / bizz84/SwiftyStoreKit

Cannot override 'paymentQueue' which has been marked unavailable in 0.16.3

Open
#614 7 comments 1 reaction 0 assignees View on GitHub
type: bug
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

I'm trying to update to 0.16.3 so that hopefully a crash I am experiencing related to price locale will be fixed. However Xcode it failing for `Cannot override 'paymentQueue' which has been marked unavailable` on this line which looks like it shouldn't be commented out ?

```swift
// #if os(iOS) && !targetEnvironment(macCatalyst)
func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
return shouldAddStorePaymentHandler?(payment, product) ?? false
}
// #endif
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.