I have a SwiftUI app that uses Core Data and CloudKit
.
Using the Xcode 15 beta and iOS17 beta simulator, some of the runs cause the app to crash on startup.
The console prints the following:
BUG IN CLIENT OF CLOUDKIT: Not entitled to listen to push notifications. Please add the 'aps-connection-initiate' entitlement.
Push notifications are added correctly and everything works on iOS16 and earlier.
This crash also only occurs in about 20% runs on iOS17 beta.
Any tips on how to resolve this?