Contacts.Notes Entitlement not found

Hello Apple-World,

we are developing for an iOS13 device with XCode11, that must be able to read the contacts.notes.

For that we added the that entitlement to our provisioning profile (Type: Development) and the related entitlement list of our app.


Yet XCode is unable to find this entitlement and complains about it. Further investigations on that issue bought to light, that the related entitlement key <key>myKey</key> is added with a space ahead of the key-value <key> myKey</key>.

If we change our list-entry to that key-value, Xcode stops complaining, but our app is unable to request die contacts.notes (obviously, since the key is wrong).


So my question is:

Does somebody know, why this space is added to the provisioning profile key? (And maybe how to fix it?)

Replies

Have you defined

NSContactsUsageDescription

in info.plist.

Hi, did you find an answer for this. I have the same issue and theres no help out there on it.