nativescript-cli: tns debug ios: nativescript inspector doesn't open on High Sierra and Xcode 9.2
Tell us about the problem
When run tns debug ios
it tries to open Nativescript Inspector and immediately closes it and throws an error.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
- CLI: 3.3.1
- Cross-platform modules: 3.1.1
- Runtime(s): tns-ios: 3.3.0
Please tell us how to recreate the issue in as much detail as possible.
I’m trying to debug nativescript tutorial app nativescript-template-ng-tutorial, and when run tns debug ios
it has problems.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
https://youtu.be/XgSjqBD3z0M. On 17th second it opens and closes the nativescript inspector at the same time.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 32 (9 by maintainers)
Inspector 3.4.3 (1) is working for me now. I just ran tns update, after updating the os to 10.13.2. If I have any issues, I will downgrade to 3.1.0. I think my issue may have been that tns-ios was not up to date. Thank you @dtopuzov and @mbektchiev!
@mbektchiev Hey, it works!!! Thank you!
Fix merged: https://github.com/NativeScript/ios-runtime/pull/838
It will be available in {N} 3.4.0, which will be released next week.
Having the same issue, reinstalled pretty much everything. Haven’t rebuilt project yet. Tried removing iOS folder etc as outlined above. If I try to launch inspector manually it just quits.
Sierra 10.13.4
Scratch that… working again, updated to {N} 4.0.1 got it working again. Not sure why I wasn’t updated already, I updated yesterday.
@pentool I just managed to reproduce the problem. It seems that the latest version of tns-ios-inspector which runs on MacOS X El Capitan is 3.1.0. If you install this version in your project, you will be able to successfully launch the inspector.
The reason that you haven’t received this error earlier is that with TNS CLI 3.4.1 we’ve fixed a bug which prevented the inspector package from being ever updated after its first installation. (See https://github.com/NativeScript/nativescript-cli/pull/3302)