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

爱⌒轻易说出口 提交于 2020-01-04 05:20:12

问题


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.



来源:https://stackoverflow.com/questions/36267954/xcode-7-2-clang-error-unable-to-execute-command-segmentation-fault-11

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!