leemony

Results comments of leemony

/usr/local/lib/node_modules/macaca-ios/node_modules/.1.0.22@xctestwd/lib/proxy.js 第13行: proxyPort: 8100, 改为: proxyPort: 8001, /usr/local/lib/node_modules/macaca-ios/node_modules/.1.0.22@xctestwd/lib/xctest-client.js 第157行: XCTESTWD_PORT=8001 改为 XCTESTWD_PORT=${this.proxyPort}

嗯我本地改过之后,可以运行了;之前报错跟你一样的

macaca-doctor version: 2.0.0 Node.js checklist: node env: /usr/local/bin/node node version: v7.6.0 iOS checklist: Xcode is installed at: `/Applications/Xcode.app/Contents/Developer` Xcode Command Line Tools is ready, version: 2347. xcodebuild version: 8.3.2 iproxy[usbmuxd]...

@bluesky12345 @Only7 macaca-ios 和macaca-cli 有重新安装至最新嘛,上面有贴我的环境,都更新到最新了(xctestwd 已更新到1.0.22)

@Only7 最新版本已经修正了那两处,不用再改了;如果你发现还能改,那你的环境还没有升级

@xudafeng macaca-ios已升级至最新,xctestwd版本1.3.4。运行到screenshot就socket hang up,然后xctestwd会自动重启。然后就运行失败了。这种问题目前只在8+上遇到了,iPhone 7(11.0.2) 没有这样的问题。截取日志如下: >> proxy.js:55:14 [master] pid:61950 Proxy: /wd/hub/session/e188a6d1-2dc2-493d-91ec-4c3d41cdcb0b/screenshot:GET to http://localhost:8001/wd/hub/session/490EB1B4-0454-4449-8956-BED4EF2234A4/screenshot:GET with body: >> xctest-client.js:190:18 [master] pid:61950 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/.1.3.4@xctestwd/XCTestWD/XCTestWD.xcodeproj >> proxy.js:63:22 [master] pid:61950 xctest client...

/usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj 进这个目录,确保WebDriverAgent.xcodeproj编译成功