Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
Replied In
iOS 15 beta 4 CloudKit Auth Error
I started seeing this error as well ever since updating to iOS 15 beta 4 and Xcode 13 beta 4.
It appears to me that CKErrorAccountTemporarilyUnavailable is new in iOS 15 and macOS 12.
According to the available online documentation:
You receive this error when the user’s iCloud account is available, but isn’t ready to support CloudKit operations. Don’t delete any cached data and don’t enqueue any additional CloudKit operations.
Checking the account status after the operation fails, assuming there are no other changes to the account’s status, returns CKAccountStatusTemporarilyUnavailable. Use the CKAccountChangedNotification notification to listen for future account status changes, and retry the operation after the status becomes CKAccountStatusAvailable.
On the other hand, the comment next to this error code in CKError.h (header file) reads:
The current account is in a state that may need user intervention to recover from. The user should be directed to check the Settings app. Listen for CKAccountChangedNotifications to know when to re-check account status and retry.
I wonder if there is something we might be missing here? What exactly is the user supposed to do in the Settings app?