views:

13

answers:

1

I got a code from a client to fix the bug (code was written by some other programmer), So when I open the xib file it simply hang my computer, i restarted my computer 3 times because of that and finally decided to see what's happening by opening the Activity Monitor and it turn out it is opening something with name "Interface Builder Cocoa Touch tool" and its eating all of my computer memory. Below is the screenshot.

alt text

But here is the interesting thing, it is not opening "Interface Builder Cocoa Touch tool" when open "xib" files from other projects, and i can't say anything about this project because this project has only one "nib" file.

But if kill that process, it open the nib file but an error start firing on me after every 10 sec. Below is the screen shot.

alt text

Note: App was written initially for ios 2.0 version and we are trying to move the project to ios 4.0. Is this thing has anything to do with this?

+2  A: 

The best course of action here is to create a bug report at http://bugreport.apple.com/, uploading your broken nib file as an enclosure. That doesn't get you working again, so try one of these:

  • see if you can convince ibtool to write a working file, perhaps by doing some refactoring like changing one of the classes used then changing it back
  • find out whether the client is on the same version of Xcode: if theirs is newer, upgrade
  • use xmllint to see whether the xib is valid XML, and if not whether you can fix it in a text editor
  • recreate the xib from scratch if it isn't too complicated
Graham Lee