加入现有企业开发人员计划后,无法构建应用程序以进行分发 [英] Can't build an app for distribution after joining existing enterprise developer program

查看:77
本文介绍了加入现有企业开发人员计划后,无法构建应用程序以进行分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我加入了现有的企业开发人员计划。我能够以开发人员模式运行应用程序,但是在构建和存档方面存在问题。用于创建通用分发应用的证书已经存在,但我无法使用它进行构建。我该怎么办呢?

I joined an existing enterprise developer program. I was able to run the app in developer mode, but had issues with building and archiving. The certificate for creating a universal distribution app is already present, but I am not able to build with it. How can I do it in steps??

推荐答案

证书只是必要部分的一半。您还需要证书的密钥。

The certificate is only half the necessary parts. You also need the key for the certificate.

在Mac上打开 Keychain Access ,然后选择左侧的证书过滤器。当您为企业分发选择证书时,请确保在此证书有效的消息旁边的顶部显示绿色复选标记(下图中的气泡4)。

Open Keychain Access on your Mac and select the Certificates filter on the left. When you select the certificate for your Enterprise Distribution, make sure you there is a green check mark in the top section next to a message that says "This certificate is valid" (bubble 4 in picture below).

此外,这可能是您的问题,您需要确保证书旁边有一个三角形,允许您展开它(参见下面的图3中的气泡3) )。没有它,您无法使用分发证书对代码进行编码。您需要从创建证书的人那里获取私钥,或者从用于生成证书签名请求文件(CSR)的机器上获取密钥。

Also, and this is likely your problem, you need to make sure there is a triangle next to the certificate that allows you to expand it (See bubble 3 in picture below). Without that, you have no way to code sign using the distribution certificate. You will need to get the private key from the person who created the certificate, or get the key off of the machine that was used to generate the certificate signing request file (CSR) used to generate the cert.

这篇关于加入现有企业开发人员计划后,无法构建应用程序以进行分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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