When I am building my project with Xcode 26, I am getting following error:
ld: Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196. clang: error: linker command failed with exit code 1 (use -v to see invocation).
If I remove -ld64 then this Error gets resolved but I got following error:
Assertion failed: ((ct == Atom::ContentType::objcConst) || (ct == Atom::ContentType::objcData) || (ct == Atom::ContentType::constData) || (ct == Atom::ContentType::constText)), function ObjCClassReadOnlyDataRef, file Atom.cpp, line 3292.
I have tried https://cloud.tencent.com/developer/article/2557391 however didn't resolve the issue.
There are multiple threads around the same issues on Apple Developer Form, https://developer.apple.com/forums/thread/788064 https://developer.apple.com/forums/thread/788064?answerId=851712022#851712022
However none has resolved the problem so far.
What helped me: removing ‘-ld64’ and ‘-ld_classic’ from OTHER_LDFLAGS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With