Xcode签名发布抱怨开发证书 [英] Xcode signing release complaining about development certificate

查看:112
本文介绍了Xcode签名发布抱怨开发证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直截了当。这是正常的吗?

Straight to the point. Is this normal?

如您所见,是签名的发布部分。我正在选择一个发布配置配置文件,但它抱怨该配置文件缺少开发证书!我原本希望使用 iPhone发行版而不是 iPhone Developer

As you can see, this is the release section of the signing. I'm choosing a distribution provisioning profile, yet it's complaining about the profile missing a development certificate! I was expecting "iPhone Distribution" instead of "iPhone Developer".

此外,它还会列出开发配置符合条件的个人资料!这会发生吗?我的意思是符合发布签名条件的配置文件?

Also, it's listing the development provisioning profile as eligible! Can this happen? I mean a provisioning profile eligible in the release signing?

我在这里错过了这么明显的东西吗?

Am I missing something so obvious here?

推荐答案


我正在选择发行配置文件

I'm choosing a distribution provisioning profile

嗯,唐没错错了您使用 development 配给配置文件进行 all 的构建和运行,以及归档操作,无论您是在模拟器还是设备上运行,无论构建配置是什么(发布或调试)。

Well, don’t. That’s wrong. You use a development provisioning profile for all build and run, and archive, operations — regardless of whether you are running on simulator or device, regardless of what the build configuration is (release or debug).

分发配置文件仅用于分发(例如,将存档导出到App Store时重新签名)。

Distribution profile is purely for distribution (e.g. re-signing when exporting an archive up to the App Store).

此外,您应该在整个过程中使用自动签名;

Also, you should use automatic signing throughout the process; it knows more than you do (I say that in a nonpersonal way; it knows more than I do too!)

所以,总结一下:


  • 使用自动签名。

  • Use automatic signing.

即使您使用手动签名,也要使用在屏幕快照中显示的界面中一切的开发配置文件。

Even if you use manual signing, use the development profile for everything in the interface you showed in your screen shot.

此自动签名的配置如下所示:

This is what the configuration for automatic signing looks like:

这是它如何配置您的实际设置:

Here is how it configures your actual settings:

注意,对于 all 配置,它使用开发人员证书而不是分发证书。如果您必须使用手动签名,那也是您想要做的。

Notice that it uses the developer certificate, not the distribution certificate, for all configurations. If you must use manual signing, that is what you want to do too.

您将不需要分发配置文件,直到该过程中的后续步骤(当您这样做时)从管理器窗口中的现有存档导出文件,此时您将使用完全不同的界面。您也可以在该处使用自动签名(尽管不必这样做)。

You won't need the distribution profile until a much later step in the process, when you export from an existing archive in the Organizer window, and at that point you'll be using a completely different interface. You can use automatic signing there too (though you don't have to).

这篇关于Xcode签名发布抱怨开发证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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