Updated by Andrey Kamaev over 12 years ago

Something goes wrong building OpenCV iOS iPhoneOS:

<pre>


-----------

[...]
/Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: input object file stripped: /Users/osiris/Sviluppo/iOS/OpenCVForiPhone/test/build/iPhoneOS/modules/objdetect/UninstalledProducts/libopencv_objdetect.a(precomp.o)
0 0x107bb15f0 __assert_rtn + 144
1 0x107c18d12 ld::tool::FunctionStartsAtom<arm>::encode() const + 594
2 0x107c0705b ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 251
3 0x107c023b8 ld::tool::OutputFile::write(ld::Internal&) + 136
4 0x107bb1c5f main + 1263
A linker snapshot was created at:
/tmp/strip.SJc6mY-2012-07-10-124759.ld-snapshot
ld: Assertion failed: (addr != badAddress), function encode, file /SourceCache/ld64/ld64-134.5/src/ld/LinkEdit.hpp, line 1289.
/Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: internal link edit command failed
Command /Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip failed with exit code 1

** BUILD FAILED **

The following build commands failed:
Stripping /Users/osiris/Sviluppo/iOS/OpenCVForiPhone/test/build/iPhoneOS/modules/objdetect/UninstalledProducts/libopencv_objdetect.a
(1 failure)
</pre>

-----------

Note that everything goes ok with XCode <= 4.5

Back