You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
* Attaches on DEBUGGER_PORT_FOUND event and STARTING_IOS_APPLICATION events
23
23
* In case when DEBUGGER_PORT_FOUND event is emitted, stores the port and clears the timeout if such.
24
-
* In case when STARTING_IOS_APPLICATION event is emiited, sets the port to null and add timeout for 5000 miliseconds which checks if port is null and prints a warning.
25
-
* @param {Mobile.IDevice} device - Describes the device which logs should be parsed.
24
+
* In case when STARTING_IOS_APPLICATION event is emitted, sets the port to null and add timeout for 5000 miliseconds which checks if port is null and prints a warning.
25
+
* @param {Mobile.IDevice} device - Describes the device which logs should be parsed.
26
+
* @param {IProjectDir} data - Object that has a projectDir property.
0 commit comments