For some reason, a small subset of my users on iOS 10 are unable to read from my public iCloud container.The localisedError that CloudKit returns is "Account doesn't have access to CloudKit account", however after searching online, I can't find any mention of this error.Does anyone have any ideas what would cause this? They are signed into iCloud (I have asked a few to sign out/in again but this hasnt resolved), have iCloud Drive enabled and also "Use Mobile Data" enabled too in iCloud Drive settings. Example code sample below.let sortDescriptor = NSSortDescriptor.init(key: "Version", ascending: false)
let publicDatabase = CKContainer(identifier:"iCloud.blah.blah.blah").publicCloudDatabase
let truePredicate = NSPredicate(value: true)
let VersionQuery = CKQuery(recordType: "Version", predicate: truePredicate)
VersionQuery.sortDescriptors = [sortDescriptor]
publicDatabase.performQuery(VersionQuery, inZoneWithID: nil) { (record, error) -> Void in
print("Cloudkit Error = \(error?.localizedDescription)")
}