简体   繁体   中英

How to build ipa file in windows?

I am developing a flutter application, I am using windows, I build the apk file. I wanted to build for the ios part. But it is not possible in windows and I use codemagic.

but code magic builds Runner.app file. and I use the diawi website to convert to ipa but file size exeeds.

Is there any other way to generate ipa file in windows.

Diawi alternate solution, please check maybe it's helpful for you. Here you can upload large MB files.

https://www.installonair.com/

With windows machine you can not build ipa files.

But there is an alternative solution to generate ipa files. For that use a CI/CD service like Codemagic using the steps described in this example .

  • link your repository github , bitbucket , etc.
  • from settings > build for platforms > IOS
  • change the .app file you received to .zip and extract it.
  • You will find a file called Runner.app , put in a folder and compress it back.
  • change the extension from .zip to .ipa .

Now you can get your iOS build without mac device

You can try using a Python CLI tool called Appollo ( https://github.com/Appollo-CLI/Appollo ).

It allows you to access remote Mac OS to configure Xcode, retrieve your IPA file and publish your app...

You can check the online doc here: https://appollo.readthedocs.io/en/master/

Following the instructions in this article I got it.

https://medium.com/flutter-community/developing-and-debugging-flutter-apps-for-ios-without-a-mac-8d362a8ec667

Codemagic will send you an.app file via email.

Rename it so that it ends with.zip.

Extract it, and you'll get a folder called Runner.app.

Create a folder called Payload and place Runner.app there.

Finally, compress the folder called Payload — this will be your IPA file (you may rename it to.ipa).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM