Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert NIB to XIB without Interface Builder

Tags:

xcode4

nib

I've upgraded to XCode 4 and because IB is now inside none of my old NIB files will open getting a "An instance of ASKNibConnector could not be decoded" error. Is there a way to convert NIBs to XIBs without interface builder? or do you have to do something like reinstall 3, convert the nibs and reinstall 4?

like image 777
Viking Avatar asked Apr 07 '11 13:04

Viking


1 Answers

To convert your nib to xib format, use the command line tool ibtool like this:

ibtool foo.nib --upgrade --write foo.xib

Or use this gist to find all your nibs and convert them: https://gist.github.com/254161

like image 66
ThomasW Avatar answered Oct 23 '22 02:10

ThomasW