提交新項目,按照以往流程通過Application Loader 把ipa文件上傳成功,但是構建版本和活動都不顯示(等了2個小時),上網查了一下資料,我就查看了下公司郵箱,結果蘋果發的郵件:
Dear developer,
We have discovered one or more issues with your recent delivery for "**". 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 NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
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 these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
plist必須包含上面字符串的鍵值對向用戶解釋應用程序如何使用這些數據。找到原因、iOS10之后、蘋果對app使用用戶權限更嚴格
相應的配置上去,再次上傳就可以了,配置如下(不用全部配置,根據需要即可):
麥克風權限:Privacy - Microphone Usage Description 是否允許此App使用你的麥克風?
- 相機權限: Privacy - Camera Usage Description 是否允許此App使用你的相機?
- 相冊權限: Privacy - Photo Library Usage Description 是否允許此App訪問你的媒體資料庫?
- 通訊錄權限: Privacy - Contacts Usage Description 是否允許此App訪問你的通訊錄?
- 藍牙權限:Privacy - Bluetooth Peripheral Usage Description 是否許允此App使用藍牙?
- 語音轉文字權限:Privacy - Speech Recognition Usage Description 是否允許此App使用語音識別?
- 日歷權限:Privacy - Calendars Usage Description 是否允許此App使用日歷?
- 定位權限:Privacy - Location When In Use Usage Description 我們需要通過您的地理位置信息獲取您周邊的相關數據
- 定位權限: Privacy - Location Always Usage Description 我們需要通過您的地理位置信息獲取您周邊的相關數據
用了哪個就添加上、要不就會被拒!注意:: 這里是健值對,相應的value一定也要寫上,否則還是還是會被拒?。?!
文章引用:
http://www.lxweimin.com/p/700c8976668b