monacaのconfigファイルの記述方法をご教授願えませんでしょうか。
現在、monacaにて
・カメラを起動して写真・動画を撮る
・ライブラリから写真・動画をアップする
という機能を持ったIOSアプリを作成しています。
しかし、いざitunesConnectにアップしようとすると
The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
というエラーメッセージが届き、ビルドが消されてしまいます。
諸々調べた結果、plistに使用用途を記述する必要がある事までは分かったのですが、何度やっても上手くいきません。
congif.xmlに記述している内容は以下の通りです。
<platform name="ios"> <config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription"> <dict> <key>NSPhotoLibraryUsageDescription</key> <string>プロフィールに使用します</string> </dict> </config-file> <config-file target="*-Info.plist" parent="NSCameraUsageDescription"> <dict> <key>NSCameraUsageDescription</key> <string>プロフィールに使用します</string> </dict> </config-file> </platform>恐れ入りますが改善策をご教授頂けませんでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/09/07 08:47