當Xcode服務機器人嘗試執行啓用run unit tests
的生成時,生成將始終失敗。當我看到日誌文件,同樣的錯誤重複多次:運行單元測試時啓用Xcode服務(小牛)錯誤
xcsbuildd[1966] <Warning>: [XCSBuildOperation.m:106 7368f310 +2126ms] Preflight connection to /var/XCSControl/com.apple.XCSTestUserPreflightService failed; retrying: No such file or directory
其次是這些錯誤消息的幾行後:
xcsbuildd[1966] <Error>: [XCSBuildOperation.m:102 7368f310 +2104ms] Timed out trying to connect to CG Session; giving up after 60 seconds
xcsbuildd[1966] <Error>: [XCSOperation.m:33 7368f310 +0ms] Error Domain=XCSBuildServiceDomain Code=0 "Cancelled integration because headless test environment is required but not available after 60s" UserInfo=0x7fa952571bd0 {NSLocalizedDescription=Cancelled integration because headless test environment is required but not available after 60s}
xcsbuildd[1966] <Debug>: [XCSOperation.m:28 7368f310 +0ms] Cancelling operation: XCSBuildOperation
我已經打了這個磚牆,和找不到任何東西。
有沒有人有這個問題,並找到了解決辦法?
我有完全相同的問題 - 它曾經工作得很好,但從昨天起它突然停滯不前。也許是與最新的Xcode/OS X服務器更新有關的錯誤? – Katlu
我從一開始就遇到過這個問題。不過,我確實從Mountain Lion Server升級到Mavericks Server。 –
您是否重新安裝Xcode? – bicho