skip to Main Content

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

2

Answers


  1. 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

    Login or Signup to reply.
  2. Worked for me (SwiftPM firebase):

    A workaround for now would be to use the classic linker by including -ld64 in the ‘Other Linker Flags’ build settings in Xcode.

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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search