如何创建.ipa文件以使用Runner.app进行测试? [英] How to create .ipa file for testing using Runner.app?

查看:390
本文介绍了如何创建.ipa文件以使用Runner.app进行测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是学习Flutter的android开发人员,尝试创建调试.ipa文件以进行测试确实很麻烦.

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

因此,我设法使用Terminal的命令创建Runner.app文件:

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

flutter build ios --debug

Runner.app文件的位置是

The location of Runner.app file is

my_project_folder/build/ios/iphoneos/Runner.app

my_project_folder/build/ios/iphoneos/Runner.app

下一步该怎么做? 另外,有没有一种方法可以从Xcode创建调试.ipa文件? 谢谢.

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

推荐答案

您可以自行创建 .ipa 文件,并将iOS构建网址发送给客户端或其他客户端.

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

只要跟随我:)

1)通过以下命令生成iOS版本
-> flutter build ios --release/debug

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

2)您将找到 Runner.app 示例
的确切路径. -> Built /Users/UserName/Documents/AppName/build/ios/iphoneos/Runner.app. 只需找到此 Runner.app 文件,然后将其复制/粘贴到桌面即可.

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)在桌面上创建文件夹名称为有效负载" (区分大小写)

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

4)将 Runner.app 文件移动到有效载荷" 文件夹中.

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

5)将有效载荷文件夹压缩为默认的 .zip

5) Compress Payload folder to default .zip

6)将 Payload.zip 转换/重命名为 Payload.ipa

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

就是这样.现在,您必须打开" Diawi ,然后在其上上传 Payload.ipa .等待 100%完成.点击发送按钮.您将找到一个网址,将该网址发送给您的客户或任何其他人.他们可以安装在他/她的设备上.

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:确保diawi Url对您的配置文件随附的UDID有效.而且我还没有尝试过这些步骤将应用程序上传到TestFlight/AppStore.

~ 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.

这篇关于如何创建.ipa文件以使用Runner.app进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆