Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you need to own a mac to develop flutter desktop apps? If so, that'll limit adoption.


> Do you need to own a mac to develop flutter desktop apps?

No. [0]

[0] https://docs.flutter.dev/development/platform-integration/de...


Thanks.

"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."

So, I essentially do need to own a mac if I want to target macs along with other platforms.


> So, I essentially do need to own a mac if I want to target macs along with other platforms.

If you want to target other platforms than the one you are currently running, then you need to compile and run on that target machine as well. It is not a hard requirement that you need a Mac to develop Flutter applications. The Flutter SDK is also on Windows and Linux machines as well.

It is exactly the same thing for Tauri. [0] This is why they tell developers to use GitHub Actions or CIs to do it for them. Again, the same can be done for Flutter.

Electron on the other hand, does not need any of that.

[0] https://tauri.studio/v1/guides/building/cross-platform




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: