Removes and adds the selected platform to the project currently targets. You must specify the target platform that you want to remove.
<Platform> is the target mobile platform that you want to clean in your project. You can set the following target platforms.
android- Removes configuration changes for Android development.
ios- Removes configuration changes for iOS development.
- You can run
$ tns platform clean iosonly on macOS systems.
- Clean command will not preserve your current installed platform version but will download and install latest platform version. If you are using clean with custom version of the runtime, specify the version in the command tns clean email@example.com or tns clean ios --frameworkPath
|install||Installs all platforms and dependencies described in the
|platform remove||Removes the selected platform from the platforms that the project currently targets.|
|platform add||Configures the current project to target the selected platform.|
|platform update||Updates the NativeScript runtime for the specified platform.|
|platform||Lists all platforms that the project currently targets.|
|prepare||Copies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform in the platforms directory.|