Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What causes "clang failed with exit code 255" in Xcode IDE?

Tags:

xcode

ios

Other users have asked about "clang exit code 255" before, such as in this post:

Xcode not compiling any project? 'clang failed with exit code 255'

I know how to fix the error. This usually does it:

  • Clean the project
  • Go to 'Window > Organizer > Project > Delete Derived Data'
  • Restart Xcode
  • Fixed, like magic...

However, I don't know what causes it, and lately, it's been happening a lot (which is frustrating because it's time consuming).

Anyone know what causes this error and how to prevent it from happening?

like image 284
JRG-Developer Avatar asked Jan 03 '13 00:01

JRG-Developer


1 Answers

Closing and restarting the simulator usually clears this error.

like image 88
David Elliman Avatar answered Sep 28 '22 00:09

David Elliman