How to fix “ibtool failed with exit code 255”

I got this error message recently on a project that worked fine when I tried last (WordPress for iOS). The error didn’t make any sense, and no matter what I tried the app wouldn’t compile anymore, always stopping with the following error message:


/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255

I can imagine Xcode gets confused at times, as I currently have Xcode 4.6.3 and Xcode 5.0 installed, and I use them both (though not at the same time).

A quick Google search reveals a few possibilities to clear this up:

  • clean the app (Product – Clean)
  • restart Xcode
  • reboot your system

The latter point worked for me. Threads dealing with the same problem:





Jay is the CEO and founder of WP Hosting, a boutique style managed WordPress hosting and support service. He has been working with Plesk since version 9 and is a qualified Parallels Automation Professional. In his spare time he likes to develop iOS apps and WordPress plugins, or draw on tablet devices. He blogs about his coding journey at http://wpguru.co.uk and http://pinkstone.co.uk.