Xcode bot失败,"没有活动太长时间"错误

Evg*_*nii 18 xcode xcode-bots xcode-server

我的Xcode bot集成失败,出现以下错误.

断言:运行任务已终止,因为它没有产生太长时间的活动.

从日志的底部:

Sampling completed, processing symbols...

Sample analysis of process 4470 written to file /Library/Developer/XcodeServer/Integrations/Integration-ef7a2c98cd2307fc71923f1123ea23f7/4470.sample

sample[5774]: 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[5775]: sample cannot find any existing process you have access to which has a name like 'ibtool'; try running with `sudo`.

sample[5776]: sample cannot find any existing process you have access to which has a name like 'ibtoold'; try running with `sudo`.

** BUILD INTERRUPTED **
Run Code Online (Sandbox Code Playgroud)

有趣的是,这些集成在前一天工作,并且在没有任何已知的服务器配置更改的情况下开始失败.有没有办法解决这些错误并使集成运行?

OS X 10.11(15A244d),Xcode 7.0(7A176x),OS X Server 4.1.56(15S2186i)

Gen*_*man 7

当我们今天遇到同样的问题时,这对我们起了作用:

/sf/answers/1584652751/

  • 这是代码签名的问题.它真的是OP的问题吗?我的集成无法完成对bot的测试(它们在本地工作正常),并且我在原始日志中得到完全相同的消息. (3认同)
  • 只是一个试图使用此修复程序的人(这对我也有效).如果您尝试通过vnc/teamviewer等执行这些步骤,它将无法正常工作.您必须使用直接连接到构建服务器的鼠标和键盘.它显然与此补丁https://support.apple.com/en-us/HT205375有关,位于SecurityAgent的底部.描述:应用程序存在一种方法,用于在钥匙串提示上创建合成点击.通过禁用钥匙串访问窗口的合成点击来解决这个问题 (2认同)