0

I’m windows 11 system user, i have iPhone device (i11).

How we can run flutter app directly in iPhone device?

What is the best solution to development and test flutter application in android and ios in the same time (i have android/ios devices.

Ps: i don’t have money to buy mac, but i have a good pc: i7 11th generation, 16G ram.

Thank you

2 Answers2

2

I know that you've been suggested to perhaps create a virtual machine with macOS installed on it on your hardware. However, according to macOS EULA it is in fact illegal to run macOS on non Apple-hardware unfortunately and you probably won't have so much luck getting the perfect hardware configuration on VM anyways!

Your best bet is to purchase a second hand Mac Mini which can solve your problem. If you temporarily need a Mac perhaps you could borrow one from a friend.

If you just need to build your application on macOS you could simply use a CI system such as CircleCI to build your application.

  • Thank you for this answer, however i saw some articles about codemagic and travis to build my project (ci), but i want to know if i use cirlceCi or travis.. how can i test my application in my iPhone device ! thank you – Brahim Djarallah Feb 15 '22 at 10:28
1

Technically you cannot build an IPA file that you can later install on your Apple device directly from Windows.

You have to use an external tool like Appollo (https://github.com/Appollo-CLI/Appollo). Appollo is a CLI utility that let you access a Mac build machine to generate an IPA that you can then install on your Iphone.

Here is an example demo : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=6s

Here is their full documentation to get you started : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html

Julien Deuse
  • 56
  • 5
  • 6