xcode 7.2 clang: error: unable to execute command:

2019-07-18 02:22发布

问题:

clang: error: unable to execute command: Segmentation fault: 11 clang: error: linker command failed due to signal (use -v to see invocation)

I am getting an error when archiving a binary.

Please help

回答1:

google analytics doesn't support bitcode so I ended up with disabling bitcode in settings to get rid of this error



回答2:

Your compiler is crashing. Click on the error, it will take you to the full log; sometimes there is more info there.

If this is Swift then it was happening to me a lot when making mistakes with blocks (e.g. missing a return or returning the wrong type). But it could be anything. You have to figure out what is causing the crash.

Also, upgrade to Xcode 7.3; maybe it is fixed there. You need to anyway if you're going to submit that app.



标签: xcode7.2