刚刚升级到xcode 8,它似乎在打开的相册上破坏了我的应用程序,请参阅下面的错误日志。我已经卸载并安装了很多次,也尝试更新我的离子安装。
注意:xcode 8升级后,我不得不重新安装ios-sim& ios-deploy(再次),因为它没有找到。
ccd[1426]: [access] Refusing TCCAccessRequest for service kTCCServicePhotos and client /Users//Library/Developer/CoreSimulator/Devices/268F812D-B91E-40A2-943B-7DCF6548CF18/data/Containers/Bundle/Application/2FCEDD36-41B6-47A8-B49D-49DC356DA9C3/myAPP_V2.app/myAPP_V2 without NSPhotoLibraryUsageDescription key
V2[1491]: [access] This app has crashed because it attempted 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.