简体   繁体   English

我可以在iPhone上安装IPA吗?

[英]Can I install an IPA on my iPhone?

After submitting my app to the app store, i created a zip of all of it's files. 将我的应用提交到应用商店后,我创建了所有文件的zip文件。 Now i'm on the next release, I want to test with the previous version to ensure that updating works properly, as there's some structural changes. 现在,我在下一个版本中,我想对以前的版本进行测试,以确保更新能够正常进行,因为存在一些结构上的更改。 Unfortunately, some files were referenced, but not copied, and so they have since been either deleted or modified. 不幸的是,某些文件已被引用但未被复制,因此已被删除或修改。

Without being able to build again from the project, is there any way I could install the previous version on my phone? 如果无法从项目中再次构建,是否可以通过任何方式在手机上安装以前的版本?

Open Xcode -> Archives, select your target archive, distribute -> Ad-hoc Deployment, save the .ipa file and drag it into iTunes. 打开Xcode->存档,选择目标存档,分发-> Ad-hoc部署,保存.ipa文件并将其拖到iTunes中。

If you want to send the .ipa to others, the ad-hoc provision file is needed too. 如果您想将.ipa发送给其他人,也需要临时配置文件。

The simplest way is simply to delete the new version of the app from your iPhone, then install the old one from the iTunes App Store. 最简单的方法就是从iPhone删除该应用程序的新版本,然后从iTunes App Store安装旧版本。 If you want to run both at once, temporarily change the bundle identifier for the new version and then install it via Xcode. 如果要一次运行两个版本,请临时更改新版本的捆绑包标识符,然后通过Xcode安装它。

Archive different versions of the app that will create IPA files. 存档将创建IPA文件的应用程序的不同版本。 Then drop the provisioning profile and IPA files in ITunes and install it from there. 然后将配置文件和IPA文件放到iTunes中,然后从那里安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM