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.
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.
在plist里面必須加上NSPhotoLibraryUsageDescription和NSCameraUsageDescription的鍵值對(duì)才行饰恕,之前都是默認(rèn)的,現(xiàn)在必須加,要不不讓通過
NSContactsUsageDescription -> 通訊錄
NSMicrophoneUsageDescription -> 麥克風(fēng)
NSPhotoLibraryUsageDescription -> 相冊(cè)
NSCameraUsageDescription -> 相機(jī)
NSLocationAlwaysUsageDescription -> 地理位置
NSLocationWhenInUseUsageDescription -> 地理位置