我已经向我的项目添加了逻辑测试,这些测试看起来运行良好,但现在如果我返回并在模拟器上运行我的项目,我会得到以下错误。该项目在设备上构建良好。
有什么想法吗?一两天来我一直在拼命想弄清楚出了什么问题。。
0 0x105137098 __assert_rtn + 144
1 0x10513a431 mach_o::relocatable::Section<x86>::addRelocFixup(mach_o::relocatable::Parser<x86>&, macho_relocation_info<Pointer32<LittleEndian> > const*) + 1781
2 0x10514a636 mach_o::relocatable::Section<x86>::makeFixups(mach_o::relocatable::Parser<x86>&, mach_o::relocatable::Parser<x86>::CFI_CU_InfoArrays const&) + 90
3 0x105146aad mach_o::relocatable::Parser<x86>::parse(mach_o::relocatable::ParserOptions const&) + 1433
4 0x10513e0c3 mach_o::relocatable::Parser<x86>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 313
5 0x10513baa1 mach_o::relocatable::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 149
6 0x10515c33a archive::File<x86>::makeObjectFileForMember(archive::File<x86>::Entry const*) const + 794
7 0x10515bc32 archive::File<x86>::forEachAtom(ld::File::AtomHandler&) const + 424
8 0x10516d76c ld::tool::InputFiles::forEachInitialAtom(ld::File::AtomHandler&) + 420
9 0x105176884 ld::tool::Resolver::resolve() + 44
10 0x105137380 main + 370
A linker snapshot was created at:
/tmp/TagItApp-2013-06-22-153014.ld-snapshot
ld: Assertion failed: (src.atom != NULL), function addRelocFixup, file /SourceCache/ld64/ld64-136/src/ld/parsers/macho_relocatable_file.cpp, line 5468.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的模拟器上的Bump库出现了这个问题。这个线程提供了一个模拟器友好的lib版本:https://github.com/bumptech/bump-api-ios/issues/15