美文网首页
1.iOS app引入Containers.framework

1.iOS app引入Containers.framework

作者: masuyan | 来源:发表于2017-05-08 14:39 被阅读9次

    说明: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

    相关文章

      网友评论

          本文标题:1.iOS app引入Containers.framework

          本文链接:https://www.haomeiwen.com/subject/biimtxtx.html