Open
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 5.3.4
- VSCode: 1.33.1 (1.33.1)
Describe the bug
Using this configuration in order to pass provisioning profile to deploy on real device:
{
"name": "Launch on iOS",
"type": "nativescript",
"request": "launch",
"platform": "ios",
"appRoot": "${workspaceRoot}",
"sourceMaps": true,
"tnsArgs": ["--provision MyTestPropfile"],
"watch": true
}
I am getting an error: The options --provision and --teamId are mutually exclusive.
. Deleting the nativescript.iosTeamId
from the setting.json in .vscode does not help since on next run the extension again asks for teamId
.
To Reproduce
Add the following configuration to the launch.json:
{
"name": "Launch on iOS",
"type": "nativescript",
"request": "launch",
"platform": "ios",
"appRoot": "${workspaceRoot}",
"sourceMaps": true,
"tnsArgs": ["--provision MyTestPropfile"],
"watch": true
}
Expected behavior
The debug session would begin on the connected to real device using the provisioning profile from --provision
Output
[NativeScriptCli] execute: tns --analyticsClient VSCode --version
[NSDebugAdapter] Using tns CLI v5.3.4 on path 'tns'
[NSDebugAdapter] Running tns command...
[NSDebugAdapter] Using iOS Team ID '****', you can change this in the workspace settings.
[NativeScriptCli] execute: tns --analyticsClient VSCode debug ios --watch --syncAllFiles --provision NativeScriptDevProfile --teamId W7TGC3P93K
[NSDebugAdapter] Watching the tns CLI output to receive a connection token
The options --provision and --teamId are mutually exclusive.
[NSDebugAdapter] The tns command finished its execution with code 127.
The tns command finished its execution with code 127