Log in or register to post comments

Missing camera permissions in iOS

December 13, 2016 - 12:26pm #1

Hi guys,

I'm using Unity 5.5.0 f3 with lastest Vuforia on Windows 10. I'm using the Unity Cloud to build for iOS.

When I try to test the app in my ipad it crashes and this is what appears in the log.

Termination Reason: TCC, 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 can't find where to add the permission. If I have to do it in the Unity Editor or in the Unity Cloud.

Could you help me?

Thanks in advance

Missing camera permissions in iOS

December 19, 2016 - 6:18pm #2

You need to find info.plist and add the following to it:

<key>NSCameraUsageDescription</key>

  <string>

  Camera is used by this app for Augmented Reality

  </string>

You can change the string to whatever you want - not sure if special characters are an issue though. Better to avoid them.

On the desktop, the info.plist file will be located at the top level of your Xcode build folder. I haven't used Unity Cloud but I'm assuming it's the same.

Log in or register to post comments