簡體   English   中英

Xcode Server ibtool構建失敗

[英]Xcode Server ibtool Build Failures

我一直在調查使用Xcode Server進行CI。 我已經解決了一些問題,但現在有一個困擾我的問題。

構建似乎工作正常,但在測試階段掛起,並在日志的底部生成:

2015-11-25 14:44:45.650 xcodebuild[58280:821560]  iPhoneSimulator: D7097422-C058-44DB-A275-CE1A44B11023: Executable terminated at path: /Applications/Xcode7.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest (status = 6)
Sampling process 58280 for 10 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 58280 written to file /Library/Developer/XcodeServer/Integrations/Integration-269b1638e732255aefa82f1688077c72/58280.sample
sample[59879]: sample cannot find any existing process you have access to which has a name like 'Interface Builder Cocoa Touch Tool'; try running with `sudo`.
sample[59880]: sample cannot find any existing process you have access to which has a name like 'ibtool'; try running with `sudo`.
sample[59881]: sample cannot find any existing process you have access to which has a name like 'ibtoold'; try running with `sudo`.
** BUILD INTERRUPTED **

服務器正在運行OS X 10.10.5(暫時無法升級到El Capitan),OS X Server 5.5.15和許多Xcode版本,但已選擇Xcode 7.1(這是該服務器上可用的最新版本)。

有沒有人見過這個並解決了它?

這個問題可鏈接到這個問題,自稱有一個解決方案,但很可惜,他們也沒有什么幫助,似乎有稍微不同的設置。 所以是的,鑰匙串已解鎖並可供Xcode Server使用,服務器已重新啟動。

我的機器人似乎也每次都遇到這個錯誤。 嘗試重新啟動,鑰匙串解鎖,更改模擬器設備。

創建一個與我原來的配置完全相同的新機器人!

  1. 嘗試重置模擬器:模擬器 - >“重置內容和設置”
  2. 請參閱測試目標X遇到錯誤(早期意外退出,操作從未完成引導 - 將不會嘗試重新啟動

1和2的組合以及服務器重啟為我清除了問題。

  1. 清理您的構建文件夾。 (使用shift + alt + command + k)。
  2. 清理您的項目。 (使用shift + command + k)。

然后構建您的項目。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM