I'm making an app in which there is camera usage. I have added the key Privacy - Camera Usage Description
and I have added the description also with it. "Use camera to display ARKit content."
But when I run the app it crashes my app with this 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 NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
I'm confused why I'm getting this error since I have added it in the Info.plist.
Try below things,
FYI. Just give it a try.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.