Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

document is not under source control and nib shows as xml text

since yesterday I´m getting "document is not under source control" when clicking on a nib file in the navigator. And instead of the graphical presentation I see xml.

I´ve been using the current version 4.3.2 (4E2002) since March 21st 2012. But this error came up first yesterday night. Restarting and cleaning the project didn´t help and restarting the mac didn´t help either. When switching to another project, I don´t have that problem. I´m not aware that I changed any preferences.

Any clues what´s wrong?

Greetings from Switzerland, Ronald Hofmann

Solution

I found what was wrong: 'Show the version editor' was turned on. When turning it off the error is gone. enter image description here Ronald

like image 354
Ronald Hofmann Avatar asked Nov 14 '22 06:11

Ronald Hofmann


1 Answers

Try control-clicking on the nib file in the navigator and then go to "Open-As" and select Interface Builder - iOS. That should clear up your problem with it displaying as XML.

As far as it being under source control, is your project as a whole under source control? If so, what are you using?

like image 115
Mike Z Avatar answered Jan 04 '23 06:01

Mike Z