nativescript-community / nativescript-vscode-extension

A Visual Studio Code Extension for NativeScript
https://www.nativescript.org/visual-studio-code
Apache License 2.0
82 stars 32 forks source link

[Sporadic] Command hangs when launching on iOS #239

Open endarova opened 5 years ago

endarova commented 5 years ago

Sometimes when you run app for first time with Launch on iOS or Test on iOS the dropdown for Team ID is not shown and command hangs on[NSDebugAdapter] Running tns command... Steps:

  1. tns create app1 --js
  2. tns test init
  3. Open the app in VSCode and run from Test on iOS VSCode hangs on: [NSDebugAdapter] Running tns command... and the command is not executed If you kill the debugger and run Test on iOS again the command is executed
darylmyrick commented 4 years ago

The workaround mentioned above does not work for me. Are there any other workarounds or fixes for this?

uknowmeright commented 4 years ago

this is the case for me as well. Have not been able to use the extension once successfully. Here is my output:

[NativeScriptCli] execute: tns --analyticsClient VSCode --version
Version: 0.11.0
Build version: v.2019.10.17.1
Commit id: ff2e91fd92d5d9562dcb4a6592aa1e9ae934eb1f
NativeScript CLI: 6.5.0
[NativeScriptCli] execute: tns --analyticsClient VSCode --version
[NSDebugAdapter] Using tns CLI v6.5.0 on path 'tns'

[NSDebugAdapter] Running tns command...

[NativeScriptCli] execute: tns --analyticsClient VSCode --version
[NSDebugAdapter] Using tns CLI v6.5.0 on path 'tns'

[NSDebugAdapter] Running tns command...
valera1401 commented 3 years ago

Try to provide the "nativescript.iosTeamId": in the .vscode\settings.json

yilmazyavuz commented 3 years ago

Try to provide the "nativescript.iosTeamId": in the .vscode\settings.json

Thanks this worked for me