question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xcode 10 not working with app-inspector

See original GitHub issue

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 (<anonymous>) 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:

  • app inspector version / 版本号: app-inspector -v 2.0.21

  • os version / 系统: macOS High Sierra Version 10.13.8 (17G65)

  • device information / 设备版本: iOS simulator iPhone X 11.4

  • terminal log / 终端输出信息: { Error: Cannot find module ‘xctestwd’ at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/usr/local/lib/node_modules/app-inspector/lib/ios.js:5:18) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) code: ‘MODULE_NOT_FOUND’ }

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rayt8909commented, Oct 11, 2018

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

npm install -g app-inspector

This will get you the latest updates.

0reactions
bl1zz4rdcommented, Oct 12, 2018

Roger that, thanks for prompt reply

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 10.3 not starting on macOS Big Sur - Apple Developer
After upgrading to macOS Big Sur I installed Xcode 10.1, 10.2.1 and 10.3 on two separate Macs and I can say Xcode 10.x...
Read more >
Could Not Launch Appium Inspector Xcode 8, appium 1.5.3 ...
I got first option and it is working… :grin: :smile: Macaca didn't give the link. Could not launch app inspector… I'm still trying...
Read more >
Macaca App-Inspector + Appium + iOS : How to fix "Error
I faced similar issue: please open this /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj in xcode ...
Read more >
编译 xctestwd 失败,求大神解答 · TesterHome
信息太多,具体哪里出问题也分别不出来,用的 npm i app-inspector -g 命令安装 Showing Recent Issues. Build target XCTestWDAggregation of project XCTestWD ...
Read more >
Xcode for Windows (12 Ways to Build iOS Apps on PC)
You can make an app for iOS even if you're on a PC running Windows 10. Check out the options for running Xcode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found