Linker error on Xcode 11.3 (latest TA v4.4.1.0)Answered

The Mac static library version of TurboActivate v4.4.1.0 doesn't seem to work on Xcode 11.3. My guess is that it's because it contains the ARM64 version. The error message is:

ld: in ../libTurboActivate.a(TurboActivate.o), could not parse object file ../libTurboActivate.a(TurboActivate.o): 'Invalid bitcode version (Producer: '1200.0.32.28.0_0' Reader: '1100.0.33.16_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.16)' for architecture x86_64

The older TA version v4.3.3.0 worked fine with the same project/build settings. Could you perhaps provide a version of TA v4.4.1.0 which works on Xcode 11?

Thank you!

Hi,

I'm having the same issue (for other reasons…), here Wyatt's answer:

https://wyday.com/forum/t/4920/ta-for-macos/

++

Thank you, but the problem persists even when extracting only the x86_64 version (same linker error about invalid bitcode version).

Answer

Update XCode or use the dynamic version of TurboActivate / TurboFloat.

You can target old macOS on the newer XCode, so that shouldn't be a worry. Also, it's free.