Is it possible to develop iOS applications using Flutter on a Linux virtual machine?

I am new to mobile app development and wanted to try Flutter, but I use Windows. Since Flutter does not support Windows, I had the idea of โ€‹โ€‹using a Linux-based virtual machine to install Flutter. It works?

Also in flutter setup this says the following:

To develop Flutter apps for iOS, you need a Mac with Xcode 7.2 or later.

Is there a way to develop iOS apps without a Mac?

+9
virtual-machine dart mobile flutter
source share
4 answers

As you point out in your question:

To develop Flutter apps for iOS, you need a Mac with Xcode 7.2 or later.

You can work using an external service (for example, Travis-ci or another) to create code for iOS. However, it cannot be used as a developerโ€™s workflow, as it may take several minutes to get the artifact.

+4
source share

You should check out MacOS cloud solutions like MacInCloud . There is a CI / CD solution that will support it (e.g. CircleCI and BitRise ), but they are not suitable for development.

Services like MacInCloud let you work remotely on a Mac, where you can use Xcode remotely.

+1
source share

Yes, you can develop iOS apps with Linux (or Windows) using Android Studio or Visual Studio Code. The essence of Flutter is that you have one code base, and you can deploy it on both Android and iOS. So there are no problems at the development stage.

In the past, you could only deploy iOS apps to the App Store if you had a Mac, but now there are a few more options. See the following articles:

However, in order to test your application on an iOS simulator, you still need to have a Mac. However, in theory, an application should have the same behavior for most things as it does on an Android device, so you don't need to test it using an iOS simulator. I would say that in the long run, you might want to think about purchasing a Mac, but this is certainly not necessary at the beginning.

0
source share

Currently, Windows is partially supported by the way you can edit and publish for Android, but you still canโ€™t create for iOS where you need a Mac (Xcode). Additional information https://flutter.io/setup-windows

-one
source share

All Articles