LoginSignup
4
1

More than 5 years have passed since last update.

itune connectにビルドをアップロード後にThe app's Info.plist must contain an NSCameraUsageDescription key...というメールが届いた時

Posted at

問題

ビルドをitune connectにアップロードして、"Upload Successful!"と出て安心していたら、
直後に以下のようなメールが届いていました。

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.

原因

iOS10からカメラや連絡先を使用する場合は、その理由をinfo.plistに記入しないといけないとのこと。

解決方法

info.plistのPrivacyの欄に、指摘されたキーと理由を書きます。
理由は「this app uses camera」とかでOKぽい。

Info_plist2.png

Unityの場合

自分の場合Unity5でiOSビルドした時に発生しました。
cameraとか使ってないんだけどな、、

Unityの場合Player settingの↓の欄に理由を記入すればOK。
そうすればビルド時にinfo.plistに反映されます。

Unity_5_5_2f1__64bit__-_LoginScene_unity_-_hug-wedding-mobile-viewer_-_Android__OpenGL_4_1_.png

LocationやMicrophoneの警告が出た場合も同様に、このPlayer settingの該当欄を埋めればOK。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1