-
Notifications
You must be signed in to change notification settings - Fork 382
Description
- I have updated Purchases SDK to the latest version
- I have read the Contribution Guidelines
- I have searched the Community
- I have read docs.revenuecat.com
- I have searched for existing Github issues
Describe the bug
Our project is configured with SWIFT_TREAT_WARNINGS_AS_ERRORS = YES.
When I was compiling our project in Xcode 26, under the current latest release (5.28.1
) I am getting multiple deprecation errors (warnings). Here's a few:
'SKPaymentTransaction' is deprecated: first deprecated in iOS 18.0 - Use PurchaseResult from Product.purchase(confirmIn:options:)
'SKPaymentQueueDelegate' is deprecated: first deprecated in iOS 18.0 - No longer supported
'SKPaymentTransactionObserver' is deprecated: first deprecated in iOS 18.0 - Use StoreKit 2 Transaction APIs
See screenshot below
- Environment
- Platform: iOS
- SDK version:
- StoreKit version:
- StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with
.with(storeKitVersion: .storeKit1)
) - StoreKit 2 (default on versions >=5.0.0)
- StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with
- OS version:
15.4 (24E247)
- Xcode version:
26.0 beta 1
- Device and/or simulator:
- Device
- Simulator
- Environment:
- Sandbox
- TestFlight
- Production
- How widespread is the issue. Percentage of devices affected.
- Debug logs that reproduce the issue. Complete logs with
Purchases.logLevel = .verbose
will help us debug this issue.

- Steps to reproduce, with a description of expected vs. actual behavior
Please fill in
-
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
-
Additional context
Add any other context about the problem here.