dyld`__abort_with_payload: 错误
2017-06-01 14:32
429 查看
集成framework调用时,app直接crash,错误断点显示如下:
断点定位在:
dyld`__abort_with_payload:
看起来像是dylib动态库的问题
控制台的错误信息:
dyld: Library not loaded: @rpath/xxx.framework/xxx
Referenced from: /var/containers/Bundle/Application/EB17A7E6-0A0A-4EAA-8CB5-57A7D8A6FA0F/xxxDemo.app/xxxDemo
Reason: image not found
有时,控制台不打印上面的信息,不知道什么原因。
从上面的信息来看,基本确定就是动态库的问题,可是我的demo没有使用任何动态库啊,奇怪!
原来在xcode8中创建framework时,不知道什么时候开始, Mach-O Type默认是选择 "Dynamic Library"
把它改为 "Static Library" 即可。
断点定位在:
dyld`__abort_with_payload:
看起来像是dylib动态库的问题
控制台的错误信息:
dyld: Library not loaded: @rpath/xxx.framework/xxx
Referenced from: /var/containers/Bundle/Application/EB17A7E6-0A0A-4EAA-8CB5-57A7D8A6FA0F/xxxDemo.app/xxxDemo
Reason: image not found
有时,控制台不打印上面的信息,不知道什么原因。
从上面的信息来看,基本确定就是动态库的问题,可是我的demo没有使用任何动态库啊,奇怪!
原来在xcode8中创建framework时,不知道什么时候开始, Mach-O Type默认是选择 "Dynamic Library"
把它改为 "Static Library" 即可。
相关文章推荐
- dyld`__abort_with_payload:
- 使用IOS 10 / XCODE 8.1 遇到 libsystem_kernel.dylib`__abort_with_payload问题的解决方法
- 运行报表提示错误:Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50}
- iOS "dyld`dyld_fatal_error: -> 0x12000d088 <+0>: brk #0x3"错误
- Assertion failure in -[UITableView _endCellAnimationsWithContext:]---错误
- linux 错误 contains a file system with errors check forced
- svn post-commit hook faild(exit code 1) with output /Username not found 错误
- [转]Failed to run the WC DB work queue associated with 错误的解决
- ASP.NET WebForm_DoPostBackWithOptions 未定义错误 和 ASP.NET AJAX 客户框架无法加载错误
- Can not issue data manipulation statements with executeQuery()错误解决
- eclipse 插件subclipse 错误 This client is too old to work with working copy
- 解决错误:sql_variantisincompatiblewithxml(ASP.NET2.0/XML数据类型)
- 《TensorFlow实战实例》的一些错误更正ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named a
- Table configuration with catalog null, schema null错误的一个原因
- android 1.5 SDK 模拟器无法启动问题 “Failed to find an AVD mpatible with target”错误
- 开发中关于threadid=1: thread exiting with uncaught exception (group=0x40...)的错误
- Java编译错误“No enclosing instance of type AA is accessible. Must qualify the allocation with an enclosing instance of type SimpleTh
- android No address associated with hostname错误
- Java错误No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing
- 添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试