Search Issue Tracker
Fixed in 5.3.9
Votes
0
Found in
5.3.5p7
Issue ID
813396
Regression
No
[iOS] Using device camera on iOS 10 causes the application to be terminated
Steps to reproduce:
1) Open the attached project.
2) Build and deploy to an iOS 10 device.
The build crashes instantly, an error message appears in the Xcode console:
'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.'
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
bsgbryan
Sep 13, 2016 09:59
My game cannot be submitted to the app store because of this error - except that my game does not use the camera, does not request access, and at no point have I ever checked any boxes saying my game needs access to the phone's camera.
This is a bug in Unity.
CMHatch
Aug 09, 2016 04:40
You simply have to select the top most item on the left column (the main project) in Xcode. Then in the top menu that appears, select "info". You will see a long list of pre-existing .plist items. Hover over the last one and you will see a "+" and a "-" icon appear. Click the "+" and go down the resulting list until you see "privacy-Camera...". Add this item to by clicking it inside that list. Upon doing so, your game/app should build out to iOS 10 without a hitch.