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

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

阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jiangcsc/article/details/53996778
文章标签: xcode ios
个人分类: object-c
上一篇IOS Implicit declaration of function 'xxxxxx ' is invalid in C99 错误
下一篇使用boundingRectWithSize计算内容高度的
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭