xcode 代码签名错误:默认钥匙串没有与配置文件“submitsearch”和身份“iPhone Developer”匹配的身份

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9617678/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 23:33:46  来源:igfitidea点击:

Code Sign error: The default keychain doesn't have an identity matching the profile 'submitsearch' and identity 'iPhone Developer

xcode

提问by qwer789852

I am trying to upload my app to. After tip Archive,it shows :Code Sign error: The default keychain doesn't have an identity matching the profile 'submitsearch' and identity 'iPhone Developer.

我正在尝试将我的应用上传到。提示存档后,它显示:代码签名错误:默认钥匙串没有匹配配置文件“submitsearch”和身份“iPhone Developer”的身份。

Which step may be wrong?

哪一步可能出错?

thanks

谢谢

回答by Dpedrinha

More than one thing can cause this problem:

不止一件事会导致这个问题:

  • Wrong profile/certificate used
  • Wrong export password
  • Expired certificate/profile
  • Apple changed something on their side
  • 使用了错误的配置文件/证书
  • 错误的导出密码
  • 过期的证书/配置文件
  • 苹果改变了他们这边的东西

I find the best way to fix it is generating both certificate and profile again.

我发现修复它的最佳方法是再次生成证书和配置文件。

回答by Rravindra Naik

In my case it is due to not attaching key to p12 file.

就我而言,这是由于未将密钥附加到 p12 文件。

for windows I simply run following command in openSSL:

对于 Windows,我只需在 openSSL 中运行以下命令:

pkcs12 -export -inkey privatekey.key -in ios_development.pem -out ios_development.p12

Its work for me.

它对我来说有效。

回答by ChapMic

You can find the solution on this link :

您可以在此链接上找到解决方案:

Default keychain problem

默认钥匙串问题

You just have to make a difference between the Distribution Provisoning Profile and the Development Provisioning Profile.

您只需要区分分发供应配置文件和开发供应配置文件。

The Main Difference between Distrib and Dev

Distrib 和 Dev 之间的主要区别