Removes the selected platform from the platforms that the project currently targets. After removing the target platform, you can no longer build and deploy your app on devices which run on the platform. You must specify the target platform that you want to remove.
This operation deletes the subdirectory for the selected platform from the platforms directory.
<Platform> is the target mobile platform that you want to remove from 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 remove iosonly on macOS systems.
|install||Installs all platforms and dependencies described in the
|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.|