Skip to content

Commit e509720

Browse files
fix: tns debug ios fails to show chrome url
In case when you do not have iOS Simulators running, the detection that checks if there are any simulators, takes 15 seconds. CLI executes this detection on various places. This leads to several issues, but the main one is the `tns debug ios` command when there's no running Simulators. In this case CLI often fails to display the URL for debugging as the timeout while waiting to get the port from iOS Device's logs passes while we are trying to find running simulators. Fix this by updating ios-sim-portable, where the detection does no longer wait 15 seconds - we just try twice for 500 ms to detect simulators and that's it.
1 parent 3e8f222 commit e509720

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

npm-shrinkwrap.json

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"inquirer": "0.9.0",
4444
"ios-device-lib": "0.4.13",
4545
"ios-mobileprovision-finder": "1.0.10",
46-
"ios-sim-portable": "3.4.3",
46+
"ios-sim-portable": "3.4.4",
4747
"jimp": "0.2.28",
4848
"lockfile": "1.0.3",
4949
"lodash": "4.13.1",

0 commit comments

Comments
 (0)