Hi Everyone,I'm using the latest XCode 8 Beta 2, and I'm unable to get the current iCloud user's name. Here's the code snippit:CKContainer.default().fetchUserRecordID { (record, error) in
CKContainer.default().discoverUserIdentity(withUserRecordID: record!, completionHandler: { (userID, error) in
print(userID?.hasiCloudAccount)
print(userID?.lookupInfo?.phoneNumber)
print(userID?.lookupInfo?.emailAddress)
print((userID?.nameComponents?.givenName)! + " " + (userID?.nameComponents?.familyName)!)
})
}record returned in line 1 is a real record. I think this shows that the app is connected to CloudKit and a container correctly.userID in line 2 is nil as well as error is nil.Has anyone been able to get the current user's iCloud name in XCode 8 iOS 10 Beta 2?Wes