PDA

View Full Version : xcode, svn icons?




whitehexagon
Jun 16, 2009, 03:19 AM
xcode newbie...

Is there anyway to get some icons/flags against the Groups and files view so I can see at a glance which files need svn Add and which have been changed between commits? At the moment when I commit the project, then it complains some of the new files need to be added, then I have to try and track down which files are new.

Also being able to see which files have compile errors or warnings would be useful. At the moment I have to click through each file trying to find the issue, I'm sure I'm missing the right way to do this :)



JimBobBennett
Jun 16, 2009, 08:05 AM
Try clicking SCM>Refresh entire project.
I'm using svn and I get M next to modified files, ? next to new ones.
Also, check out the SCM smart folder, should contain all new and modified files.

dejo
Jun 16, 2009, 09:34 AM
Also being able to see which files have compile errors or warnings would be useful. At the moment I have to click through each file trying to find the issue, I'm sure I'm missing the right way to do this :)
You want to take advantage of the Build Results window, accessible via clicking the build status link in the bottom right corner of your project window, or Build > Build Results, or shift + cmd + b.

whitehexagon
Jun 16, 2009, 05:10 PM
perfect answers :) It's a lot easier working now. thanks!

PhoneyDeveloper
Jun 16, 2009, 09:57 PM
There are, or may be, some bugs in Xcode where the M next to your file doesn't appear. As mentioned above, SVN refresh may help make the M appear. Also, Get Info on a file may make it appear for that file, although you need to know that it should appear.

Maybe they'll fix this bug sometime.

whitehexagon
Jun 17, 2009, 02:58 AM
Yes I noticed a few bugs now with xcode, but it's by far not the worst IDE I've worked with, although I'm really missing alot of eclipse features right now. Although the svn support in xcode is alot easier to setup!

JimBobBennett
Jun 17, 2009, 03:20 AM
I must admit XCode is a bit flakey with SVN. On numerous occasions it fails to connect to my SVN server so I have to check stuff in using Versions.