Macaca iOS 模拟器,刚开始运行用例时,macaca server 端报错。求大神回复。前一秒还好端端的在用,然后就报错了。一般都是在刚开始执行一个用例时就会出现问题。并且,环境配置等都没做改动,自己就会好。然后会又出现问题。。。不稳定,求回复

helen · 2017年07月21日 · 最后由 Samuel.ZhaoY 回复于 2017年07月30日 · 1655 次阅读

xctest-client.js:173:14 [master] pid:28993 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:28993 2017-07-21 16:54:41.423 xcodebuild[29083:519891] Error Domain=IDETestOperationsObserverErrorDomain Code=4 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/zuohongxia/Library/Developer/Xcode/DerivedData/XCTestWD-csksfttfbygcrbamoobfasiylmgb/Logs/Test/EF25D6D3-3776-4F23-A25B-C6D6537C4D99/Session-XCTestWDUITests-2017-07-21_165441-qNozaC.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/zuohongxia/Library/Developer/Xcode/DerivedData/XCTestWD-csksfttfbygcrbamoobfasiylmgb/Logs/Test/EF25D6D3-3776-4F23-A25B-C6D6537C4D99/Session-XCTestWDUITests-2017-07-21_165441-qNozaC.log}

xctest-client.js:173:14 [master] pid:28993 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:28993 2017-07-21 16:54:41.425 xcodebuild[29083:519935] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled

xctest-client.js:173:14 [master] pid:28993 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:172:14 [master] pid:28993
Testing failed:
Command /bin/sh failed with exit code 127
** TEST FAILED **

The following build commands failed:
PhaseScriptExecution Run\ Script /Users/zuohongxia/Library/Developer/Xcode/DerivedData/XCTestWD-csksfttfbygcrbamoobfasiylmgb/Build/Intermediates/XCTestWD.build/Debug-iphonesimulator/XCTestWDUITests.build/Script-7FA43F311F0CB57400FB2332.sh
(1 failure)

xctest-client.js:173:14 [master] pid:28993 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
xctest-client.js:255:14 [master] pid:28993 killing deviceLogProc pid: 29084
xctest-client.js:260:14 [master] pid:28993 killing runnerProc pid: 29083
xctest-client.js:183:14 [master] pid:28993 xctest client exit with code: 65, signal: null
xctest-client.js:108:18 [master] pid:28993 simulator log process exit with code: null, signal: SIGKILL

共收到 1 条回复 时间 点赞

启动程序时,脚本出问题了,https://github.com/macacajs/XCTestWD 看下这个里面,试一下在 node 安装路径下命令行运行 XCTestWD 启动

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册