2

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 Answers2

5

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

strangetimes
  • 4,953
  • 1
  • 34
  • 62
1

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

Anonymous
  • 11
  • 3