Mac OS free XML Editor

Found a really useful XML editor that runs on the Mac, XML Spear

SVN, pbxuser and Xcode

UPDATE: unfortunately this only works for new projects!

Recently needed to change the way svn dealt with pbxuser files, found the following article that shows you how to tell svn to ignore certain files, but before I could do anything I had to be able to see the “hidden” svn folder where this article came in handy!

I’ve copied the crucial snippets here so that I don’t lose them….

Show hidden files

From Terminal run the following command…

defaults write com.apple.Finder AppleShowAllFiles YES

Then you need to get Finder to relaunch, hold down the option key and click the Finder icon in the Dock, then select Relaunch

Now when you look at folders any hidden ones are visible, including the important .svn

SVN Ignore files

Step 1. Open the subversion configuration file
~/.subversion/config
NOTE: If the “.subversion” directory doesn’t exist yet then run this command which fails but will create the necessary files to get you started:
svn status

Step 2. Enable “global-ignores” and add new things to ignore
Find the line that contains the text “global-ignores” and append the following text:
build *~.nib *.so *.pbxuser *.mode* *.perspective*

Step 3. Enable “auto-properties”
Located and uncomment (e.g. remove the leading “#” character) the line that looks like this:
# enable-auto-props = yes

Step 4. Add additional properties
Then go to the end of the file, in the [auto-props] section, and append these lines:
*.mode* = svn:mime-type=text/X-xcode
*.pbxuser = svn:mime-type=text/X-xcode
*.perspective* = svn:mime-type=text/X-xcode
*.pbxproj = svn:mime-type=text/X-xcode