Flutter build IOS on windows - ios

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.

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:
link your repository (Github, BitBucket , or Gitlab).
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.
And here's your first IOS build without a Mac device.

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 Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.
Here is a demo of how to create the IPA on windows : https://www.youtube.com/watch?v=ZX3DAMwlEfM&t=11s
It's pretty easy to use :
First install it
pip install appollo
Then setup your Apple Developer account with Appollo : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
Finally you can build the app and retrieve the IPA
appollo build start --build-type ad-hoc
appollo build ipa
And that's it.

Related

how to test and debug IOS Flutter app on Windows?

I'm making app for IOS with Flutter but I'm on Windows. How can I test and debug my app on Windows? Is it possible? Thanks
It's not possible to test it directly from Windows. To build and test an iOS app you have to have a Mac.
Nonetheless, there are workarounds. For example, you could use a tool like Appollo (https://github.com/Appollo-CLI/Appollo) to build and test iOS apps on Windows.
Install the tool through your terminal
pip install appollo
Configure Appollo to work with your Apple Developer Account : https://appollo.readthedocs.io/en/master/tutorial/2_configure_app_store_connect.html
And then you can either start a build in configuration to access your remote Mac and configure XCode or test your app in the iOS simulator.
appollo build start --build-type configuration
Or build an IPA to test on your local device
appollo build start --build-type ad-hoc

How to generate an iOS build for a flutter app using Android Studio?

I have a Mac but for some complex reasons that is not worth explaining here, I will be not be able to install xCode. I have checked the tutorial here, where they provide two options. In both options, XCode is used. My question is: Is it possible to generate a build for iOS on a Mac without using XCode.
It is not possible to do this in Android Studio. If you don't have a machine with macOS (or are not able to use XCode in your case), you might be able to make a build using a macOS docker image.
You can find a macOS docker image (Docker-OSX) here (200k downloads). On this page, you can also find container images with XCode installed.
If you don't want to use the XCode app('s GUI) on your machine (or when using this Docker image), but you do have XCode (and Command Line Tools) installed - you can also make a build via the terminal using the xcodebuild command: https://developer.apple.com/library/archive/technotes/tn2339/_index.html
For more on xcodebuild, see this StackOverflow answer.
No, it's not.
What you can do though is use an external tool like appollo which will let you have access to a Mac build machine with XCode installed.
Then you can generate an IPA like this :
appollo build start --build-type ad-hoc
Here are some demo videos or Appollo's documentation

Build server Unity3d + iOS to ipa files

Did anyone configure Unity3d build server with iOS building to ipa files (and maybe sending to TestFlight/diawi)? If so, could you share your configuration.
Does Unity Cloud support iOS building to ipa files? Does it support fastlane?
We use our own machine running Jenkins as build server. When Unity finished building Xcode project, we copy fastlane config(Fastfile and any other stuff) into it then trigger fastlane. The fastlane actions we used are cocapods(Install CocoaPods), sigh(Provision), gym(Build) and deliver(Upload to iTunes Connect).

Redirect Flutter SDK path when building iOS build?

I wrote a Flutter app using IntelliJ on my Linux machine. I need to build the ipa file for iOS devices, and I do not have a Mac.
I plan on using a "Mac in the cloud" server to prepare the release build for the App Store. I have been mapping out all of the steps that I need to do to do the whole process, and I got to wondering: if I am opening my project folders on a server somewhere, do I have to configure the path to the Flutter SDK that I will have to download on to server machine?
I have looked at the Flutter.io documentation, but did not find an answer to this question.
Goal: to generate a release build for iOS on server machine from the project folders that I used on my Linux machine to make release build for Android.
Well, to answer my own question, IntelliJ seems to find the correct flutter path on its own somehow. It give me an error message after build command, but then continues using correct flutter path. I am pretty sure that I never told the program where to find flutter.

Is it possible to create .ipa file local with phonegap?

I am working on a automatic process to build and sign my app local for android and ios. I already created successfully the signed .apk file for android. Now I am trying to create the .ipa file locally, without using Adobe PhoneGap Build.
All the necessary key-files are available. The online build over Adobe PhoneGap Build is working for both plattforms andorid/ios.
Note:- My powershell/cmd script is written and performed on windows.
you need a mac os to deploy the .ipa file locally.
create the phonegap project as you have done in the windows machine and then build the app using
phonegap build ios
Then navigate to the folder platform > ios , you will find the xcodeproj, open it in the xcode and test it in the ios devices if necessary else go to the product tab in the xcode and choose the option archive then follow the steps to generate the .ipa file, provided all the necessary certificates,key-files have been installed and updated.
Its not possible to create .ipa file locally without a mac os.

Resources