App inspector hangs on start up and fails to load
See original GitHub issueWhen I start app inspector via entering my UDID, the inspector gets as far as:
>> XCTestWD version: 1.4.16
And will not go any further and gives no error message,
What I’ve tried already: Uninstalling and reinstalling app-inspector - doesn’t work uninstalling and reinstalling xctestwd - doesn’t resolve issue
Environment check:
$ npm i macaca-cli -g && macaca doctor
+ macaca-cli@2.1.12
updated 1 package in 3.997s
macaca-doctor version: 2.0.16
Node.js checklist:
node env: /usr/local/bin/node
node version: v10.9.0
iOS checklist:
Xcode Command Line Tools is ready, version: 2349.
xcodebuild version: 10.1
{ Error: Command failed: which iproxy
at ChildProcess.exithandler (child_process.js:289:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5) killed: false, code: 1, signal: null, cmd: 'which iproxy' }
Command Line Tools: iproxy[usbmuxd] is uninstalled
Command Line Tools: ios_webkit_debug_proxy is uninstalled
Android checklist:
JAVA version is `1.8`
JAVA_HOME is not set
ANDROID_HOME is set to `/Users/theo.king/Library/Android/sdk`
Platforms is set to `/Users/theo.king/Library/Android/sdk/platforms/android-28`
ADB tool is set to `/Users/theo.king/Library/Android/sdk/platform-tools/adb`
Command Line Tools: gradle is uninstalled
Installed driver list:
ios: 2.0.35
location: /usr/local/lib/node_modules/macaca-ios
- app inspector version / 版本号:
2.0.24
- os version / 系统:
Mac OS High Sierra 10.13.6
- device information / 设备版本:
iPhone XR Simulator - 12.1
- terminal log / 终端输出信息:
>> server.js:16:12 [master] pid:7710 server start with config:
{ port: 5678,
verbose: true,
udid: 'xxxx',
ip: '10.73.142.191',
host: 'g116249mac',
loaded_time: '2019-04-05 10:17:34' }
>> app-inspector.js:45:12 [master] pid:7710 server start at: http://10.73.142.191:5678
{ Error: Command failed: /Users/theo.king/Library/Android/sdk/platform-tools/adb -s xxxx forward tcp:9001 tcp:9001
* daemon not running; starting now at tcp:5037
* daemon started successfully
error: device 'xxxx' not found
at ChildProcess.exithandler (child_process.js:289:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:599:12)
killed: false,
code: 1,
signal: null,
cmd:
'/Users/theo.king/Library/Android/sdk/platform-tools/adb -s xxxx forward tcp:9001 tcp:9001' }
Thanks for the help further info: When I try reinstall app-inspector what I get in response is:
est
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated node-uuid@1.4.7: Use uuid module instead
/usr/local/bin/inspector -> /usr/local/lib/node_modules/app-inspector/bin/app-inspector.js
/usr/local/bin/app-inspector -> /usr/local/lib/node_modules/app-inspector/bin/app-inspector.js
> xctestwd@1.4.16 install /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd
> node ./scripts/install.js
start to mv /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd-frameworks/Carthage /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd
mv: no such file or directory: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd-frameworks/Carthage
/usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/scripts/install.js:112
throw _.chalk.red('Carthage is not existed, please reinstall!');
^
Carthage is not existed, please reinstall!
npm WARN react-syntax-highlighter@7.0.4 requires a peer of react@>= 0.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xctestwd@1.4.16 (node_modules/app-inspector/node_modules/xctestwd):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xctestwd@1.4.16 install: `node ./scripts/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ app-inspector@2.0.24
updated 1 package in 12.4s
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
is Inspector not working / having issues for you? - 99images
Try Hard reboot in your Android mobile. Press and hold down the "Home" and "Power" buttons at the same time for upto 10...
Read more >Safari Web Inspector causes iOS app crash - Apple Developer
Reproducing Step: Launch iOS app (Javascript wrapped under Cordova), launch Safari from Mac, debug through web inspector, iOS app crashed immediately with ...
Read more >[iOS]Instruments crashed on startup - Issues/Bugs
The solution would be, try launching the application using xcode - automation tool (in the Open developer tools-> Instruments -> Automation) then try...
Read more >Android Studio. "Database Inspector is loading" - Stack Overflow
4 Answers 4 · Invalidate cache and restart. · Clean project. · Rebuild Project. · unplug/plug a device.
Read more >Appium inspector crashes and won't load a certain page but ...
Then clicking anywhere will be irresponsive because then the app would crash. I tried like 15 times to load this page, but it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @paradite , after updating my Xcode the app-inspector works now 👍🏾
oh your Xcode version is
10.1
, please update to10.2
.