您的位置:首页 > 移动开发

Xcode8 Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platfo

2017-01-03 18:13 483 查看
Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x112b90998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1129b2880). One of the two will be used. Which one is undefined.

解决方法:

Input the following into your Info.plist file.

在 info.plist 中,添加两个键值对

针对photo:

key : Privacy - Photo Library Usage Description value: $(PRODUCT_NAME) photo use

针对camera:

key:Privacy - Camera Usage Description value:$(PRODUCT_NAME) camera use
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  xcode ios
相关文章推荐