Xcode 8 - 供应配置文件与供应配置文件(已弃用)

Xcode 8 - Provisioning Profile vs. Provisioning Profile (Deprecated)

我刚刚更新到 Xcode 8,现在我有两个应用程序签名选项,配置文件和配置文件(已弃用)。

为什么不推荐使用一个,两者之间有什么区别?

Provisioning Profile (Deprecated) 描述中,信息为The UUID of a valid provisioning profile. A missing or invalid profile will cause a build error (deprecated, use [PROVISIONING_PROFILE_SPECIFIER] instead).

我找到了 link https://possiblemobile.com/2016/06/code-signing-xcode-8/.

更新 2017/02/13

用于管理签名证书和配置文件的用户界面已在 Xcode 8.3 beta 2 处更改。

Changed the user interface for managing signing certificates and provisioning profiles. Certificates are managed from the Accounts preferences pane by selecting a team and clicking Manage Certificates. Automatically managing signing is recommended, however if your app requires manually signing provisioning profiles are managed in the General tab of the project editor. Use the Provisioning Profile dropdown to import or download profiles. In addition it displays profiles that match the current signing configuration of the target. (28641027)


  • 为什么弃用了一个?

我认为它已被弃用,因为签名系统已在 Xcode8 中重写。

The signing system has been rewritten to include a new mode for automatically managing signing assets, in addition to a dedicated manual mode where the profiles for the target must be explicitly selected. When automatically managing signing assets, Xcode will create signing certificates, update app IDs, and create provisioning profiles. For manual mode, only custom created profiles can be selected and Xcode will not modify or create any signing assets. Xcode now encodes profiles in the target using the PROVISIONING_PROFILE_SPECIFIER build setting. This setting allows specifying both the team ID and the name or identifier of the profile.

有一些 Signing relate known Issues Xcode 8.1 你应该知道。

所以也许我们不应该在 Build Setting 选项卡中设置 Provisioning Profile,切换到 General 选项卡,然后在 签名 类别中设置。

如果您在 Build Setting 中设置配置文件并在 General 中启用 Automatically manage signing tab Xcode 会抱怨。

  • 两者有什么区别?

我也更新到 XCode 8 和 运行。在 XCode 8 中,我的项目中的供应配置文件和供应配置文件(已弃用)都设置为空白。

我尝试将它们设置回每个环境的状态,但调试环境删除了下拉列表中的所有选项。

创建存档并上传到 iTunes Connect 后,我​​注意到配置文件不太正确,但在 XCode 8.

之前工作正常

根据其他人发布的关于 XCode 8 的签名更新,我转到常规选项卡并注意到一个新部分,允许您 XCode 自动管理签名.我选中了那个框,现在它看起来像这样:

我还没有将新存档上传到 iTunes Connect,但当我上传时,我会在此处添加更新,看看它是否解决了配置文件警告。

更新:

在选择自动管理登录 XCode 并重新发送到 App Store 后,它仍然在抱怨,所以这不太奏效。可能必须删除并重新创建所有配置文件才能使其正常工作。多么痛苦啊。谢谢苹果。

请按照以下步骤操作

  1. Select 项目 TARGET 并转到 GENERAL 选项卡

  1. 签名下选中自动管理签名
  2. 选项

希望对您有所帮助!