简体   繁体   English

Xcode 8 显示配置文件不包含签名证书的错误

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

Xcode 8 shows error that provisioning profile doesn't include signing certificate. Xcode 8 显示配置文件不包含签名证书的错误。

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing related identified certificate.此问题仅适用于 Xcode-8 和 Xcode 7,相同的配置文件显示相关的已识别证书。

There are many ways to fix this, like enabling automatic signing etc. But if you want to understand the reason for this error you need to look at the error message.有很多方法可以解决此问题,例如启用自动签名等。但是如果您想了解此错误的原因,则需要查看错误消息。

It says that the provisioning profile you have selected in the "General tab", does not contain the signing certificate you selected in the "Build settings" -> "Code Signing Identity".它表示您在“常规选项卡”中选择的配置文件不包含您在“构建设置”->“代码签名身份”中选择的签名证书。

Usually this happens if a distribution certificate has been selected for the debug identity under "Build settings" -> "Code Signing Identity".如果在“构建设置”->“代码签名身份”下为调试身份选择了分发证书,通常会发生这种情况。

If this happens under "Signing (Debug)" it might also be that the "Signing Identity" -> "iOS Development" is not included in the provisioning profile.如果这种情况发生在“签名(调试)”下,也可能是“签名身份”->“iOS 开发”未包含在配置文件中。

Check your keychain for identities that are missing a private key.检查您的钥匙串是否有缺少私钥的身份。 I had multiple distribution certificates installed for the same team, one of which was missing the private key.我为同一个团队安装了多个分发证书,其中一个缺少私钥。 Xcode was only checking the first matching identity in the keychain and automatically using this as opposed to the one that did include the private key. Xcode 仅检查钥匙串中的第一个匹配身份并自动使用它,而不是包含私钥的身份。

在此处输入图片说明

Removing the matching identity that didn't have a private key made Xcode detect the correct identity again.删除没有私钥的匹配身份使 Xcode 再次检测到正确的身份。

To fix this,为了解决这个问题,

I just enable the "Automatic manage signing" at project settings general tab, Before enabling that i was afraid that it may have some side effects but once i enable that works for me.我只是在项目设置常规选项卡中启用“自动管理签名”,在启用之前我担心它可能会产生一些副作用,但一旦启用它对我有用。

Hope this helps for others!希望这对其他人有帮助! 在此处输入图片说明

For those who should keep using not auotamatic for some reason对于那些由于某种原因应该继续使用而不是自动的人

Open keyChain Access to see whether there are two same Certifications ,If there's two or more,Just Delete to one and it will work :)打开keyChain Access查看是否有两个相同的认证,如果有两个或更多,只需删除一个就可以了:)

I experienced this issue after recently updating Xcode to version 9.3 The issue was in code signing (under debug) certificate was set to distribution certificate instead of development certificate so this prevented me from installing the app on my devices.我在最近将 Xcode 更新到 9.3 版后遇到了这个问题问题在于代码签名(在调试下)证书被设置为分发证书而不是开发证书,因此这阻止了我在我的设备上安装应用程序。

Here is what I did to solve this issue.这是我为解决此问题所做的工作。

Project -> Targets -> Select your app -> Build Settings -> Code Signing Identity -> Debug -> Double tap "iPhone Distribution" and change it to "iPhone Developer".项目 -> 目标 -> 选择您的应用 -> 构建设置 -> 代码签名标识 -> 调试 -> 双击“iPhone 分发”并将其更改为“iPhone 开发人员”。

I unchecked and then checked the "Automatically manage signing" option.我取消选中,然后选中“自动管理签名”选项。 That fixed it for me.那为我修好了。

For what it's worth automatic signing failed every time until I just manually deleted local profiles in: ~/Library/MobileDevice/Provisioning Profiles每次自动签名都失败了,直到我手动删除了以下位置的本地配置文件:~/Library/MobileDevice/Provisioning Profiles

After that automatic signing worked perfectly and it got the right profiles from Apple's servers.在那之后自动签名工作得很好,它从苹果的服务器上得到了正确的配置文件。

This was affecting only some builds, notably the ones for which I had manually created profiles for watch app.这仅影响了一些构建,特别是我为手表应用手动创建配置文件的构建。

Had the same error.有同样的错误。 Profiles seems renewed, new certificates added, i even checked it when download.配置文件似乎更新了,添加了新证书,我什至在下载时检查了它。 Also revoked former developer's certificates, excluded from provision profile.还撤销了前开发商的证书,从配置文件中排除。 But Xcode still asking me about previous certificates with error:但是 Xcode 仍然会错误地询问我以前的证书:

No certificate for team 'MY_TEAM' matching 'iPhone Developer: FORMER_DEVELOPER' found

so, what I did to fix it:所以,我做了什么来修复它:

  1. Go Build Settings -> Signing -> Code Signing Identity转到Build Settings -> Signing -> Code Signing Identity
  2. Find all 'FORMER_DEVELOPER' certificates and choose needed.找到所有“FORMER_DEVELOPER”证书并选择需要的。

Hope it will help somebody.希望它会帮助某人。

For those who still struggle with this problem in Xcode8.对于那些仍然在 Xcode8 中遇到这个问题的人。 For me was a duplicate Certificate problem, this is how I solved it:对我来说是一个重复的证书问题,这就是我解决它的方法:

I read the answer of Nick and then I began my investigation.我阅读了尼克的回答,然后我开始了我的调查。 I checked all the keys and Certificates in my particular case (inside ~/Library/Keychains/System.keychain).我检查了我的特殊情况下的所有密钥和证书(在 ~/Library/Keychains/System.keychain 内)。

When I opened the file, I found that I had two iPhone Distribution Certificates (that was the certificate that Xcode was requesting me), one with the iOS Distribution private key that I have been using since the beginning, and another iPhone Distribution Certificate which its private Key had a name (iOS Distribution:NAME) that wasn´t familiar for me.当我打开文件时,我发现我有两个 iPhone 分发证书(这是 Xcode 要求我的证书),一个是我从一开始就使用的 iOS 分发私钥,另一个是 iPhone 分发证书,它的私钥有一个我不熟悉的名称 (iOS Distribution:NAME)。 I deleted this last certificate, started Xcode again and the problem was gone.我删除了最后一个证书,再次启动 Xcode,问题就解决了。 xCode wasn´t able to resolve that conflict and that´s why it was giving signing certificate error all the time. xCode 无法解决该冲突,这就是为什么它一直出现签名证书错误的原因。

Check your keychains, maybe you have a duplicate certificate.检查您的钥匙串,也许您有重复的证书。

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.如果您使用手动签名(我肯定会鼓励这样做),则可能会发生此错误,因为 Xcode 认为它应该使用开发人员证书对发布版本进行签名,而这显然不包含在发布配置文件中。

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 .要更改它,请转到构建设置并搜索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).展开时,每个构建配置(通常是 Debug 和 Release)应该有单独的行,在第二列中选择其标识(通常是 iOS Developer 或 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.确保其子项也设置为正确的身份。

You may also solve code signing issues with great Fastlane toolkit .您还可以使用出色的Fastlane 工具包解决代码签名问题。 Authors put a lot of effort to effectively automate building, signing iOS apps (and more).作者付出了很多努力来有效地自动化构建、签署 iOS 应用程序(等等)。

So in the mentioned suite, there is tool sigh which magically resolves any signing issues, hence the name :) Nice thing here is, that this tool encapsulates a knowledge about common signing issues and can detect and resolve most of them.所以在提到的套件中,有一个工具sigh可以神奇地解决任何签名问题,因此得名:) 这里的好处是,这个工具封装了关于常见签名问题的知识,可以检测和解决大部分问题。

Fastlane is installed as Ruby gem: Fastlane 安装为 Ruby gem:

gem install fastlane

And then simply invoked:然后简单地调用:

fastlane sigh --development

Answer two questions, and voila:回答两个问题,瞧:

[11:56:55]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
[11:57:01]: Creating new provisioning profile for 'com.myapp' with name 'com.myapp Development'
[11:57:06]: Downloading provisioning profile...
[11:57:09]: Successfully downloaded provisioning profile...
[11:57:09]: Installing provisioning profile...

Finally, go to Build Settings -> Signing , and switch to newly created provisioning profile, whose name you just saw in the command output.最后,转到Build Settings -> Signing ,然后切换到新创建的配置文件,您刚刚在命令输出中看到了它的名称。

This example is for development code signing problem (running on the device).此示例针对开发代码签名问题(在设备上运行)。 Check sigh documentation for all other options.查看所有其他选项的sigh 文档

就我而言,在钥匙串中,我有两个同名证书,我删除了其中一个重复的证书,然后它解决了问题。

“启用自动签名”然后从下拉菜单中选择一个团队帮助我解决了这个确切的问题。

  1. Delete the developer certificate that does not have a private key.删除没有私钥的开发者证书。
  2. Delete the provisioning profile from your machine using go to folder (~/Library/MobileDevice/Provisioning Profiles)使用 go to folder (~/Library/MobileDevice/Provisioning Profiles) 从您的机器中删除配置文件
  3. Then first check then uncheck the Automatically manage signing option in the project settings with selecting team.然后首先选中然后取消选中项目设置中的自动管理签名选项并选择团队。
  4. Sing in Apple developer account and edit the provisioning profile selecting all available developer certificates then download and add to XCODE.在 Apple 开发者帐户中唱歌并编辑配置文件,选择所有可用的开发者证书,然后下载并添加到 XCODE。
  5. Select the provisioning profile and code signing identity in project build settings在项目构建设置中选择配置文件和代码签名标识

Xcode 11 Xcode 11

This is the error I got这是我得到的错误

Provisioning profile "XXX" doesn't include signing certificate "Apple Development: XXX (XXX)".```配置文件“XXX”不包括签名证书“​​Apple Development: XXX (XXX)”。```

Now Xcode 11 automatically created a certificate "Apple Development: XXX" which is valid for all platforms现在 Xcode 11 自动创建了一个证书“Apple Development: XXX”,该证书适用于所有平台

https://developer.apple.com/account/resources/certificates/list

You just need to你只需要

  1. Go to https://developer.apple.com前往https://developer.apple.com
  2. Go to your provisioning profile转到您的配置文件
  3. Check if this certificate is selected检查是否选择了此证书

I had remaining private keys from certificates I had revoked, certificates were gone but not the private keys.我从我撤销的证书中保留了私钥,证书不见了,但私钥没有。 Deleting them solved the problem.删除它们解决了问题。

To find them:要找到它们:

  1. Open Keychain access打开钥匙串访问
  2. Click "Keys" under category on the side left menu单击左侧菜单中类别下的“键”
  3. Look for iOS Developer: ..." keys that do not have a certificate tied to them寻找 iOS Developer: ..." 没有绑定证书的密钥
  4. I deleted them and problem went away我删除了它们,问题就消失了

The highlighted key in the picture is a sample private key without a certificate.图中突出显示的密钥是没有证书的示例私钥。

突出显示的项目是导致问题的一个关键,删除它解决了问题

I have the same problem.我也有同样的问题。 I changed the mac.我换了mac。 And when I downloaded the Xcode certificate, I received an error message: "The error is that the security profile does not include the certificate signature."当我下载 Xcode 证书时,收到一条错误消息:“错误是安全配置文件不包含证书签名。”

1) Go to https://developer.apple.com/account/ios/profile/limited/edit Select the project => edit => Certificates => Select All => Create => Download 1) 转到https://developer.apple.com/account/ios/profile/limited/edit选择项目 => 编辑 => 证书 => 全选 => 创建 => 下载

2) In Xcode: Project file => Signing (Debug) => Provisioning profile => Import profile => Select file with 1 2)在Xcode中:项目文件=>签名(调试)=>配置文件=>导入配置文件=>选择带有1的文件

Because I haven't seen this specific answer:因为我还没有看到这个具体的答案:

My issue was I needed manual signing.我的问题是我需要手动签名。 So my mistake was that In Build Settings -> Code Signing -> Code Signing Identity所以我的错误是在 Build Settings -> Code Signing -> Code Signing Identity

I had my debug (Automatic signing style, and Apple Development Certificate), Staging and Release (Manual and Apple Distribution (adHoc) variants set correctly.我的调试(自动签名样式和 Apple 开发证书)、暂存和发布(手动和 Apple 分发(adHoc)变体设置正确。

What I DIDNT have set correctly (due to some flawed logic in my understanding) was the "ANY IOS SDK" value.我没有正确设置(由于我理解的一些有缺陷的逻辑)是“ANY IOS SDK”值。 Once I set it to the same manual Apple Distribution cert, the error went away.一旦我将它设置为相同的手动 Apple Distribution 证书,错误就消失了。

Initially i had it set to an Automatic value "iOS Distribution" because I figured it would better handled automatically since I didnt know what it meant.最初我将它设置为自动值“iOS Distribution”,因为我认为它会更好地自动处理,因为我不知道它是什么意思。 still dont.仍然没有。 oh well hope it helps哦,希望它有帮助

For me, None of the above solutions worked.对我来说,上述解决方案均无效。 I was migrating from two older mac's to a new mac, trying to get release/debug profiles working on Xcode WITHOUT Xcode auto managing them.我正在从两台旧 mac 迁移到新 mac,试图让发布/调试配置文件在 Xcode 上运行,而无需Xcode 自动管理它们。

The solution for me was that when I went and created the two new Certificates, i ALSO had to go into my provisioning profiles, and add (under both the distribution and dev) the new certificates to the provisioning profiles so recognized them.对我来说,解决办法是,当我去,并创建了两个新的证书,我不得不进入我的预置描述文件,并添加新的证书到供应配置文件,以便认出了他们(分销和开发都下)。 After doing this & downloading, xcode removed all errors and it is good to go.完成此操作并下载后,xcode 删除了所有错误,一切顺利。

Hope this helps someone!希望这可以帮助某人!

I got one of these emails from Apple:我收到了其中一封来自 Apple 的电子邮件:

Dear John Doe,亲爱的约翰·多伊,

The following certificate has either been revoked by a member of your development team or has expired:以下证书已被您的开发团队成员吊销或已过期:

Certificate: iOS Development证书:iOS开发

Team Name: Honey Team, LLC团队名称:Honey Team, LLC

This does not affect apps that you've submitted to the App Store or your ability to update your apps.这不会影响您提交到 App Store 的应用程序或您更新应用程序的能力。 If you're using provisioning profiles that contain this certificate, they must be recreated before they can be reused.如果您使用包含此证书的配置文件,则必须重新创建它们,然后才能重新使用它们。 For details, see the "App signing overview" section of Xcode Help.有关详细信息,请参阅 Xcode 帮助的“应用签名概述”部分。

Best regards,此致,

Apple Developer Program Support Apple 开发者计划支持


I created a new certificate which revoked the previous certificate (locally and on any other developer's mac).我创建了一个新证书,它撤销了以前的证书(在本地和任何其他开发人员的 mac 上)。 For it to work I must download the new provision profiles.为了让它工作,我必须下载新的配置文件。

The solution is to:解决办法是:

  • login into Apple developer account登录苹果开发者账号
  • remove/revoke the previous certificates created in my name.删除/撤销以前以我的名义创建的证书。
  • add the new certificate to the provision profile.证书添加到配置文件中。 You can identify the newer one by their expiry date您可以通过到期日期识别较新的
  • download them again from Xcode.从 Xcode 再次下载它们。 Xcode >> Account >> Download All Profiles Xcode >> 帐户 >> 下载所有配置文件
  • restart Xcode重启Xcode

I personally didn't have such access.我个人没有这样的访问权限。 This access was only available to our team's admin, hence I don't have screenshots nor certain if these steps are 100% correct.此访问权限仅供我们团队的管理员使用,因此我没有屏幕截图,也不确定这些步骤是否 100% 正确。

I haven't seen this mentioned yet but if you are still having issues after recreating your provisioning profiles, deleting the existing ones you have in your Provision Profiles folder, checking for dupes in your Keychain, etc (all other answers ITT), open your Target > Build Settings > Code Signing and make sure everything looks consistent in there.我还没有看到提到这一点,但是如果您在重新创建配置文件、删除配置文件文件夹中的现有配置文件、检查钥匙串中的欺骗等(所有其他答案 ITT)后仍然遇到问题,请打开您的目标 > 构建设置 > 代码签名并确保那里的所有内容看起来一致。 For example, I had changed the Code Signing Identify for Debug to a Distribution identity, which obviously wouldn't work as the Development Provisioning Profile doesn't have the Distribution certificate and was causing the error in the first place.例如,我已将用于调试的代码签名标识更改为分发标识,这显然不起作用,因为开发配置文件没有分发证书并且首先导致了错误。

If your trying to upload your app to iTunes Connect (your Provisioning Profiles are set to Distribution), Go to Project Settings -> Build Settings -> Code Signing.如果您尝试将您的应用程序上传到 iTunes Connect(您的配置文件设置为分发),请转到项目设置 -> 构建设置 -> 代码签名。 Make sure to set all of Debug and Release Options to your Distribution Provisioning Provisioning Profile.确保将所有 Debug 和 Release Options 设置为您的 Distribution Provisioning Provisioning Profile。

The issue seems to start happening in Xcode 11 .这个问题似乎开始发生在Xcode 11 中

  • Go to Apple Developer前往苹果开发者
  • Find the right provision profile找到正确的配置文件
  • Press Edit in the right upper corner按右上角的编辑
  • Choose the (Distribution) option in Certificates.在证书中选择(分发)选项。 (I think it's a new option/certificate type that apple introduced though I couldn't find any documentation) (我认为这是苹果引入的新选项/证书类型,但我找不到任何文档)
  • Optional: Delete all you provision profiles in (~/Library/MobileDevice/Provisioning Profiles/)可选:删除 (~/Library/MobileDevice/Provisioning Profiles/) 中的所有配置文件
    go to Xcode ->Preferences->Accounts->Download Manual Profiles去 Xcode -> Preferences->Accounts->Download Manual Profiles

在此处输入图片说明

Here are the steps solved for me (For those who face the same problem in XCode 9.2):以下是为我解决的步骤(对于那些在 XCode 9.2 中遇到同样问题的人):

  1. Just manually deleted local profiles in ~/Library/MobileDevice/Provisioning Profiles.只是手动删除了 ~/Library/MobileDevice/Provisioning Profiles 中的本地配置文件。

  2. Deleted and created all the certificates and provisioning profile from developers account.从开发人员帐户中删除并创建了所有证书和配置文件。

  3. Removed developers account from Xcode and re-added it.从 Xcode 中删除了开发人员帐户并重新添加了它。

Solved my problem!解决了我的问题! :-) :-)

This might help you这可能会帮助你

iOS Distribution profile iOS 分发配置文件

Scenario:设想:

Another developer gave me a certificate.另一个开发人员给了我证书。

I installed this simply我简单地安装了这个

Error :错误 :

Xcode 8 shows error that provisioning profile doesn't include signing certificate Xcode 8 显示配置文件不包含签名证书的错误

Which was not exactly correct error.这不是完全正确的错误。

The error was the private key missing错误是私钥丢失

Preference -> Accounts -> Double click team首选项 -> 帐户 -> 双击团队

在此处输入图片说明

Call the developer to send the private key.调用开发者发送私钥。

and installed it into your locally并将其安装到您的本地

SECOND SOLUTION第二个解决方案

  • Create a fresh certificate.创建一个新证书。

  • Edit your existing provisioning profile编辑您现有的配置文件

  • Include fresh certificate包括新证书

  • Save and download保存并下载

Clicking but then cancelling "Enable Automatic Signing" worked for me, although the actual change it made was:单击然后取消“启用自动签名”对我有用,尽管它所做的实际更改是:

ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;

or in Xcode it's called Always Embed Swift Standard Libraries或者在 Xcode 中它被称为Always Embed Swift Standard Libraries

I had the same issue and reason was penny.我有同样的问题,理由很简单。 Wrong profile and certificate was selected in build settings.在构建设置中选择了错误的配置文件和证书。 I only had did this before few days.我前几天才这样做过。 So, you do not need to enable "automatic" inside xcode.因此,您不需要在 xcode 中启用“自动”。 Check profiles inside your build settings before doing it.在执行之前检查构建设置中的配置文件。

Try downloading the certificates/profiles directly from the member centre rather than doing it from Xcode.尝试直接从会员中心下载证书/配置文件,而不是从 Xcode 下载。

It worked for me when I manually downloaded them from the member centre.当我从会员中心手动下载它们时,它对我有用。

I was struggling with it for many days.我为此苦苦挣扎了很多天。

Step 1: Deleted every certificates, provisioning profile, appID,Key etc from developer account.步骤 1:从开发者帐户中删除所有证书、配置文件、appID、密钥等。

Step 2: Recreated the push notification certificates, provisioning profile, app ID etc.第 2 步:重新创建推送通知证书、配置文件、应用 ID 等。

Step 3: Deleted all the certificates from keychain.第 3 步:从钥匙串中删除所有证书。

Step 4: Cleared all the provisioning profile from ~/Library/MobileDevice/Provisioning Profiles.第 4 步:清除 ~/Library/MobileDevice/Provisioning Profiles 中的所有配置文件。

Step 5: Added only the required provisioning file and tested out.步骤 5:仅添加所需的配置文件并进行测试。 It works fine.它工作正常。

It means you need to do either 1 of the below:这意味着您需要执行以下任一操作:

  1. You should have created a certificate at the Developer Center and then included that Certificate within the Provisioning Profile which you will Import into XCode.您应该已经在开发人员中心创建了一个证书,然后将该证书包含在您将导入 XCode 的配置文件中。
  2. Else, If you are using a certificate created by someone else, then get them to share/export their certificate & private key (.p12 file) to you & you need to include this into your keychain.否则,如果您使用的是其他人创建的证书,请让他们与您共享/导出他们的证书和私钥(.p12 文件),您需要将其包含在您的钥匙串中。 Refer here参考这里

A solution to #2 when you are not able to get the certificate & .p12 file from the creator would be to just check the 'Automatically manage signing' option.当您无法从创建者那里获取证书和 .p12 文件时,#2 的解决方案是选中“自动管理签名”选项。

This happens because the provisioning profile can't find the file for the certificate it is linked to. 发生这种情况是因为供应配置文件找不到链接到的证书的文件

To fix: 修理:

  1. Check which certificate is linked to your provisioning profile by clicking edit on your provisioning profile in the Certificates, Identifiers & Profiles section of the Apple Developer dashboard 通过在Apple Developer仪表板的“证书,标识符和配置文件”部分中单击您的配置文件上的编辑,检查将哪个证书链接到您的配置文件
  2. Download the certificate from the dashboard 从仪表板下载证书
  3. Double click the file to install it in your keychain 双击文件以将其安装在钥匙串中
  4. Drag the file into Xcode to be extra sure it is linked 将文件拖到Xcode中以确保已链接

The error should be gone now. 该错误现在应该消失了。

This problem is due to private key in the certificate in your profile not match that in your keychain. 此问题是由于您个人资料中证书中的私钥与您的钥匙串中的私钥不匹配。 I resolve this by 我通过解决这个问题

  1. delete all iPhone Developer certificate in keychain. 删除钥匙串中的所有iPhone Developer证书。
  2. delete all certificate in apple account. 删除苹果帐户中的所有证书。
  3. using xcode "Manage Certificates" to add certificate, sometime you still have certificate in your Mac, but I do not know where it is for now, and if added successfully, your apple account will display that certificate too, and then you can create your profile with that certificate and download ... goto 5 使用xcode“管理证书”添加证书,有时您的Mac中仍然有证书,但是我不知道它现在在哪里,如果添加成功,您的Apple帐户也会显示该证书,然后您可以创建自己的证书带有该证书的配置文件并下载... goto 5
  4. if you use "Manage Certificates" can't add certificate, you can create a new certificate, and do remain steps. 如果您使用“管理证书”无法添加证书,则可以创建新证书,并继续执行步骤。
  5. finish. 完。

same answer with Code signing issue in Xcode version 8 . Xcode版本8中的代码签名问题相同的答案。

在我的情况下,问题是在Xcode Beta 11.5上对签名应用程序的方式有所改变,所以只需确保调试/发布配置证书都正确设置

I tried many things, but the only one that solved this problem for me was to configure some things in xcode:我尝试了很多东西,但唯一能为我解决这个问题的是在 xcode 中配置一些东西:

Build Settings -> Signing:构建设置 -> 签名:

  • Code Signing identity: Select iOS Developer for all options.代码签名身份:为所有选项选择 iOS Developer。
  • Code Signing Style: Automatic代码签名风格:自动
  • Provisioning Profile: Automatic配置文件:自动

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 代码签名错误:配置文件 ***** 不包括签名证书 **** - Code Signing Error: Provisioning profile ***** doesn't include signing certificate **** Xcode 10.1:供应配置文件签名证书错误 - Xcode 10.1 : Provisioning profile signing certificate error Provision Profile不包括签名证书 - Provision Profile doesn't include signing certificate 使用 fastlane match 时,配置文件“match x”不包括签名证书“​​Apple Distribution: Company (ID)” - Provisioning profile “match x” doesn't include signing certificate “Apple Distribution: Company (ID)” when using fastlane match Xcode 12.2 中的错误:配置文件不包含推送通知权利 - Error in Xcode 12.2: Provisioning profile doesn't include the push notifications entitlement Xcode 6 - 无法为Ad-Hoc分发选择签名证书/配置文件。 始终采取默认 - Xcode 6 - Can't pick signing certificate/provisioning profile for Ad-Hoc distribution. Always taken default AppCenter生成错误“配置文件不包括签名证书苹果推送服务” - AppCenter Build error “Provisioning profile does not include signing certificate apple push services” 配置文件不包括当前选择的设备错误 - Provisioning profile doesn't include the currently selected device error Xcode 8 签名错误,无法使用帐户登录且没有配置文件 - Xcode 8 signing errors, can't log in with account and no provisioning profile 个人资料不包括证书 - Profile doesn't include certificate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM