Reputation: 231
I'm working on a flutter project and I want to build the IPA of my code using windows. I don't want to test the application in my windows I want just to build the IPA. Is it possible to do it. Any help is highly appreciated.
Upvotes: 4
Views: 10728
Reputation: 208
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 Odevio (https://github.com/Odevio/Odevio-CLI). It's a tool that let you access remote MacOS build machines.
It's pretty easy to use :
First install it by visiting the website
Then setup your Apple Developer account with Odevio : https://odevio-cli.readthedocs.io/en/latest/tutorial/6_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA in the build menu by creating an Ad Hoc build.
And that's it.
Upvotes: 4
Reputation: 563
The only way to generate an IPA from you windows machine is by using a CI/CD service like Codemagic using the steps described in this article:
And here's your first IOS build without a Mac device.
Upvotes: 5