Why is iCloud account/CKContainer not being found
问题 Please see my updated question below: I am working on my first app with CloudKit. I'm trying to test whether a user is connected to iCloud, before looking for transactions. This is my code (showing various tests): func isICloudContainerAvailable()->Bool { CKContainer.default().accountStatus { (accountStat, error) in if (accountStat == .available) { print("iCloud is available") } else { print("iCloud is not available") } } CKContainer.default().accountStatus { (accountStatus, error) in switch