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
Configures the current project to target the selected platform.
118
120
121
+
<Version> is any available version of the respective platform runtime published in npm. If @<Version> is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
122
+
To list all available versions for android, run $ npm view tns-android versions. To list only experimental versions for android, run $ npm view tns-android dist-tags.
123
+
To list all available versions for ios, run $ npm view tns-ios versions. To list only experimental versions for ios, run $ npm view tns-ios dist-tags.
124
+
119
125
<File Path> is the complete path to a valid npm package or a directory that contains a NativeScript runtime for the selected platform.
120
126
121
127
When you add a target platform, the NativeScript CLI adds a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform.
@@ -152,11 +158,15 @@ This operation deletes the subdirectory for the selected platform from the platf
152
158
--[platform|update]--
153
159
154
160
Usage:
155
-
$ tns platform update <Platform>
161
+
$ tns platform update <Platform>[@<Version>]
156
162
157
163
Platform-specific usage:
158
-
$ tns platform update android
159
-
$ tns platform update ios
164
+
$ tns platform update android[@<Version>]
165
+
$ tns platform update ios[@<Version>]
166
+
167
+
<Version> is any available version of the respective platform runtime published in npm. If @<Version> is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
168
+
To list all available versions for android, run $ npm view tns-android versions. To list only experimental versions for android, run $ npm view tns-android dist-tags.
169
+
To list all available versions for ios, run $ npm view tns-ios versions. To list only experimental versions for ios, run $ npm view tns-ios dist-tags.
160
170
161
171
Updates the NativeScript runtime for the specified platform.
0 commit comments