为什么 ad hoc ipa 无法在一台设备上安装,但在具有相同 iOS 版本的另一台设备上成功?设备、但在、一台、另一台

2023-09-07 16:35:07 作者:往事■不堪回首◇

我有一个客户,其 iPad 2 (iOS 5.0) 能够安装临时 ipa,但他的 iPhone(也是 iOS 5.0 -- 完全相同的版本)在尝试使用他的 Windows 安装时在他的设备上收到以下消息iTunes:

I have a client whose iPad 2 (iOS 5.0) is able to install an ad hoc ipa, yet his iPhone (also iOS 5.0 -- same exact build) receives the following msg on his device when attempting to install with his Windows iTunes:

iTunes 同步.[应用名称] 安装失败"

"iTunes sync. [app name] failed to install"

我和这个人一起工作了很长时间,测试了这个应用程序的许多版本,他从来没有遇到过这个问题.他的所有设备都安装或没有.我该如何解决这个问题?

I've worked with this guy for a long time testing many versions of this app and he's never had this problem. All his devices install or none. How can I solve this?

推荐答案

根据 Trott 的建议(上图),我正在将解决方案从我的评论转移到真正的答案,以便其他人可以轻松找到解决方案:

As per Trott's suggestion (above), I'm moving the solution from my comment to a bona fide answer so that others can easily find the solution:

问题解决了.配置文件中缺少设备 ID.我将问题留在这里,而不是简单地删除它,因为它可能会帮助其他人.必须补充一点,当发生这种情况时,iTunes 曾经给出更具体的消息,并且由于我没有从 iPhone 开发中心的列表中删除设备 ID(不知道它是如何消失的),我不认为这张 cd 实际上是原因.希望这可以帮助被错误消息的模糊性误导的人.

Problem solved. Device id was missing from provisioning profile. I'm leaving the issue here rather than simply deleting it bc it might help others. Must add that iTunes used to give a more specific message when this occurred, and since I had not removed the device id from the list in the iPhone Dev Center (have no idea how it vanished) I didn't consider that this cd actually be the cause. Hope this helps someone misled by the vagueness of the error msg.