Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create .ipa file for testing using Runner.app?

Tags:

ios

flutter

I am android developer learning Flutter, and I really have some trouble trying to create debug .ipa file, for testing purposes.

So, I managed to create Runner.app file using command from Terminal:

flutter build ios --debug 

The location of Runner.app file is

my_project_folder/build/ios/iphoneos/Runner.app

What to do next? Also, is there a way to create debug .ipa file from Xcode? Thanks.

like image 423
miloss Avatar asked Jul 09 '18 21:07

miloss


2 Answers

You can create .ipa file by your self and send iOS build url to your client or other.

Just follow me :)

1) Generate your iOS build by below command
-> flutter build ios --release/debug

2) You will found exact path of your Runner.app Ex.
-> Built /Users/UserName/Documents/AppName/build/ios/iphoneos/Runner.app. Just find this Runner.app file and do copy/paste it to Desktop.

3) Create folder name is "Payload" (case-sensitive) on Desktop

4) Move your Runner.app File in the "Payload" folder.

5) Compress Payload folder to default .zip

6) Convert/rename Payload.zip to Payload.ipa

That's it. Now you have to open "Diawi" and Upload the Payload.ipa on it. Wait for 100% done. Click on send button. You will find one url, Send this url to your client or any other person. They can install on his/her device.

~ PS : Make sure diawi Url valid for those UDIDs that attached with your provisioning profile. And I haven't tried these steps to upload app on TestFlight/AppStore.

like image 104
iPatel Avatar answered Sep 19 '22 13:09

iPatel


flutter build ipa is now available and takes an optional --export-options-plist flag to make an IPA from the archive bundle. See flutter build ipa -h on the master channel for details.

like image 41
Bill Avatar answered Sep 21 '22 13:09

Bill