Search code examples
xcodeandroid-studioflutteripadiawi

How to create ipa file in flutter for testing purpose?


I am working in flutter and i want to create an ipa file for testing purpose. Is there any way to create ipa directly from android studio terminal? If there,what are the steps to follow in that. Also i have created through diawi, but showing error in installing the app through the url provided by diawi.

Please give me a step by step procedure to follow.


Solution

  • For making a build for iOS, you need to run following command from android studio terminal:

    flutter build ios --release
    

    Now you have to make build from Xcode by configuring correct certificates and provisioning profiles:

    Go to Xcode > Select Generic Device in Devices Pan
    Then from the Window menu Choose Product > Archive
    

    EDIT: How to get the build?

    After clicking on archive, It will take some time to get binaries bind into build and after that it will give you some options to add preferable provisioning profiles. After completing all the process you get an option to download build. Just choose your preferred location to download and it will be downloaded. Open the downloaded folder and get your ipa.