升级到Mac OS X Mountain Lion后," / usr / bin / svnversion"已经失踪了。如何解决此错误?
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
答案 0 :(得分:1)
/Applications/Xcode.app
。xcode-select --switch /Applications/Xcode.app