xcode 未找到代码签名身份:没有有效的签名身份

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38239863/
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-15 09:01:04  来源:igfitidea点击:

No code signing identities found: No valid signing identities

iosxcode

提问by Krutarth Patel

i am getting error while creating ipa. No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “” were found. and also error : Invalid .ipa file: missing a Payload and a .app folder

我在创建 ipa 时出错。未找到代码签名身份:未找到与团队 ID“”匹配的有效签名身份(即证书和私钥对)。还有错误:无效的 .ipa 文件:缺少有效负载和 .app 文件夹

i am not getting what this error says?

我不明白这个错误说的是什么?

what to do?

该怎么办?

回答by Yeeee

Open up Preferences from Xcode (Xcode -> Preferences), and then in the Accounts tab click on your AppleID. Click the view details tab, and then click on your projects provisioning profile, then click on the refresh on the bottom left corner.

从 Xcode 打开 Preferences(Xcode -> Preferences),然后在 Accounts 选项卡中单击您的 AppleID。单击查看详细信息选项卡,然后单击您的项目配置文件,然后单击左下角的刷新。

In addition, this question has a well explained answer in steps here: Xcode could not find a valid private-key certificate pair for this profile in your keychain

此外,此问题在此处的步骤中有一个很好解释的答案: Xcode 在您的钥匙串中找不到此配置文件的有效私钥证书对