1.iOS app引入Containers.framework
2017-05-08 本文已影响9人
masuyan
说明: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