I've enabled the support for windows-desktop on flutter... but is there any way to compile and run the windows flutter app on macOS?
CodePudding user response:
As of now! Unfortunately, "build windows" is only supported on Windows hosts.
However, you can have have virtual tools to help you build on Mac for example
Apple Boot Camp The Boot Camp Assistant app is pre-installed on every recent Mac, and launching it will walk you through the process of installing Windows 10.
Parallels Desktop Using Parallels Desktop 11, you can run Windows apps side-by-side with existing Mac applications, including Visual Studio and Cortana.
VMWare Fusion Fusion 8 from VMWare will let you run Visual Studio right on your Mac desktop.
Oracle VirtualBox VirtualBox is a free application for running virtual machines on your computer, and it supports running Windows on Mac.
Once you have these tools, you can install windows and start developing on Windows but virtually through Mac host.