-
Notifications
You must be signed in to change notification settings - Fork 805
Closed
Description
Platform
- iOS
- macOS
- tvOS
In app purchase type
- Consumable
- Non-consumable
- Auto-Renewable Subscription
- Non-Renewing Subscription
Environment
- Sandbox
- Production
Version
0.13.2
Related issues
N/A
Report
Issue summary
SwiftyStoreKit will not compile for macOS/tvOS using Xcode 10, the following error is emitted:
Cannot override 'paymentQueue' which has been marked unavailable
at this location:
This is because
- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product NS_SWIFT_NAME(paymentQueue(_:shouldAddStorePayment:for:))
is marked as NS_AVAILABLE_IOS(11_0);
What did you expect to happen
SwiftyStoreKit should compile on macOS/tvOS.
What happened instead
Compilation fails due to the aforementioned error.
Metadata
Metadata
Assignees
Labels
No labels