I tried to programmatically present a CNContactViewController for a new contact, but I got error "Access to PassKit Shared Cache file denied. Please verify sandbox exceptions and/or file a Radar." The CNContactViewController also did not present.
I check that I had all valid permissions, such as Privacy--Contacts in the info.plist and that I had gotten the permissions in my code. I had.
let cnContactViewController=CNContactViewController(forNewContact: contact)
vc.present(cnContactViewController, animated: true)
I expected the app to present ContactsUI's CNContactViewController with a contact filled in it's fields, but it didn't happen, and I got two error messages: Access to PassKit Shared Cache file denied. Please verify sandbox exceptions and/or file a Radar. and CNUI ERROR Contact view delayed appearance timed out