Xcode 8 shows error that provisioning profile doesn't include signing certificate

后端 未结 30 1881
太阳男子
太阳男子 2020-11-28 17:55

Xcode 8 shows error that provisioning profile doesn\'t include signing certificate.

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing r

30条回答
  •  借酒劲吻你
    2020-11-28 18:32

    If you use manual signing (which I would definitely encourage), this error may occur because Xcode thinks that it should sign a release build with a developer certificate, which is obviously not included in a release provisioning profile.

    There is a build setting that defines which certificate should be used for which build configuration. To change it, go to build settings and search for Code Signing Identity. When expanded, there should be separate rows for each build configuration (usually Debug and Release) with in the second column its selected identity (usually iOS Developer or iOS Distribution). Make sure that it's set to the correct identity for each build configuration.

    In some cases, the build configurations can also be expanded. Make sure that also its subitems are set to the correct identities.

提交回复
热议问题