Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run flutter app in iOS devices from windows [duplicate]

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

like image 596
Brahim Djarallah Avatar asked Nov 24 '25 23:11

Brahim Djarallah


2 Answers

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.

like image 195
Vandad Nahavandipoor Avatar answered Nov 26 '25 11:11

Vandad Nahavandipoor


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 Odevio (https://github.com/Odevio/Odevio-CLI). Odevio 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://odevio-cli.readthedocs.io/en/latest/installation_cli/tutorial_cli/6_configure_app_store_connect.html

like image 24
Julien Deuse Avatar answered Nov 26 '25 13:11

Julien Deuse



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!