since I updated to Xcode 5.1, which changes the standard architectures to also include arm64
, I keep getting the following error from the linker:
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)
given the fact that I use third party libraries which are compiled only for armv7, I tried to set the Architectures and Valid Architectures options to only include armv7, in both the Project's and the target's build settings, but I keep getting the error, even after cleaning... any idea?
Thank you!