beatfloraminederecho
beatfloraminederecho

Reputation: 231

Flutter build IOS on windows

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

Answers (2)

JulienP95
JulienP95

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

https://odevio.com/

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

Moritz
Moritz

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:

  1. link your repository (Github, BitBucket , or Gitlab).
  2. from settings > build for platforms > IOS
  3. change the .app file you received to .zip and extract it.
  4. You will find a file called Runner.app, put in a folder and compress it back.
  5. change the extension from .zip to .ipa.

And here's your first IOS build without a Mac device.

Upvotes: 5

Related Questions