xcode 7.2 clang: error: unable to execute command:

2019-07-18 02:17发布

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

标签: xcode7.2
2条回答
爷、活的狠高调
2楼-- · 2019-07-18 03:15

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

查看更多
Summer. ? 凉城
3楼-- · 2019-07-18 03:18

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.

查看更多
登录 后发表回答