Ionut Sebastian
Ionut Sebastian

Reputation: 71

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

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

Upvotes: 2

Views: 3802

Answers (2)

Ionut Sebastian
Ionut Sebastian

Reputation: 71

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

Upvotes: 5

Ewan Mellor
Ewan Mellor

Reputation: 6847

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.

Upvotes: 1

Related Questions