Can I develop flutter desktop app for windows on mac? - windows

Can I develop flutter desktop app for windows on mac? Thanks in advance. I have M1 mac and want to develop app for windows platform.

You can write the code on any OS. However in order to compile your code you will have to do it on Windows OS.
See the documentation:
Note: To compile a desktop application, you must build it on the targeted platform: build a Windows application on Windows, a macOS application on macOS, and a Linux application on Linux. If you experience a problem that hasn’t yet been reported, please file an issue and include “desktop:windows win/macos/linux” (whichever platform is appropriate) in the title.

Related

Flutter windows desktop application compattibility

Can flutter desktop application run on any windows pc irrespective of its properties. I am trying to run flutter desktop application on x86 windows but it shows error "This application can't run on this pc, check with the software publisher".
Can anyone help me how to solve this issue?
No, Flutter does not support 32-bit Windows as a target.

Any way to build flutter desktop app for window(.exe) in macOS machine?

I would like to build exe file from my macOS machine. How is possible?
Per the documentation:
To compile a desktop app, you must build the app on the targeted platform: build a Windows app on Windows, a macOS app on macOS, and a Linux app on Linux.
You can follow this issue to see if that changes in the future.
The short answer is no.
But you can build your app using a windows emulator or doing a windows dualboot with bootcamp.
There is also online services who let you build flutter projects from a github repo but I don't think they can build a windows app.

Nativescript iOS development without a Mac doomed to fail?

I have created some HelloWorld apps on Windows using Nativescript Sidekick and deployed to Iphone. While amazed intriegued that it actually is possible to develop on Windows for iOS, it's not very practical without a debugger and/or simulator. When the HelloWorld crashed on the phone, I have no clue why.
Should I get a Mac?
Just like you need a Windows machine to build apps for Windows Universal, you must need a Mac for iOS.
NativeScript is not the one who makes Mac a must one for iOS development, but hopefully they are planning to come up with something that will enable end to end iOS development on Windows / Linux, it's on their roadmap for 2018.

Compile OSX app on Windows with Xamarin

I have a Xamarin Mac app I've been handed to make some changes. I've got everything working correctly as far as Windows Visual Studio Xamarin connecting to Mac Xamarin -- the Mac ssh agent works and whatnot.
However, how do I compile the app? When I build it on Windows, it generates an .exe file. Is something supposed to be generated on the Mac side, too? Or do I take that .exe file and somehow package it into an OSX app?
I was trying to stay in my Windows environment to do the coding and building as much as possible.
Thank you.
You will need to compile/package/debug it on macOS.
The build process is performed locally on Windows, generating IL assemblies that cannot be used for running or debugging apps, and it doesn't create application bundles.
re: https://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.2/#Xamarin.Mac_minimum_support.
macOS Apps
Mac apps can be opened and compiled in Visual Studio to check for errors, however to debug or create a working executable the project must currently be built on a Mac. This limited support for Mac projects allows for easier code sharing in Visual Studio between iOS, Android, Windows, and Mac apps.
re: https://developer.xamarin.com/guides/cross-platform/windows/visual-studio/#macOS_Apps

Developing in Qt for iOS on windows

Is it possible to develop some application on windows with Qt and use that to create application for iOs/IPad?
Qt applications are mostly portable, in most cases the same code will run on any platform that Qt supports, as long as it doesn't use any platform specific APIs.
You cannot create Qt application executables for macos or ios without a macos machine, but you can develop your application on a windows machine, then simply compile the written code on a macos machine and you are set.

Resources