When running cloudkit photo sharing app: https://github.com/robovm/apple-ios-samples/tree/master/CloudPhotosUsingCloudKitwithiOS
I access the contacts of the users to get the first name and last name.
When trying to access that I get this error: Terminating app due to uncaught exception 'CNPropertyNotFetchedException', reason: 'A property was not requested when contact was fetched.'
The error only appears in ios 11 and not ios 9.
Any suggestions?