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

iOS

-

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.'

Comments (32)

  1. seraphki

    Oct 25, 2016 18:09

    Was this resolved for everyone?
    I'm not using the camera in my project, but it's still getting rejected because of the Camera Usage Description. I don't want to have to fill that in, because the app I'm developing is for kids, and parents might get uneasy if the app is requesting camera privileges.

    I'm using an older version of Unity that doesn't have the Camera Usage Description - does its presence mean that its actually checking if we're using the camera? Will upgrading solve the issue?

  2. Johannski

    Oct 21, 2016 19:55

    In unity 5.4.2 f2 there is now a setting for the description. Not quite sure if it needs to be set, if the camera won't be used.

    https://i.imgur.com/vBG6XX8.png

  3. Lostlogic

    Oct 20, 2016 20:43

    5.4.1f1Same problem. Just tried it with a blank project that does "nothing" and the app is rejected every time. Can Unity fix this?

  4. sroq

    Oct 19, 2016 19:01

    Same issue. I uploaded my app to store and I got this message:

    "To process your delivery, the following issues must be corrected:

    This app attempts 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."

    Unity version: 5.4.1f1 personal

  5. junmin4

    Oct 18, 2016 20:57

    I am having the same problem, I cannot submit my build to the App Store. I think the solutions here are to just insert a fake(?) description but I don't think that is the solution for this. I think this needs to be an issue.

  6. toddmoore

    Oct 18, 2016 17:59

    Same issue here (no camera use, build rejected by Apple). Should this be a new issue? Unity 5.3.6.

  7. oli_d

    Oct 16, 2016 05:27

    I fix it, adding in list "Privacy – camera Usage Description" value : "$(PRODUCT_NAME) camera use "

    illustration : http://dondon.ch/wp-content/uploads/2016/10/solution_capture_ecran.jpg

    (Unity 5.4.1f1)

  8. xrm0

    Oct 15, 2016 10:11

    It's happening with 5.4.0f3 also.

  9. lugduweb

    Oct 09, 2016 19:05

    It's not working in 5.4.0f1 version either.
    How can we reopen an issue ?

  10. free-divbyzero

    Oct 05, 2016 11:24

    Unity 5.4.1p2
    Fixes:
    (none) - iOS: Fixed App Store submissions with Xcode 8 when phone camera is not being used by game.

    Maybe this solves your problem.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.