Post

Replies

Boosts

Views

Activity

Reply to Recover the content of a CloudKit container, suppressed by mistake ?
I encountered a similar issue but, unfortunately, did not have any backup data available. While attempting to recover the lost data, I noticed an intriguing inconsistency: Some devices running older OS versions (unsupported by my app), but linked to the same Apple ID, display the container with a larger size (as if some data was preserved) compared to devices that had the app installed before the data was purged. On an older Mac, I run ls -a to list containers in ~/Library/Mobile Documents and obtained a comprehensive list of various containers. Unfortunately, mine CloudKit container was not present in that directory, but was visible in System Settings->iCloud->Manage Storage. I am curious how it is possible for some devices to reference the same container but display different sizes. Is it possible to access the preserved data, assuming it is cached? Any suggestions on where to look would be greatly appreciated!
Feb ’25
Reply to Display name for CloudKit container in the "Manage Storage" view of Settings
According to the response in https://developer.apple.com/forums/thread/735022, it depends on whether your apps are published to the App Store or not. For an App Store app, the system uses the associated iCloud container ID to retrieves the app name and icon from the App Store. For an app that isn't in App Store and is installed with Xcode, the system uses the last component of the iCloud container ID as the app name, and the Xcode-generated icon. However, replacing the container or changing app's metadata in the App Store is likely not an option.
Feb ’25
Reply to Xcode 12 iOS 14 error purchase
My app was also rejected because of SKError.Code.unknown during the app review. The deepest internal error had code 500305 with message "Unhandled exception". With the help of Code-Level Support I was able to rewrite IAP-related code, to make it successfully pass the app review. In my case the unknown error occurred, because the app tried to refresh receipt when it was missing and review team always canceled authentication dialog that appeared after SKReceiptRefreshRequest. The correct way to handle a missing appStoreReceipt is to ask whether the user wants to refresh it. Eventually, I just made app to ignore receipt if it is missing. If user purchased something on another device then there is always a "Restore" button available in my app. Moreover, in production the appStoreReceipt is almost always available.
Apr ’21