Search code examples
iphonexcodexcode4xibxcodebuild

Xcode crashes on opening xib files


I have problems with xcode and can't open xib files. Everytime I click on the xib file, xcode crashes. This happens on the xcode3.2 as well as the xcode4.

Is there anything I can do to it? I have un-installed and re-installed but still not working.

Any help would really be appreciable.

If it helps, I am using xcode4 and bought it from the app store.


Solution

  • The solution to this problem was to re-install my operating system. Basically, I had to re-install Lion and after that everything worked fine. I think the problem had something to do with some library files that were missing.

    NOTE: If you have this problem then re-installing your OS might not be the only solution as easier solutions may present themselves. Some of the answers on this question could be of help and in other cases, a simple google or stackoverflow search could be of great aid. You could also try the Xcode mailing list. I would advice resorting to re-installing your OS only if you have tried 'everything' and no one is able to help, hence your plan-Z.