Error : This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSUserTrackingUsageDescription key with a string value explaining to the user how the app uses this data.
I alread added the permission in .plist
<key>NSUserTrackingUsageDescription</key> <string>$(PRODUCT_NAME) will track your data</string>
The issue in my project was that I had localization for info.plist set up in a wrong way.
For having the values properly localized, add the following
.strings
file and add them there:Make sure to actually call them
InfoPlist.strings
(exactly capitalized like that with capitalI
andP
)See also this answer: https://stackoverflow.com/a/25736915/1898677