unable to execute command:Segmentation fault:11

原文地址: unable to execute command:Segmentation fault:11

相关文章

  1. IOS开发Apple LLVM 5.1 Error错误解决办法- IOS开发Apple LLVM 5.1 Error错误解决办法

  2. error: unable to execute command: Segmentation fault: 11 解决办法- error: unable to execute command: Segmentation fault: 11 解决办法

在编译工程时提示如下错误

clang:error:unable to execute command:Segmentation fault:11
clang:error:clang frontend command failed due to signal(use -v see invocation)
Apple LLVM version 4.2(clang-425.0.24)(based on LLVM 3.2svn)
Target:i386-apple-darwin12.2.0
command /Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254

场景:进入ios虚拟机,然后在windows盘符下打开工程,报以上错误。

原因:虚拟机跟window共享盘符导致内存访问时冲突。

解决方法:把工程拖到虚拟机硬盘中,重新打开工程、编译。


我这里是虚拟机和windows系统里面的命名差不多没分清,导致虚拟机打开了系统里面的工程然后build的时候报了这个错

猜你喜欢

转载自blog.csdn.net/weixin_43149049/article/details/127414989
今日推荐