通过ad hoc iPhone / iPad分发应用程序

时间:2011-07-19 00:57:48

标签: iphone ipad xcode4 publish

我需要先将某个应用程序发送给某人,然后再将其提交给应用商店。我已经发送了该文件,当我的朋友尝试同步应用程序时,iTunes表示缺少签名。我不明白我做错了什么,所以让我告诉你我做过的所有事情。

(我会用iPhone应用程序而不是iPad应用程序来演示这个,因为我没有iPad,我相信这个过程应该大致相同)。

所以为了清楚我想从头开始,我删除了我创建的所有证书。所以我的钥匙串看起来像:

enter image description here enter image description here

所以你可以看到我到目前为止没有任何证书或密钥。此外,在我的配置门户网站中,我删除了所有证书以及尽可能多的内容:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

我不知道如何删除这些个人资料:

enter image description here

为什么我会尝试删除许多事情,因为我可能因为我想要让我自己清楚地抓住你,我会理解我的问题。我一直在尝试发送这个应用程序很长时间,如果有人告诉我我做错了什么,我会非常感激。

无论如何,我想发送给我的朋友的应用程序如下:

enter image description here

enter image description here

当我在模拟器中运行时,我得到:

enter image description here

好吧所以现在一切看起来都很棒我准备好发送给我的朋友这个我刚建立的优秀应用程序所以我将继续开始创建证书,以便他可以将它安装在他的计算机中:

(我不认为我必须创造这个,但我会)

enter image description here

enter image description here

enter image description here

enter image description here

然后我导入了该证书:

enter image description here

好的,现在我点击刷新并将新证书添加到钥匙串访问:

enter image description here

到目前为止,我完成了我的开发证书。

我将继续执行相同的步骤,但使用分发证书:

enter image description here

...

...

...

步骤应与最后一步相同。我最终得到了:

enter image description here

enter image description here

好了,现在让我添加“我的朋友”UIID号码:

enter image description here

enter image description here

现在我将创建我的应用ID:

enter image description here

enter image description here

知道我已准备好创建分发配置文件:

enter image description here

enter image description here

enter image description here

通过查看此列表可以知道:

enter image description here

我相信已完成步骤1,2和3。因此,我将继续向他发送FooApp.app和分发配置文件:

enter image description here

最后我在Windows计算机上安装了这些文件:

enter image description here

当我将它们拖入iTunes并同步设备时,我收到以下错误:

enter image description here

我做错了什么。我已经看到了互联网上的说明,我可以让它工作。


修改

我相信我的问题在于这一部分:

enter image description here

为什么xcode表示当前没有配置文件匹配?????

enter image description here

我从中读到的说明:

enter image description here

从未提及有关设置的构建部分!

2 个答案:

答案 0 :(得分:0)

您是否将该adhoc mobileprovision文件与该应用程序一起发送给了另一个人?您需要这样做才能安装它。 〜/ Library / MobileDevice / Provisioning Profiles

答案 1 :(得分:0)

您是否检查过该应用是否已正确签名? 它是否在项目设置下使用了正确的代码签名标识?