xcode8警告Reading from private effective user settings

Xcode8运行警告

[MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/xiaoluzhao/Library/Developer/CoreSimulator/Devices/2FE61567-EEDB-42A1-8E39-E2AE36A7BC94/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

[MC] Reading from private effective user settings.


最后一句就是告诉你访问了隐私权限,你需要配置相机权限

NSPhotoLibraryUsageDescription
此 App 需要您的同意才能读取媒体资料库


如果有需要,还可能用到下面这几种

NSCameraUsageDescription    
cameraDesciption

NSContactsUsageDescription    
contactsDesciption

NSMicrophoneUsageDescription    
microphoneDesciption


然后运行后会出现授权的警示框,同意之后就没有警告了




你可能感兴趣的:(iOS错误崩溃总结)