警告_Class PLBuildVersion is imple
2017-04-24 本文已影响120人
oldSix_Zhu
Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x10fc0fcc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1101316f0). One of the two will be used. Which one is undefined.
这个警告在模拟器运行时会在控制台打印,虽然不影响程序运行,但是看着好烦.
百度,谷歌的找了好久,大部分的解决办法是在info.plist文件中加入相机和图库两个的访问支持
但是我设置了依然不好使
最后发现不是自己代码的问题,是第三方的问题
果然,在pod中把YYWebImage移除后,控制台不打印了,不得不吐槽一下😂
遇到此问题的检查下第三方吧