临时分发:应用程序无法安装 [英] Ad hoc distribution: App failed to install

查看:141
本文介绍了临时分发:应用程序无法安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我正在尝试分发的应用程序创建了一个临时存档和.ipa文件。我还创建了一个分发配置文件,其中包含我计划将应用程序分发到的设备的UDID。当我将.ipa和.mobileprovision文件拖到iTunes中并尝试将应用程序同步到设备时,手机上会弹出一条错误消息,上面写着'myapp'无法安装。顺便说一句,我有一个标准的iOS开发人员许可证(每年99美元),并使用Xcode版本4.2.1。我是开发人员计划的新手,所以请尽量让答案尽可能简单。如果您需要任何额外信息,请与我们联系。谢谢!

I have created an ad hoc archive and a .ipa file for the application I am trying to distribute. I have also created a distributing provisioning profile with the UDIDs of the devices that I plan on distributing my application to. When I drag the .ipa and .mobileprovision files into iTunes and try to sync the application to the device, an error message on the phone pops up reading "'myapp' failed to install". By the way, I have a standard iOS developer's license ($99 per year) and am using Xcode version 4.2.1. I am pretty new to the developer program, so please try to keep your answers as simple as possible. Let me know if you need any extra information. Thank you!

推荐答案

我有完全相同的问题。我的问题很容易解决。检查您的代码签名身份和项目&在项目构建设置中定位。我指的是我的开发资料。

I had the exact same issue. My issue was simple to fix. Check your Code Signing Identities for Project & Target in your project Build Settings. Mine were pointing to my Development Profile.

代码签名身份需要指向您创建的临时分发配置文件。

进行此更改然后重新创建Archive和.ipa文件。然后我删除了iTunes中的旧应用程序,然后将.ipa文件拖到iTunes图标(Windows)上。然后我就可以使用iTunes成功安装App。

The Code Signing Identities need to point to the Ad hoc Distribution Profile that you created.
Make this change and then recreate the Archive and .ipa file. I then deleted the old App in iTunes, and then dragged the .ipa file onto the iTunes icon (Windows). Then I was able to use iTunes to install the App successfully.

这篇关于临时分发:应用程序无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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