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
Synchronizes the latest changes in your project to iOS devices.
8
+
Synchronizes the latest changes in your project to iOS devices or iOS simulator.
9
9
10
10
### Options
11
11
*`--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device.
12
12
*`--device` - Specifies the serial number or the index of the connected device to which you want to synchronize changes. To list all connected devices, grouped by platform, run `$ tns device`
13
+
*`--emulator` - If set, changes are synchronized to iOS simulator.
13
14
14
15
### Attributes
15
16
*`<Device ID>` is the device index or identifier as listed by `$ tns device`
this.$errors.failWithoutHelp(`Unable to add package ${packageName} with version ${version} to npm cache. Try cleaning your cache and execute the command again.`)
this.$errors.failWithoutHelp(`Your current java version is ${javaVersion}. NativeScript CLI needs at least ${AndroidProjectService.MIN_JAVA_VERSION} version to work correctly. Ensure that you have at least ${AndroidProjectService.MIN_JAVA_VERSION} java version installed and try again.`);
490
+
}
491
+
}catch(error){
492
+
this.$errors.failWithoutHelp("Error executing command 'java'. Make sure you have java installed and added to your PATH.");
0 commit comments