I've downloaded the CloudKitAtlas sample code from Apple dated Sept 8. I did:
But the app crashes when I click the Discoverability in application. The error message is:
An error occured in requestDiscoverabilityPermission:: CKError 0x7fd7f162c1c0: "Not Authenticated" (9/1004); "Account couldn't get container scoped user id, no underlying error received"; Retry after 3.0 seconds>
Do I miss anything setting up the iCloud? Thanks
I had the same problem on my app. Deleting the application from the simulator and restarting it fixed the problem. Take a clean build if necessary
Also, make sure that you are logged in to iCloud in Settings app.