1.iOS app引入Containers.frameworks(Required )在iOS8.4.1 5S安装闪退

说明:1.本app支持的最低系统是iOS 8.0,
2.引入科大讯飞SDK,该SDK中引入了Containers.frameworks,并且为Required,因该框架是在9.0后才有的,所以在8.4的系统上会闪退,
解决办法:Required 改为Optional

报错日志:
dyld: Library not loaded: /System/Library/Frameworks/Contacts.framework/Contacts
Referenced from: /private/var/mobile/Containers/Bundle/Application/910E21D6-5CA0-495C-8577-C8AF8FC66313/appName.app/appName
Reason: image not found

解决方法:
solution:setting the added frameworks as Optional instead of Required from here, Project-> Targets-> Build Phases-> Link Binary with Libraries, change the status of added (or which creating the problem) frameworks to Optional

参考:
http://stackoverflow.com/questions/1462964/dyld-library-not-loaded-avfoundation-framework-reason-image-not-found

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

相关阅读更多精彩内容

友情链接更多精彩内容