How to get .apk and .ipa file from Flutter ?

· 4 min read
How to get .apk and .ipa file from Flutter
How to get .apk and .ipa file from Flutter

To Upload an Application on a Play Store user needs to create an APK file or IPA file depending on the type of platform the user is dealing with. So in this article, we will learn about How to get .apk and .ipa file from Flutter?

How to get .apk and .ipa file from Flutter?

For apk Android you need to run the command :

flutter build apk --release

If you want to split the apks per abi (Split Apk) then run

flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abc

For IPA (iOS) you need to follow the below steps:

  • Register your app on App Store Connect
  • Review Xcode project settings, see the Xcode project settings
  • Create a build archive
    • In Xcode, configure the app version and build:
      • In Xcode, open Runner.xcworkspace in your app’s ios folder.
      • Select Product > Scheme > Runner.
      • Select Product > Destination > Generic iOS Device.

Select Product > Archive.

select product
select product
  • After finishing the process – Click the “Distribute App” button on right panel
    Distributed App
    Distributed App

    Then follow the below steps:

  • Step 1:

 

App Store Connect
App Store Connect
  • Step 2:

    Upload
    Upload
  • Step 3:

    Skip
    Ski
  • Step 4 :

    Auto Signin
    Auto Signin
  • Export
    Export

     

  • Step 6:

    Select ipa
    Select ipa

Then to get actual .ipa file, open xcode -> Product -> archive -> Distribute App -> Ad Hoc -> Export

You can then save the .ipa(which is inside the Runner folder) file in any location.

Conclusion:

In this article, We have been through How to get .apk and .ipa file from Flutter?

Keep Learning !!!
Keep Fluttering.

FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

FlutterAgency.com is one of the most popular online portal dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge on Flutter.

Leave a Reply