unable to execute command:Segmentation fault:11

来源:互联网 发布:经传软件指标 编辑:程序博客网 时间:2024/05/16 07:14
在编译工程时提示如下错误:
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共享盘符导致内存访问时冲突。

解决方法:把工程拖到虚拟机硬盘中,重新打开工程、编译。
0 0
原创粉丝点击