Closed Mrdorom closed 4 years ago
This is the translated issue:
Macaca Version : 2.2.0
Macaca Doctor Logs : macaca-doctor version: 2.0.18
Node.js checklist:
node env: / usr / local / bin / node node version: v13.8.0
iOS checklist:
macOS version: 10.14.6
Xcode Command Line Tools is ready, version: 2354.
xcodebuild version: 11.3.1
iproxy [usbmuxd] is installed at: / usr / local / bin / iproxy
ios_webkit_debug_proxy is installed at: / usr / local / bin / ios_webkit_debug_proxy
Android checklist:
JAVA version is 1.8
JAVA_HOME is set to / Library / Java / JavaVirtualMachines / jdk1.8.0_241.jdk / Contents / Home
ANDROID_HOME is set to / Users / dorom / software / android-sdk-macosx
Platforms is set to / Users / dorom / software / android-sdk-macosx / platforms / android-29
ADB tool is set to / Users / dorom / software / android-sdk-macosx / platform-tools / adb
gradle is installed, version: 6.1
Installed driver list:
ios: 2.0.36 location: / usr / local / lib / node_modules / macaca-ios
Operate System : Darwin DoromdeMacBook-Air.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root: xnu-4903.271.2 ~ 2 / RELEASE_X86_64 x86_64
Programming Language :
app-inspector --verbose -u 72e549243ff0c6861ca4d1acf0156d855d6ee127
Log:
server.js: 16: 12 [master] pid: 13701 server start with config: { port: 5678, verbose: true, udid: '72e549243ff0c6861ca4d1acf0156d855d6ee127', ip: '192.168.31.227', host: 'DoromdeMacBook-Air.local', loaded_time: '2020-02-20 11:06:34' } app-inspector.js: 45: 12 [master] pid: 13701 server start at: http://192.168.31.227:5678 process.env.MACACA_XCTESTWD_ROOT_PATH undefined xctest-client.js: 56: 14 [master] pid: 13701 project path: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 283: 14 [master] pid: 13701 xcode version: 11.3.1 XCTestWD version: 1.4.22 xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 227: 20 [master] pid: 13701 hitted for default mode xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctestwd start with port: 8001 proxy.js: 55: 14 [master] pid: 13701 Proxy: / wd / hub / session: POST to http://127.0.0.1:8001/wd/hub/session:POST with body: { "desiredCapabilities" : {}} proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001 xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj helper.js: 20: 18 [master] pid: 13701 retrying ... (10 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (9 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (8 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (7 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (6 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (5 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET helper.js: 20: 18 [master] pid: 13701 retrying ... (4 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: read ECONNRESET xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 230: 20 [master] pid: 13701 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 322: 14 [master] pid: 13701 killing runnerProc pid: 13704 xctest-client.js: 328: 14 [master] pid: 13701 killing iproxyProc pid: 13872 xctest-client.js: 242: 16 [master] pid: 13701 xctest client exit with code: 65, signal: null xctest-client.js: 272: 14 [master] pid: 13701 iproxy exit with code: null, signal: SIGKILL helper.js: 20: 18 [master] pid: 13701 retrying ... (3 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001 helper.js: 20: 18 [master] pid: 13701 retrying ... (2 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001 helper.js: 20: 18 [master] pid: 13701 retrying ... (1 retries left) proxy.js: 63: 22 [master] pid: 13701 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8001 xctest-client.js: 309: 14 [master] pid: 13701 Fail to start xctest: Error: connect ECONNREFUSED 127.0.0.1:8001
With the app-inspector comes XCTestWD
Path: / usr / local / lib / node_modules / app-inspector / node_modules / xctestwd / XCTestWD XCTestWD.xcodeproj has a signature on xcode On the phone has been successfully installed XCTestWD
@Mrdorom please try to reinstall app-inspector and see if you still have issues.
Macaca Version:2.2.0
Macaca Doctor Logs:
Operate System: Darwin DoromdeMacBook-Air.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
Programming Language:
app-inspector --verbose -u 72e549243ff0c6861ca4d1acf0156d855d6ee127
日志:
用的是 app-inspector 自带的 XCTestWD
路径:/usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD XCTestWD.xcodeproj 已经在xcode 上签名了 手机上已经成功安装 XCTestWD 了