原文網址:http://blog.csdn.net/yidu_blog/article/details/53064987html
今天項目打包提交。收到了蘋果的郵件。主要內容:app
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.
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.ide
大概意思就是有須要設置的隱私權限沒有設置this
右擊Info.plist文件 >Open As >Source Code 打開復制如下你在應用中使用的隱私權限設置(描述本身修改)spa
- <key>NSVideoSubscriberAccountUsageDescription</key>
- <string></string>
- <key>NSBluetoothPeripheralUsageDescription</key>
- <string>藍牙權限</string>
- <key>NSSpeechRecognitionUsageDescription</key>
- <string>語音識別權限</string>
- <key>NSSiriUsageDescription</key>
- <string>Siri權限</string>
- <key>NSRemindersUsageDescription</key>
- <string></string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>相冊權限</string>
- <key>kTCCServiceMediaLibrary</key>
- <string></string>
- <key>NSMotionUsageDescription</key>
- <string>運動權限</string>
- <key>NSMicrophoneUsageDescription</key>
- <string>麥克風權限</string>
- <key>NSAppleMusicUsageDescription</key>
- <string>音樂權限</string>
- <key>NSLocationWhenInUseUsageDescription</key>
- <string>地理位置權限</string>
- <key>NSLocationUsageDescription</key>
- <string>地理位置權限</string>
- <key>NSLocationAlwaysUsageDescription</key>
- <string>地理位置權限</string>
- <key>NSHomeKitUsageDescription</key>
- <string></string>
- <key>NSHealthUpdateUsageDescription</key>
- <string>健康權限</string>
- <key>NSHealthShareUsageDescription</key>
- <string>健康權限</string>
- <key>NSContactsUsageDescription</key>
- <string>通信錄權限</string>
- <key>NSCameraUsageDescription</key>
- <string>攝像頭權限</string>
- <key>NSCalendarsUsageDescription</key>
- <string>日曆權限</string>