macacajs / app-inspector

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

xcode 10 not working with app-inspector #205

Closed rayt8909 closed 6 years ago

rayt8909 commented 6 years ago

Upgraded to xcode 10. app-inspector not starting. information below. please let me know if any other information is needed. Ray

Environment check:

$ npm i macaca-cli -g && macaca doctor

macaca-doctor version: 2.0.14

Node.js checklist:

node env: /usr/local/bin/node node version: v10.9.0

iOS checklist:

Xcode Command Line Tools is ready, version: 2349. TypeError: Invalid Version: 10.0 at new SemVer (/usr/local/lib/node_modules/macaca-cli/node_modules/semver/semver.js:305:11) at compare (/usr/local/lib/node_modules/macaca-cli/node_modules/semver/semver.js:578:10) at Function.lt (/usr/local/lib/node_modules/macaca-cli/node_modules/semver/semver.js:612:10) at Object.exports.xcodeBuild (/usr/local/lib/node_modules/macaca-cli/node_modules/macaca-doctor/lib/ios.js:56:16) at exports.xcodeBuild.next () at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19) at process._tickCallback (internal/process/next_tick.js:68:7) Xcode is uninstalled 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/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home ANDROID_HOME is set to /Users/raytrejo/android Platforms is set to /Users/raytrejo/android/platforms/android-27 ADB tool is set to /Users/raytrejo/android/platform-tools/adb Command Line Tools: gradle is uninstalled

Installed driver list:

try app-inspector -u xxxx --verbose for more log detail.

Sivasankaramalan commented 6 years ago

is there any solution here?

cplus02 commented 6 years ago

I am also looking for a solution for this...

xudafeng commented 6 years ago

https://github.com/macacajs/XCTestWD/pull/144

bl1zz4rd commented 6 years ago

Hello @rayt8909, can you share how to fix this? thanks!

rayt8909 commented 6 years ago

I uninstalled globally and installed globally. npm uninstall -g app-inspector

npm install -g app-inspector

This will get you the latest updates.

xudafeng commented 6 years ago

@rayt8909

correct, reinstall it

bl1zz4rd commented 6 years ago

Roger that, thanks for prompt reply