Linker crash

Hello,


I'm building an SDK for iOS using a few different 3rd party libraries. When building an .ipa using my static library the linker will crash. I'm using XCode 11.1 but we've seen this behavior with an earlier version of XCode as well (10.x).


The build output looks like this:

Ld (very long command with lots of libraries...)

clang: error: unable to execute command: Segmentation fault: 11

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


We've not been able to determine what is causing the linker to crash. Oddly, building our SDK static library works fine and we only get this problem when we build an .ipa of an application that links with our static library.


I would appreciate any help or tips.