Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPh

Posted 十一岁的加重

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPh相关的知识,希望对你有一定的参考价值。

网上找了一大堆,没有解决的办法 ,主要是ios10的适配问题,info.plist里没有加对。

访问相册,我只加了

<!-- 相册 --> 
<key>NSPhotoLibraryUsageDescription</key> 
<string>App需要您的同意,才能访问相册</string> 

然后运行程序就报错了

Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibr 
解决办法 ,还得补上一个东西
<!-- 媒体资料库 --> 
<key>NSAppleMusicUsageDescription</key> 
<string>App需要您的同意,才能访问媒体资料库</string>

 






以上是关于Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPh的主要内容,如果未能解决你的问题,请参考以下文章

PLBuildVersion 类在两个框架中都实现

PLBuildVersion 类在两个框架中都实现

React报错:Error: Element type is invalid: expected a string (for built-in components) or a class/funct

mysql 问题 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is

解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj

解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj