Ran into a little issue today that I wanted to post about, if for no other reason than I wasted a lot of time searching for the answer.
I was working with Xcode 5.1.1 running on OS X Mountain Lion (10.8.3). Some of the other people on the project are running either 10.9 Mavericks or 10.10 Yosemite. When I tried to build a project I was presented with errors that ibtool failed with exit code 255
on the of the .xib files in the project. When I tried to open those files from within Xcode, it would crash.
These three files had been recently changed by a coworker.
I did find out that I could open the .xib files without causing Xcode to crash if I use the “Open As…” feature to open them as source code instead of in interface builder.
After much searching, I discovered that the xib’s had a new attribute in some of the xml. For some of the views and labels in the file, there was an attribute of appearanceType="aqua"
. Removing all instances of this attribute fixed the problem.
So, the long term fix is to upgrade my OS (in this case I am using a computer provided by the client, so we’ll see if that happens). In the interim, I can just keep removing this attribute when it appears.