Class PLBuildVersion is implemented in both/...... and/......One of the two will be used. Which one is undefined.

调用系统相册、相机的时候会打印如下信息:

objc[2766]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11b337998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11b159880). One of the two will be used. Which one is undefined.

(偶尔会崩溃 )暂时不知道具体解决方法,网上找的解决方法总结一下,也都不起作用:

1.添加资料库访问权限(没用)

2.删除其中一个框架 (没用)

而且在首次调用相机的时候会有延迟;在iphone7 or 7plus(10.2)模拟器 进行测试内存暴涨(从70M左右涨到270M),其他模拟器都未发现有内存暴涨的问题!

有大神知道的可以留言回复下,谢谢哈!!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容