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 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...