macacajs / app-inspector

App-inspector is a mobile UI viewer in browser.
https://macacajs.github.io/app-inspector/
MIT License
389 stars 78 forks source link

inspector doesn't start, it gets stuck at XCTestWD version. #261

Open ankurgollen opened 3 years ago

ankurgollen commented 3 years ago

I'm trying to start the app inspector but it doesn't get to the point of starting the inspector. Attaching logs. I'm only using this for my iOS simulator for a native iOS app so can ignore the Android checklist. and it was working fine before so "ios_webkit_debug_proxy is uninstalled" shouldn't be an issue

Environment check:

$ npm i macaca-cli -g && macaca doctor
macaca-doctor version: 2.0.18

  Node.js checklist:

  node env: /usr/local/bin/node
  node version: v14.16.0

  iOS checklist:

  macOS version: 11.5.2
  Xcode Command Line Tools is ready, version: 2384.
  xcodebuild version: 12.5.1
  iproxy[usbmuxd] is installed at: `/usr/local/bin/iproxy`
  Command Line Tools: ios_webkit_debug_proxy is uninstalled

  Android checklist:

  JAVA version is `1.8`
  JAVA_HOME is set to `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home`
  ANDROID_HOME is set to `/Users/ankurgollen/Library/Android/sdk`
  Platforms is set to `/Users/ankurgollen/Library/Android/sdk/platforms/android-30`
  ADB tool is set to `/Users/ankurgollen/Library/Android/sdk/platform-tools/adb`
  Command Line Tools: gradle is uninstalled

  Installed driver list:

  ios: 2.1.0
  location: /usr/local/lib/node_modules/macaca-ios

TEST FAILED

The following build commands failed: CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/XCTestWDController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDAlertController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDElementController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDScreensh...

xctest-client.js:233:20 [master] pid:31078 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js:329:14 [master] pid:31078 killing runnerProc pid: 31081 xctest-client.js:245:16 [master] pid:31078 xctest client exit with code: 65, signal: null


try `app-inspector -u xxxx --verbose` for more log detail.
macaca-bot commented 3 years ago

This is the translated issue:


inspector doesn't start, it gets stuck at XCTestWD version.

I'm trying to start the app inspector but it does not get to the point of starting the inspector. Attaching logs. I'm only using this for my iOS simulator for a native iOS app so can ignore the Android checklist. And it was working fine before so "ios_webkit_debug_proxy is uninstalled" should not be an issue

Environment check:

`Bash $ Npm i macaca-cli -g && macaca doctor `` macaca-doctor version: 2.0.18

Node.js checklist:

node env: / usr / local / bin / node node version: v14.16.0

iOS checklist:

macOS version: 11.5.2 Xcode Command Line Tools Is Ready, Version: 2384. xcodebuild version: 12.5.1 iproxy [usbmuxd] is installed at: / usr / local / bin / iproxy Command Line Tools: ios_webkit_debug_proxy is uninstalled

Android checklist:

JAVA version is 1.8 JAVA_HOME is set to / Library / Internet Plug-Ins / JavaAppletPlugin.plugin / Contents / Home ANDROID_HOME is set to / Users / ankurgollen / Library / Android / sdk Platforms is set to / Users / ankurgollen / Library / Android / sdk / platforms / android-30 ADB tool is set to / Users / ankurgollen / Library / Android / sdk / platform-tools / adb Command Line Tools: gradle is uninstalled

Installed driver list:

ios: 2.1.0 location: / usr / local / lib / node_modules / macaca-ios

`


TEST FAILED

The following build commands failed: CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/XCTestWDController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDAlertController.swift CompileSwift normal x86_64 /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD/Server/Controllers/XCTestWDElementController.swift CompileSwift normal x86_64 / usr / local / lib / node_modules / app-inspector / node_modules / xctestwd / XCTestWD / XCTestWD / Server / Controllers / XCTestWDScreensh ...

xctest-client.js: 233: 20 [master] pid: 31078 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj xctest-client.js: 329: 14 [master] pid: 31078 killing runnerProc pid: 31081 xctest-client.js: 245: 16 [master] pid: 31078 xctest client exit with code: 65, signal: null ` Try app-inspector -u xxxx --verbose for more log detail.