Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix ibtool failed with exit code 255

I have never encountered this problem before. The application used to run perfectly but now it always says this error. I have tried cleaning and rebooting. I have tried resetting IOS Simulator. I have tried deleting derived data.

This is what it says:

CompileStoryboard YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard
cd /Users/DJ/Desktop/YoungstersTennisApp
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 6.0 --output-format human-readable-text --compile /Users/DJ/Library/Developer/Xcode/DerivedData/YoungstersTennisApp-ftehnuqeslbyekfiszajlixujbqk/Build/Products/Debug-iphonesimulator/YoungstersTennisApp.app/Base.lproj/Main_iPhone.storyboardc /Users/DJ/Desktop/YoungstersTennisApp/YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard

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

Any help for this would be great. I also have quite a large storyboard. Does that matter?

Thanks in advance!

like image 321
user2947604 Avatar asked Dec 17 '13 08:12

user2947604


3 Answers

I had the same issue with XCode 6 and iOS 8.

Just a XIB was giving me errors when I tried to compile.

I've tried to clean the project and the problem persisted.

Then I've opened the view that was giving me problems, I've saved again (WITHOUT CHANGING ANYTHING AT ALL) and... voila! My app up and running. XCode is satanic :)

like image 76
iVela Avatar answered Nov 16 '22 09:11

iVela


I also had this issue, after upgrade xCode to version 7.0 beta 6.

My way as below:

  1. Delete the "DerivedData" folder

  2. Rebuild the project (it will create new "DerivedData" folder )

Hope it will help to someone...

like image 7
米米米 Avatar answered Nov 16 '22 09:11

米米米


Cleaning ang re-building project solved the problem for me (xcode 5)

Shift - cmd - K 
cmd - K
like image 5
Nikita Took Avatar answered Nov 16 '22 10:11

Nikita Took