Home > Software engineering >  Create apps using Flutter without Mac and iPhone?
Create apps using Flutter without Mac and iPhone?

Time:10-20

I don't have a Mac and an iPhone. How can I make applications using my windows laptop for coding and without an iPhone for trying to run/debug the app? What are the best steps for me??

Notes: I have made several applications for android and web using flutter.

Thanks...

CodePudding user response:

You can start by creating a Flutter project on your Windows laptop. Also, the iPhone is not required in Flutter, so you can code in your Windows laptop without needing an iPhone(Build iOS apps with Xcode, which only runs on macOS) to try to run/debug the app.

CodePudding user response:

You cannot build a flutter iOS app directly from Windows. What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.

Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s

It's pretty easy to use :

First install it

pip install appollo

Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html

Finally you can build the app and retrieve the IPA

appollo build start --build-type ad-hoc
appollo build ipa

And that's it.

  • Related