Phonegap 构建错误:在您的证书上找不到 iPhone 开发者/发行版身份

发布于 2024-11-27 07:16:48 字数 644 浏览 6 评论 0原文

有人有使用 PhoneGap 的构建服务构建应用程序的经验吗?

我按照这些步骤创建了一个 .p12 文件和 provisioning profile 文件。当我上传密钥时,它不会构建我的 iOS 应用程序,并给出以下错误/警告:

在您的证书上找不到 iPhone 开发人员/分发身份

我遵循的步骤是:

1) 使用钥匙串访问:钥匙串访问 ->证书助理 ->向证书颁发机构请求证书

2) 提供了我在 Apple 注册时使用的电子邮件地址 开发者计划

3) 我不确定“通用名称”是否重要,但我使用了自定义名称 姓名

4) 2048位RSA密钥对值

5) 从 iOS 开发门户,按照向导“启动 助手,用于生成配置文件。

6) 下载开发者证书和配置文件

7) 通过提供密码导出上面创建的私钥 生成.p12文件

8) 使用.p12 文件&在最后两步中创建的配置文件 在 PhoneGap 构建服务的“签名”部分。

有没有人遇到过类似的问题。我做错了什么吗?

Does anybody have experience build app with PhoneGap's Build Service?

I followed the steps and created a .p12 file and the provisioning profile file. When I uploaded the keys, it does not build my iOS App giving the following error/warning:

no iPhone Developer/Distribution identity found on your certificate

The steps I followed are:

1) Using Keychain Access: Keychain Access -> Certificate Assistant
-> Request Certificate from a Certificate Authority

2) Provided the email address which I used to register on Apple
Developer Program

3) I am not sure if the 'Common Name' matters, but I used a custom
name

4) 2048 bits RSA key pair value

5) From the iOS Development Portal, followed the wizard "Launch
Assistant, to generate the provisioning profile.

6) Downloaded the developer certificate and provisioning profile

7) Exported the private key created above by giving a password to
generate the .p12 file

8) Used the .p12 file & provisioning profile created in last two steps
in the 'signing' section of PhoneGap's build service.

Has anybody faced a similar problem. Am I doing something wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

够钟 2024-12-04 07:16:48

根据我的经验,我发现这实际上是当您混合来自多个开发人员帐户的公钥/私钥、证书和配置文件时引起的。

因此,为了消除这个问题,我删除了 public &我想在 PhoneGap 构建中使用的帐户的私钥,甚至删除了证书;然后按照我的问题中提到的步骤进行操作,效果非常好。

简而言之,从头开始并再次生成文件......

From my experience I have found that this is actually caused when you inter mix the public/private keys, certificates and provisioning profiles from multiple developer accounts.

So, to eliminate the problem I deleted the public & private key for the account which I wanted to use in PhoneGap build and even deleted the certificate; then followed the steps mentioned in my question and it worked like charm.

In short, give it a scratch start and generate the files again...

桃气十足 2024-12-04 07:16:48

我发现该证书与错误的私钥关联。

人们应该设置一个测试应用程序来首先登录 Xcode,然后在那里导出证书表单。

我将很快发布详细步骤...

I have found that the certificate was associated with the wrong private key.

One should set up a test app to sign in Xcode first and then export the certificate form there.

I will post detailed steps shortly...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文