Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Clang Bus error 10

Tags:

xcode

llvm

clang

When I am trying to build my code on Xcode, I am getting

clang: error: unable to execute command: Bus error: 10
clang: error: linker command failed due to signal (use -v to see invocation)

Anyone knows why? The code builds fine on my colleague's machine. Just not on mine. I empied DerivedData several times, no use.

like image 348
dudeking Avatar asked Feb 21 '13 16:02

dudeking


1 Answers

Did you try to remove your all projects Derived data folders, in your case it'll here: /Users/User_Name/Library/Developer/Xcode/DerivedData/. remove all project's folder [No worries, its safe] and do a Product > Clean your projects from Xcode menu.

I try, it is successful!

like image 121
thuongnm Avatar answered Oct 03 '22 20:10

thuongnm