Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
891 views
in Technique[技术] by (71.8m points)

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

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...