关闭

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

标签: xcodeios
900人阅读 评论(0) 收藏 举报
分类:

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

0
1

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:6622次
    • 积分:285
    • 等级:
    • 排名:千里之外
    • 原创:23篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章分类