Linking UnitTestRunner/Release on MacOS fails with Xcode

Does anyone have success compiling the UnitTestRunner as Release build (via build for profiling) with Xcode? (using latest Juce 6)

The ld-process for x64 grows up to the monstrous size of 32GB(!) and finally quits with this error

LLVM ERROR: SmallVector unable to grow. Requested capacity (4294967296) is larger than maximum value for size type (4294967295)

clang: error: unable to execute command: Abort trap: 6

clang: error: linker command failed due to signal (use -v to see invocation)

but compiling the debug version works

Sounds like this:

1 Like