Hey,
For some reason I see crashes for my iOS app related to CloudKit entitlements.
The crash happens on start up and it says:
"CKException - Application has malformed entitlements. Found value "*" for entitlement com.apple.developer.icloud-services, expected an array of strings"
I have checked my entitlements of the same build on App Store Connect and it shows "com.apple.developer.icloud-services: ( "CloudKit" )"
So I am not sure why users are having this issue. I haven't been able to reproduce it.
Does anyone have any idea why this is happening?
Thanks
Post
Replies
Boosts
Views
Activity
I've been trying to test if the StoreKit API returns finished consumables when you fetch all transactions.
I added the SKIncludeConsumableInAppPurchaseHistory key to my Info.plist
I purchased 2 consumables and verified that they show up when you fetch all transactions before I finish them.
But when I fetch all transactions after finishing them, it doesn't contain the finished consumables.
Has anyone had success with this or is this a bug?
I tested using Xcode Version 16.0 (16A242d) running a macOS Catalyst app on Sonoma 14.7 (23H124).
Edit: If I try to get the transaction history using the https://api.storekit-sandbox.itunes.apple.com/inApps/v2/history from my server, I get the transactions back. So it seems like it's a bug on the client side.
I have implemented iCloud syncing in my app.
I am noticing a lot of "CKErrorInternalError" codes in my production logs. The description is "Failed user key sync" or "Failed to sync user keys". I have no idea what they mean or what is causing it.