Back to Uno

Platforms

doc/articles/getting-started/wizard/includes/platforms.md

6.6-release-branch-cut1.0 KB
Original Source

This setting lets you choose which platforms the generated app will target.

Uno Platform currently supports targeting the following operating systems:

  • Mobile
    • Android
    • iOS
  • Web
    • WebAssembly (wasm)
  • Desktop
    • Skia Desktop (Linux X11, Linux Framebuffer, Windows, macOS)
    • Windows App SDK

[!NOTE] For most platforms, the name of the command line argument is just the platform name (eg, windows or ios). However, for WebAssembly and Mac, use the abbreviation in braces in the above list (i.e., wasm).

By default, when you create a new Uno Platform app, it will target the following platforms: Windows App SDK, iOS, Android, and Skia Desktop.

The following command only selects the Windows platform:

dotnetcli
dotnet new unoapp -platforms windows

To select multiple platforms, the platforms argument should be supplied multiple times. In the following example, the generated app will target Windows, Android and iOS:

dotnetcli
dotnet new unoapp -platforms windows -platforms android -platforms ios