AppOrderFiles icon indicating copy to clipboard operation
AppOrderFiles copied to clipboard

导入生成的order file 会报错

Open LeoLeeCN opened this issue 6 years ago • 4 comments

0 0x1049eb198 __assert_rtn + 127 1 0x1049f4f04 ld::passes::order::Layout::buildFollowOnTables() (.cold.5) + 0 2 0x1049c1de7 ld::passes::order::Layout::buildFollowOnTables() + 2209 3 0x1049c27c5 ld::passes::order::Layout::doPass() + 23 4 0x1049c28cd ld::passes::order::doPass(Options const&, ld::Internal&) + 151 5 0x1048ce113 main + 1001 6 0x7fff71a432e5 start + 1 ld: Assertion failed: (_followOnNexts.count(atom) == 0), function buildFollowOnTables, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-520/src/ld/passes/order.cpp, line 411. clang: error: linker command failed with exit code 1 (use -v to see invocation)

LeoLeeCN avatar Dec 03 '19 07:12 LeoLeeCN

有解决么,遇到了同样的问题,求解!!!

hustXueD avatar Mar 18 '20 09:03 hustXueD

+1

hongruqi avatar Apr 09 '20 13:04 hongruqi

出现此错误应该是因为工程中包含了不支持重排的库,我们的项目是因为包含了 PLCrashReporter 这个库而导致这个问题,去掉就好了

hustXueD avatar Apr 17 '20 07:04 hustXueD

In Target's Build Settings -> Other Linker Flags, add two flag: -Xlinker -no_objc_category_merging

https://forums.developer.apple.com/message/420090#420090

wangzhizhou avatar May 14 '20 05:05 wangzhizhou