I’m using Xcode 11.3.1 (11C504) and iOS 13
I am using camera to upload photos on my app, app crashes with following very known message:
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist
must contain an NSPhotoLibraryUsageDescription
key with a string value explaining to the user how the app uses this data.
Added the NSCameraUsageDescription in my info.plist, but I still get the crash no matter what. Cleaned the app, deleted the app, even restarted Xcode, still crashed with same message every time.
Did this happen to anyone? Did anyone made it work? Am I missing anything?
<key>NSPhotoLibraryUsageDescription</key>
<string>This application saves Photos and videos to your library.</string>