Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.71 KB

platform-remove.md

File metadata and controls

32 lines (24 loc) · 1.71 KB

platform remove

Usage Synopsis
<% if((isConsole && isMacOS)
<% if(isConsole && (isLinux

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. <% if(isMacOS) { %>You must specify the target platform that you want to remove.<% } %>

<% if(isHtml) { %>This operation deletes the subdirectory for the selected platform from the platforms directory. <% } %>

<% if(isMacOS) { %>### Attributes <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.<% } %>

<% if(isHtml) { %>

Command Limitations

  • You can run $ tns platform remove ios only on OS X systems.

Related Commands

Command Description
install Installs all platforms and dependencies described in the package.json file in the current directory.
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.
<% } %>