由于我更新到 Xcode 5.1,它将标准架构也更改为 include arm64
,因此我不断从链接器收到以下错误:
0 0x109157f93 __assert_rtn + 144
1 0x1091faed4 ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 0
2 0x1091fb5f7 ld::passes::stubs::Pass::process(ld::Internal&) + 497
3 0x1091fbc07 ld::passes::stubs::doPass(Options const&, ld::Internal&) + 111
4 0x109158b50 main + 772
5 0x7fff8568b5fd start + 1
A linker snapshot was created at:
/tmp/MyApp-2014-02-19-175731.ld-snapshot
ld: Assertion failed: (target != NULL), function stubableFixup, file /SourceCache/ld64/ld64-236.3/src/ld/passes/stubs/stubs.cpp, line 126.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
鉴于我使用仅为 armv7 编译的第三方库这一事实,我尝试在项目和目标的构建设置中将架构和有效架构选项设置为仅包含 armv7,但我不断收到错误消息,即使在清洁...有什么想法吗?
谢谢!