Search Unity

Invalid iOS builds - NSCameraUsageDescription

Discussion in 'Unity Build Automation' started by Morgondag, Jan 27, 2017.

  1. Morgondag

    Morgondag

    Joined:
    Dec 29, 2014
    Posts:
    35
    Using Cloud Build have stopped working.
    For some strange reason the app started requesting "NSCameraUsageDescription"..
    No changes to the applications request to use the camera as been added.

    This is effectively blocking us from using cloud build to deliver updates to Apple....


    This is the message from apple:

    Dear developer,

    We have discovered one or more issues with your recent delivery for "app". To process your delivery, the following issues must be corrected:

    Missing Info.plist key - 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 the required corrections have been made, you can then redeliver the corrected binary.
     
  2. TobyKaos

    TobyKaos

    Joined:
    Mar 4, 2015
    Posts:
    214
    Yes even building locally i have to add dummy description in infos
     
  3. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    785
  4. Morgondag

    Morgondag

    Joined:
    Dec 29, 2014
    Posts:
    35
    the point is, why do we all of a sudden need to add support for camera when we don't use camera?
     
  5. Morgondag

    Morgondag

    Joined:
    Dec 29, 2014
    Posts:
    35
  6. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    So, is that a bug in Unity? why is the webcam set to be enabled ?
     
  7. Morgondag

    Morgondag

    Joined:
    Dec 29, 2014
    Posts:
    35
    I solved it by using PostProcessBuild script that removed the broken stuff from Unity.
    Now we can ship again, possible a problem with their buildscripts or just cloudbuild.