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

    Oct 04, 2016 16:09

    Issue still present in 5.5.0b3. The project will build in XCode, but is rejected by iTunes Connect when archived and uploaded. There does not appear to be a way in Unity to actually remove the camera dependency.

  2. IvyKun

    Sep 26, 2016 10:25

    Problem still there in 5.4.1p1 and probably in patch 2 looking at the patch description...

  3. WHKS

    Sep 24, 2016 17:58

    i added it and its not working correctly, UNITY can you patch this issues please

  4. mateuspelegrino

    Sep 24, 2016 16:46

    It happened today with me when I tried to send the app to the app store.
    I did the step that CMHATCH told, but still got the error.
    Should I change the string related to privacy-Camera to explain why do I need it?
    Ps: My Unity version is 5.4.0f3 Personal.

  5. AlexeyOA

    Sep 22, 2016 11:36

    How to fix it? today faced with this problem! unity 5.4.0p3

  6. jdb1218

    Sep 17, 2016 21:44

    Same issue here (no camera use, build rejected by Apple). This did not happen when I uploaded yesterday (Sep 16). No clue as to why I have to add it now.

  7. justdizzy

    Sep 15, 2016 04:57

    Here too. The solution to add the Camera Usage privacy description is a workaround, the real solution should be for Unity to give us the option to remove the camera libraries.

    That being said, my understanding is that these usage descriptors are only show to the user when the app asks for permission to do a thing, so if your app doesn't do that thing, then you don't need to ask permission, therefore whatever you put in the descriptor will not be seen. Right?

  8. benconnito

    Sep 14, 2016 20:18

    I am using 5.4.1f1 personal (on a project that was previously created on 5.3.1). I do not see the appropriate Info.plist key being create and I am receiving rejection errors when pushing to iTunes connect. xcode 8.

    After inserting the key manually, it works.

  9. bobmaxine

    Sep 14, 2016 17:02

    CMHATCH THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  10. bsgbryan

    Sep 13, 2016 10:44

    This is the email I received from Apple when I uploaded my game via Application Loader:

    Dear developer,

    We have discovered one or more issues with your recent delivery for "Jumpy McRunface". 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.

    Once these issues have been corrected, you can then redeliver the corrected binary.

    Regards,

    The App Store team

    Again, my game does not use the camera, I have absolutely no code to request access to the camera, my game has no reason to access the camera, and I have no desire to request access to a user's camera. Neither I nor my game are requesting access to the camera - Unity is doing this.

    And again, to be clear: I cannot submit my app to the app store. And the instructions you gave are wrong. I followed them and still receive the error because, like the message says, the key must contain a value - and a value that makes sense to an end user.

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.