xcode 开发配置文件的通配符应用程序 ID/“未找到代码签名标识”

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

Wildcard App ID for Developement Provisioning Profile/"No Code Signing Identity Found"

iosxcodecertificateprovisioningsigning

提问by user3735647

I am invited as a team member to a developer account. I need to send them a demo application via testflight. I checked inside the application ids list and there is no application created for this purpose. I am not able to create one either, since I only have "team member rights". What I can do though, is to download an IOS Team Provisioning Profile of Development type, that is created with the app id: Xcode IOS Wildcard App ID(*). All good and nice, but when I chose from X-Code the team that I am a member of, it tells me that "No Code Signing Identity Found". If I press Fix issue, I get the message "Your account already has a valid certificate" and that I can revoke and request a new one.

我被邀请作为开发者帐户的团队成员。我需要通过 testflight 向他们发送演示应用程序。我检查了应用程序 ID 列表,没有为此目的创建应用程序。我也无法创建一个,因为我只有“团队成员权限”。不过,我可以做的是下载开发类型的 IOS 团队供应配置文件,该配置文件是使用应用程序 ID 创建的:Xcode IOS 通配符应用程序 ID(*)。一切都很好,但是当我从 X-Code 选择我所属的团队时,它告诉我“找不到代码签名身份”。如果我按修复问题,我会收到消息“您的帐户已经有一个有效的证书”,我可以撤销并申请新的证书。

What should I do? Is the wildcard provisioning profile a viable option to create an archive? What does it mean that I revoke my signing identity and request a new one? Does the developer account owner need to create a new certificate specifically for me? Or what is I don't understand about it? Is the signing identity related at all to the developer account? Or I will receive a new one automatically? Can anyone explain in a bit more detail, so that I understand properly?

我该怎么办?通配符配置文件是创建存档的可行选项吗?我撤销我的签名身份并申请一个新身份是什么意思?开发者账号所有者是否需要专门为我创建一个新证书?或者我有什么不明白的地方?签名身份是否与开发者帐户完全相关?或者我会自动收到一个新的?任何人都可以更详细地解释一下,以便我正确理解吗?

回答by Cooper Buckingham

A wildcard simply means that it can apply to any app. If an app doesn't plan to use application specific requirements, like iCloud or inAppPurchases, then a wildcard profile is fine to use for the rest of your apps. In general, there is no need to download new profiles or certificates from develop.apple.com; you can manage them directly from xCode via Preferences>Accounts>View Detail.

通配符只是意味着它可以应用于任何应用程序。如果应用程序不打算使用特定于应用程序的要求,例如 iCloud 或 inAppPurchases,那么通配符配置文件就可以用于您的其余应用程序。一般情况下,无需从develop.apple.com 下载新的配置文件或证书;您可以通过 Preferences>Accounts>View Detail 直接从 xCode 管理它们。

回答by user3735647

The answer was simpler then I thought, however it has created an unpleasant situation. The thing was that XCode downloads automatically the code signing identity if you have agent/admin privileges. However, if you are only a team member and no admin/agent rights, you will not get a signing identity downloaded automatically, so you will need to ask the owner of the account to create a provisioning profile using the certificate that he needs to approve for you,( requested by you via xcode), or it should simply send you the certificate used to create the provisioning profile that you are going to use (this last one is not the preferred method).

答案比我想的要简单,但它造成了不愉快的情况。问题是,如果您具有代理/管理员权限,XCode 会自动下载代码签名身份。但是,如果您只是团队成员并且没有管理员/代理权限,您将不会自动下载签名身份,因此您需要要求帐户所有者使用他需要批准的证书创建配置文件为您,(由您通过 xcode 请求),或者它应该简单地向您发送用于创建您将使用的配置文件的证书(最后一个不是首选方法)。

回答by Khaled Barazi

If you have been already invited, you only need to:

如果您已经被邀请,您只需要:

  1. In Xcode, go to Preference>accounts
  2. Select the company name in the bottom right - then click view Details
  3. In the top screen (signing identities), click the + to get a new signing identity
  1. 在 Xcode 中,转到 Preference>accounts
  2. 选择右下角的公司名称 - 然后点击查看详情
  3. 在顶部屏幕(签名身份)中,单击 + 以获取新的签名身份

You can confirm that has worked by going to the iOS member center and checking in the Certificates, Identifiers & Profiles. You will see your new certificate with your name.

您可以通过转到 iOS 会员中心并检查证书、标识符和配置文件来确认是否有效。您将看到带有您姓名的新证书。