我一直在研究使用 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(这是该服务器上可用的最新版本)。
以前有人见过这个并解决了吗?
这个问题 https://stackoverflow.com/questions/32106759/xcode-bot-fails-with-no-activity-for-too-long-error哪个链接到这个问题 https://stackoverflow.com/questions/20205162/user-interaction-is-not-allowed-trying-to-sign-an-osx-app-using-codesign/22637896#22637896声称有解决方案,但可惜的是,它们没有帮助,而且设置似乎略有不同。所以是的,钥匙串已解锁并可用于 Xcode 服务器,并且服务器已重新启动。
我的机器人似乎每次都会遇到这个错误。尝试了重启、钥匙串解锁、更改模拟器设备。
创建一个新的机器人,其配置与我的旧机器人完全相同!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)