Put quotes around path.  By default, Xcode side by side installs of 5 & 6 put 6 in 'Xcode 2.app'.