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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With