iOS 功能

Xcode8中遇到的问题及改动

2017-06-03  本文已影响0人  wodeph

1[MC] System group container forsystemgroup.com.apple.configurationprofiles path is/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2016-09-2017:11:32.028568 BabyHouseKeeper[572:93346] [MC] Reading from public effectiveuser settings.

2016-09-20 17:11:32.061637BabyHouseKeeper[572:93502] [access] This app has crashed because it attemptedto access privacy-sensitive data without a usage description.The app's Info.plist must contain anNSCameraUsageDescription key with a string value explaining to the user how theapp uses this data.

解决:

NSPhotoLibraryUsageDescription

App需要您的同意,才能访问相册

NSCameraUsageDescription

App需要您的同意,才能访问相机

NSMicrophoneUsageDescription

App需要您的同意,才能访问麦克风

NSLocationUsageDescription

App需要您的同意,才能访问位置

NSLocationWhenInUseUsageDescription

App需要您的同意,才能在使用期间访问位置

NSLocationAlwaysUsageDescription

App需要您的同意,才能始终访问位置

NSCalendarsUsageDescription

App需要您的同意,才能访问日历

NSRemindersUsageDescription

App需要您的同意,才能访问提醒事项

NSMotionUsageDescription App需要您的同意,才能访问运动与健身

NSHealthUpdateUsageDescription

App需要您的同意,才能访问健康更新

NSHealthShareUsageDescription

App需要您的同意,才能访问健康分享

NSBluetoothPeripheralUsageDescription

App需要您的同意,才能访问蓝牙

NSAppleMusicUsageDescription

App需要您的同意,才能访问媒体资料库

注:不喜勿喷!!!

上一篇 下一篇

猜你喜欢

热点阅读