this is a old project with cocos2dx which contains openssl lib (libcrypto.a, libssl.a)
when i add a new framework which contains it i can't run in Debug.
i move framework order to then font in "build phases -> link birnary" so that i can run in Debug
but when i run it in Release i get flowing error.
what should i do to deal with it
when i add a new framework which contains it i can't run in Debug.
i move framework order to then font in "build phases -> link birnary" so that i can run in Debug
but when i run it in Release i get flowing error.
what should i do to deal with it
Code Block language 0 0x10542f9a4 __assert_rtn + 127 1 0x105434aed ld::tool::OutputFile::addressAndTarget(ld::Internal const&, ld::Fixup const*, ld::Atom const**) (.cold.1) + 0 2 0x105391411 ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 317 3 0x105392803 ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 2089 4 0x105397a45 ld::tool::OutputFile::writeAtoms(ld::Internal&, unsigned char*) + 359 5 0x10538f24c ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 846 6 0x10538795f ld::tool::OutputFile::write(ld::Internal&) + 189 7 0x1053107b3 main + 1239 A linker snapshot was created at: /tmp/com.shoujiduoduo.babysong-2020-06-08-153838.ld-snapshot ld: Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-556.6/src/ld/ld.hpp, line 1147. clang: error: linker command failed with exit code 1 (use -v to see invocation)