Xcode不能啟動(dòng)Git和SVN的解決辦法

2014-10-02 09:59:49來源:獵聘網(wǎng)作者:愚人碼頭

系統(tǒng)自動(dòng)更新了XCode后,竟然發(fā)現(xiàn)我的IntelliJ IDEA下的 SVN 啟動(dòng)不了了,提示:“Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo”;

系統(tǒng)自動(dòng)更新了XCode后,竟然發(fā)現(xiàn)我的IntelliJ IDEA下的 SVN 啟動(dòng)不了了,提示:“Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo”;

網(wǎng)上搜索了一下,解決方案:

在命令行工具中執(zhí)行:

sudo xcodebuild -license

然后同意條款;

重啟Xcode,搞定!

關(guān)鍵詞:XcodeGit