1.iOS10項(xiàng)目打包上傳被拒關(guān)于隱私權(quán)限問題

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.

大概意思就是有需要設(shè)置的隱私權(quán)限沒有設(shè)置,這里是藍(lán)牙的權(quán)限問題

右擊Info.plist文件 >Open As >Source Code 打開復(fù)制以下你在應(yīng)用中使用的隱私權(quán)限設(shè)置(描述自己修改)

 <key>NSVideoSubscriberAccountUsageDescription</key>  
 <string></string>  
 <key>NSBluetoothPeripheralUsageDescription</key>  
 <string>藍(lán)牙權(quán)限</string>  
 <key>NSSpeechRecognitionUsageDescription</key>  
 <string>語音識(shí)別權(quán)限</string>  
 <key>NSSiriUsageDescription</key>  
 <string>Siri權(quán)限</string>  
 <key>NSRemindersUsageDescription</key>  
 <string></string>  
 <key>NSPhotoLibraryUsageDescription</key>  
 <string>相冊權(quán)限</string>  
 <key>kTCCServiceMediaLibrary</key>  
 <string></string>  
 <key>NSMotionUsageDescription</key>  
 <string>運(yùn)動(dòng)權(quán)限</string>  
 <key>NSMicrophoneUsageDescription</key>  
 <string>麥克風(fēng)權(quán)限</string>  
 <key>NSAppleMusicUsageDescription</key>  
 <string>音樂權(quán)限</string>  
 <key>NSLocationWhenInUseUsageDescription</key>  
 <string>地理位置權(quán)限</string>  
 <key>NSLocationUsageDescription</key>  
 <string>地理位置權(quán)限</string>  
 <key>NSLocationAlwaysUsageDescription</key>  
 <string>地理位置權(quán)限</string>  
 <key>NSHomeKitUsageDescription</key>  
 <string></string>  
 <key>NSHealthUpdateUsageDescription</key>  
 <string>健康權(quán)限</string>  
 <key>NSHealthShareUsageDescription</key>  
 <string>健康權(quán)限</string>  
 <key>NSContactsUsageDescription</key>  
 <string>通訊錄權(quán)限</string>  
 <key>NSCameraUsageDescription</key>  
 <string>攝像頭權(quán)限</string>  
 <key>NSCalendarsUsageDescription</key>  
 <string>日歷權(quán)限</string>  
20160921170648473-1.png
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容