简体   繁体   English

在 Xcode 11 中创建免费配置文件时出现错误无效的 csrContent

[英]Error Invalid csrContent when creating a free provisioning profile in Xcode 11

I'm getting this error when trying to create a free provisioning profile in Xcode. When i press manage certificates in Xcode preferences, i am getting the same error.尝试在 Xcode 中创建免费配置文件时出现此错误。当我在 Xcode 首选项中按管理证书时,出现相同的错误。 I have tried to reinstall Apple WorldWide Developer Relations Certification Authority in keychain access but it didn't changed anything.我试图在钥匙串访问中重新安装 Apple WorldWide Developer Relations Certification Authority,但它没有任何改变。

When i run the following command: security find-identity -v -p codesigning , i get this message: 0 valid identities found当我运行以下命令时: security find-identity -v -p codesigning ,我收到此消息: 0 valid identities found

Thanks for helping me.谢谢你帮助我。

Today I had this problem and seemed some problem with my profile.今天我遇到了这个问题,我的个人资料似乎有些问题。 If you go to Preferences > Accounts > Your Personal Account > Manage certificates I you try to create a new certificate you will receive the same csr Error.如果您 go 到首选项>帐户>您的个人帐户>管理证书我尝试创建一个新证书,您将收到相同的 csr 错误。

So I remove my account, restart xcode and add again my account, and then I could create the certificate for my account and compile the app.所以我删除了我的帐户,重新启动 xcode 并再次添加我的帐户,然后我可以为我的帐户创建证书并编译应用程序。

Hope this helps;).希望这可以帮助;)。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM