Xcode26 Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196
Xcode26 Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196
https://developer.apple.com/forums/thread/788064
I set other linker Flags -Xlinker,-dead_strip,-Xlinker,-allow_dead_duplicates。
still cause error Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196. clang++
Have you solved this problem? I've encountered it too
so am i.
Had the same problem Xcode 26.0.1, Unity 6000.2.6f2. Searched the forums and tried couple of methods, finally the following worked.
- Min version to 16.0
- Other Linker Flags in target Build, removed -ld64.
- Other Linker Flags in UnityFramework Build, removed -ld64. Kept the rest of the flags.
- Clean build, cleaned Derived Data.
Compiled and it worked. Hope it will be the same for you.