Search code examples
iosswiftxcodexcode15

Xcode 15 build error: Assertion failed: (fixups().size() == 2), function initFixup, file Atom.cpp


I'm testing my current project with the Xcode 15 (beta 5) and I'm getting an error that I don't know if it's something new in the Xcode or just an error in the beta version:

Assertion failed: (fixups().size() == 2), function initFixup, file Atom.cpp, line 2021.
linker command failed with exit code 1 (use -v to see invocation)

I didn't find any other errors like that, any suggestion?

enter image description here


Solution

  • Xcode 15 Beta 5 uses a newer linker - you need to use the classic linker to circumvent this for now. See this:

    https://github.com/juliansteenbakker/mobile_scanner/issues/690#issuecomment-1636180178