Reputation: 183
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!
Upvotes: 17
Views: 26949
Reputation: 111
I solved this in xcode 9 by unchecking and checking "Use Trait Variations" in storyboard File inspector.
xcode 🙃
Upvotes: 1
Reputation: 464
On Xcode 9 getting error while building for archive: What worked for me was to clean my project, and then build for a simulator device, and then try to build for archive again. Xcode is rather temperamental sometimes...
Upvotes: 1
Reputation: 1342
I had this issue after with xcode 8.2 after deleting one of my view controllers. to fix it I just cleaned my build folder and it worked again
to clean build folder:
or
Upvotes: 1
Reputation: 990
I also had this issue, after upgrade xCode to version 7.0 beta 6.
My way as below:
Delete the "DerivedData" folder
Rebuild the project (it will create new "DerivedData" folder )
Hope it will help to someone...
Upvotes: 7
Reputation: 2383
I also had this issue, after a big merge, and when i click on the .xib the xCode getting quit. Maybe you left some of the old Code, check the id of the view, also the id with problem is shown in the detail screen of the error message when xcode Quit so:
Hope it will help, Constantin
Upvotes: 1
Reputation: 1201
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 :)
Upvotes: 13
Reputation: 512
Cleaning project, cleaning build folder and restarting xcode solved the issue for me.
Upvotes: 3
Reputation: 1263
I got the same error I could not find exact solution for that. After some time I realised my problem. My project files are AppDelegate.h
AppDelegate.m
LoginViewcontroller.h
LoginViewXontroller.m
LoginViewController.xib
I have added one new storyboard file. And I changed label and button connections from nib(.xib) file to storyboard file. After that I got this error.
I removed connections from storyboard and added connections to .xib file again. clean and build that's it my problem is solved. I hope it will helpful to someone..
Upvotes: 0
Reputation: 4012
Cleaning ang re-building project solved the problem for me (xcode 5)
Shift - cmd - K
cmd - K
Upvotes: 5
Reputation: 21476
I ended up with this issue by having a UITableView
with static cells
that wasn't in a UITableViewController
, but instead had a subclass of a UIViewController
. Changing my subclass to instead inherit from UITableViewController
fixed the problem.
Upvotes: 4