今天項目打包提交。收到了蘋果的郵件。主要內容:
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.
大概意思就是有需要設置的隱私權限沒有設置
右擊Info.plist文件 >Open As >Source Code 打開復制以下你在應用中使用的隱私權限設置(描述自己修改)
NSVideoSubscriberAccountUsageDescription
NSBluetoothPeripheralUsageDescription
藍牙權限
NSSpeechRecognitionUsageDescription
語音識別權限
NSSiriUsageDescription
Siri權限
NSRemindersUsageDescription
NSPhotoLibraryUsageDescription
相冊權限
kTCCServiceMediaLibrary
NSMotionUsageDescription
運動權限
NSMicrophoneUsageDescription
麥克風權限
NSAppleMusicUsageDescription
音樂權限
NSLocationWhenInUseUsageDescription
地理位置權限
NSLocationUsageDescription
地理位置權限
NSLocationAlwaysUsageDescription
地理位置權限
NSHomeKitUsageDescription
NSHealthUpdateUsageDescription
健康權限
NSHealthShareUsageDescription
健康權限
NSContactsUsageDescription
通訊錄權限
NSCameraUsageDescription
攝像頭權限
NSCalendarsUsageDescription
日歷權限