Skip to content

Showing CustomerCenterView() crashes the app since my rollout today #4790

@ikemuc

Description

@ikemuc

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.

  1. Environment

    1. Platform: iOS 17 / iOS 18
    2. SDK version: 5.14.6 and 5.17.0
    3. 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)
    4. OS version:
    5. Xcode version: 16.2
    6. Device and/or simulator:
      • Device
      • Simulator
    7. Environment:
      • Sandbox
      • TestFlight
      • Production
    8. 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.
  2. Debug logs that reproduce the issue. Complete logs with Purchases.logLevel = .verbose will 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""

  1. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions