Skip to content

Conversation

@rosen-vladimirov
Copy link
Contributor

When CLI is used as a library (in NativeScript Sidekick for example), calling methods for run and debug currently fails. The problem is with the parsing of the iOS logs, which was introduced several days ago.
The logic uses $projectData from the $injector. However, when CLI is used as a library, the $projectData is never initialized. Instead of using $projectData pass the project directory and construct new project data (from $projectDataService) where required.

PR Checklist

What is the current behavior?

Trying to run application on iOS device/simulator fails in Sidekick.

What is the new behavior?

You can successfully run application on iOS device/simulator with Sidekick.

When CLI is used as a library (in NativeScript Sidekick for example), calling methods for run and debug currently fails. The problem is with the parsing of the iOS logs, which was introduced several days ago.
The logic uses `$projectData` from the `$injector`. However, when CLI is used as a library, the `$projectData` is never initialized. Instead of using `$projectData` pass the project directory and construct new project data (from `$projectDataService`) where required.
@dtopuzov
Copy link
Contributor

run ci

@Fatme
Copy link
Contributor

Fatme commented May 29, 2018

run ci

@rosen-vladimirov rosen-vladimirov merged commit b953fa1 into release May 30, 2018
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-run-debug-sidekick branch May 30, 2018 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants