xcode无法执行“/usr/bin/svversion”

xcode无法执行“/usr/bin/svversion”,xcode,macos,Xcode,Macos,自从升级到Mac OS X Mountain Lion之后,/usr/bin/svversion就不见了。如何解决此错误 Can't exec "/usr/bin/svnversion": No such file or directory at /Users/realmasse/Library/Developer/Xcode/DerivedData/ExamGame-gvcepttntbnapmeeeyndutgfakbn/Build/Intermediates/ExamGame.build/

自从升级到Mac OS X Mountain Lion之后,/usr/bin/svversion就不见了。如何解决此错误

Can't exec "/usr/bin/svnversion": No such file or directory at /Users/realmasse/Library/Developer/Xcode/DerivedData/ExamGame-gvcepttntbnapmeeeyndutgfakbn/Build/Intermediates/ExamGame.build/Debug-iphonesimulator/HOE.build/Script-C428913C15B9011A0029ED43.sh line 16.
Use of uninitialized value $version in pattern match (m//) at /Users/realmasse/Library/Developer/Xcode/DerivedData/ExamGame-gvcepttntbnapmeeeyndutgfakbn/Build/Intermediates/ExamGame.build/Debug-iphonesimulator/HOE.build/Script-C428913C15B9011A0029ED43.sh line 29.
/Users/realmasse/Library/Developer/Xcode/DerivedData/ExamGame-gvcepttntbnapmeeeyndutgfakbn/Build/Intermediates/ExamGame.build/Debug-iphonesimulator/HOE.build/Script-C428913C15B9011A0029ED43.sh: No Subversion revision found at /Users/realmasse/Library/Developer/Xcode/DerivedData/ExamGame-gvcepttntbnapmeeeyndutgfakbn/Build/Intermediates/ExamGame.build/Debug-iphonesimulator/HOE.build/Script-C428913C15B9011A0029ED43.sh line 31.
Command /bin/sh failed with exit code 255
确保已将最新的Xcode版本4.5安装为/Applications/Xcode.app。 在Xcode的首选项中,转到下载,然后转到组件,并确保安装了命令行工具。 从命令行(例如在Terminal.app中)运行以下命令:xcode select-switch/Applications/xcode.app 确保已将最新的Xcode版本4.5安装为/Applications/Xcode.app。 在Xcode的首选项中,转到下载,然后转到组件,并确保安装了命令行工具。 从命令行(例如在Terminal.app中)运行以下命令:xcode select-switch/Applications/xcode.app
非常感谢。我正在安装命令行工具。我可以在终端中执行此命令吗?终端工具和命令行工具之间有什么区别?对不起,我是初学者。好的。我只安装了命令行工具。非常感谢:谢谢。我正在安装命令行工具。我可以在终端中执行此命令吗?终端工具和命令行工具之间有什么区别?对不起,我是初学者。好的。我只安装了命令行工具。谢谢: