-
Notifications
You must be signed in to change notification settings - Fork 409
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
Since today's launch of my App in the Apple App Store, whenever you want to show CustomerCenterView(), my App crashes immediately.
When I go back to former versions, no crash happens, but instead of the regular CustomerCenterView I see a message "Update verfügbar. Bitte die App aktualisieren, damit alles korrekt funktioniert." (Translated: "Update available. Please update the app to ensure everything works correctly.") Below there are 2 buttons, one to Upgrade, which leads to my app's App Store page, and the other to continue. When I press continue in the old versions, the regular customer center appears.
But as I said: With my new version it crashes immediately.
-
Environment
- Platform: iOS 17 / iOS 18
- SDK version: 5.14.6 and 5.17.0
- 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:
- Xcode version: 16.2
- Device and/or simulator:
- Device
- Simulator
- Environment:
- Sandbox
- TestFlight
- Production
- How widespread is the issue. Percentage of devices affected.
Apple released my App in the new version and all of my devices (3) and all of the simulators crash.
-
Debug logs that reproduce the issue. Complete logs with
Purchases.logLevel = .verbosewill help us debug this issue.
When I set a breakpoint to All Exceptions, it stops in the "structure MyApp: App" line with:
"Thread 1: "-[__SwiftValue set]: unrecognized selector sent to instance 0x600000c263d0""
- Steps to reproduce, with a description of expected vs. actual behavior
Call a SwiftUI View, which includes CustomerCenterView(). It should open and display the data. But it crashes the whole app.