IOS 出现错误reason: image not found的解决方案
2017-05-16 11:51
1181 查看
IOS 出现错误reason: image not found的解决方案
在制作framework时遇到真机运行时导致的reason: image not found允许崩溃的问题,下面是我的解决方案:
首先我们分析一下出现这种情况的原因,原因就是framework找不到镜像了,也就是在真机运行是没有找到对应的framework包,在网上找的一些办法将框架引用从Required 变为Optional ,根本就是治标不治本,等到运行到这个framework的代码是也会崩溃,我们需要做的是将这个framework拷贝到项目里面才行,这样才能从根本上解决问题,下面是我的解决方案:
按上图所示将你的framework给copy到你的项目中就行了,这样就从根本上解决了问题~~
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
您可能感兴趣的文章:
相关文章推荐
- IOS 出现错误 :Reason: image not found
- ios开发在导入环信SDK后运行出现 Reason: image not found 的解决方案
- iOS 集成环信 出现Reason: image not found 的错误
- Delphi XE Seattle update1 在iOS 9.3模拟器调试程序时出现dlopen(libmidas.dylib,1):image not found错误的解决
- Swift-Xcode真机运行出现Reason: image not found错误
- reason: image not found的解决方案
- [iOS]Reason: image not found 解决办法
- android studio安卓项目出现Error: Default Activity Not Found错误无法编译的解决方案
- iPhone开发笔记(23)iOS应用发布时上传App icon时出现错误(image can't contain alpha channels or transparencies)
- IOS 10 Xcode8 dyld: Library not loaded: Reason: image not found
- Reason: image not found 错误解决方法
- Reason: image not found 错误解决方法
- iOS 提交应用过程出现的错误及#解决方案#images can't contain alpha channels or transparencies
- ios开发使用cocoapods倒入一堆的三方库之后开始崩溃了。发觉是导入极光引用的iOS10UserNotifications.framework导致的问题 Reason: image not found
- Reason: image not found 错误解决方法,这才是正确的解决方法
- reason: image not found的解决方案
- Eclipse安装MySQLdb出现Reason: image not found
- iOS应用发布时上传App icon时出现错误(image can't contain alpha channels or transparencies)
- ASP网页IIS发布出现HTTP 错误 404.3 - Not Found解决方案
- Reason: image not found 错误解决方法