app打包时报错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)

解决办法 把Architectures的debug改为NO就可以

app打包时报错unable to execute command: Segmentation fault: 11_第1张图片



如果以上方法不行,请试以下方法:

app打包时报错unable to execute command: Segmentation fault: 11_第2张图片

将enable bitcode改成No就可以了,原因的话可能是第三方的库不兼容,工程中开启了ENABLE_BITCODE(应该是升级之后自动转换的),而这个第三方的库在编译的时候没有 enable bitcode,所以导致上诉问题。(

你可能感兴趣的:(app打包时报错unable to execute command: Segmentation fault: 11)