'How to build an iOS AdHoc app with flutter

I have an flutter app for ios and can build it for the app store using:

flutter build ios --release

But how can I build an Ad-Hoc app for ios?



Solution 1:[1]

You can use Code Magic's CLI tool to achieve that.

On their CLI (locally installed or on your CI server), there is an option to add

--type IOS_APP_ADHOC

See at the end of their signing documentation section for Specifying code signing configuration

Solution 2:[2]

For Someone out there, who have trouble building ios application since they don't have an apple developer account, here's a method that i do and i use.

1st if you are an ios user you can connect your ios device into your mac and do a flutter run --release. you can also do it with just the simulator too and it does works the same.

Now, the ios app is created, using your 7 days free trial developers provisioning profile, what we need is to use some programs likie imazing,apple configurator or itunes, to get the ipa from inside the app.

Now you have build the ios app with a release version, and you can redistribute it with just a 7 days free trial version of yours.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ariel Mann
Solution 2 Arjay