ios – Jenkins – xcodebuild连接对等体拒绝dtxproxy的拒绝通道请求:XCTestManager_IDEInterface

我试图运行一个 xcodebuild命令使用Jenkins定期构建我的代码.jenkins吐出的错误信息是:

14:18:25.993 xcodebuild[24225:349241] Connection peer refused channel
request for
“dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”;
channel canceled
14:18:25 Testing
failed:
14:18:25 Test target PROJECT_NAME encountered an error
(Invalid device state If you believe this error represents a bug,
please attach the log file at
/var/folders/hp/3m4jx3514dq4lf1l9s8hk5qh00009c/T/com.apple.dt.XCTest-status/Session-2015-08-05_14:18:22-ulOdQQ.log)
14:18:25 ** TEST FAILED **

我的问题是这个错误是怎么解决的?当xcode build命令在命令行中运行时,我收到相同的错误.我正在使用Xcode 6,而我正在运行的命令是:

xcodebuild -workspace PROJECT_NAME.xcworkspace -scheme ‘Scheme Name’
-destination ‘platform=iOS Simulator,name=iPad Air,OS=8.1’ clean build test

解决方法

虽然摆放着下面的项目,我终于有了几个成功的构建.我还不知道根本原因.互联网似乎也没有.

>将“clean build”添加到命令行选项(如上所述)
>杀死模拟器在命令之前 – 建议在这里:(Instruments error: Connection peer refused channel request)

killall“模拟器”||回覆“没有发现属于你的匹配过程”

以上是来客网为你收集整理的ios – Jenkins – xcodebuild连接对等体拒绝dtxproxy的拒绝通道请求:XCTestManager_IDEInterface全部内容,希望文章能够帮你解决ios – Jenkins – xcodebuild连接对等体拒绝dtxproxy的拒绝通道请求:XCTestManager_IDEInterface所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。