简体   繁体   English

Apple 团队的“成员”可以从 Xcode 导出以进行 iOS 分发吗?

[英]Can an Apple team 'member' export from Xcode for iOS distribution?

I am having a 'member' role in an 'Apple Developer Enterprise Program' team.我在“Apple Developer Enterprise Program”团队中担任“成员”角色。 When I try to export for deployment, it comes with message - You are not allowed to perform this operation, Please check with one of your Team Admins.当我尝试导出以进行部署时,它带有消息 - 您无权执行此操作,请与您的团队管理员之一核对。 Based on limited knowledge, I understand that in order to export for deployment I need to have 'admin' role.基于有限的知识,我了解为了导出部署,我需要具有“管理员”角色。 Am I correct?我对么? Is there something like my team admin sending me some certificate / key and then I could use it?是否有类似我的团队管理员向我发送一些证书/密钥然后我可以使用它的东西? If yes, how?如果是,如何?

UPDATE (Based on responses)更新(基于回复)

Simplifying the question:简化问题:

Can a Team 'member' make a request for distribution signing certificate?团队“成员”可以请求分发签名证书吗? Yes or No. If yes, how?是或否。如果是,如何?

If answer of the above is yes, once a member get a certificate from admin - how is he supposed to use it?如果上面的答案是肯定的,一旦成员从管理员那里获得证书 - 他应该如何使用它? The way I export for deployment as admin - Product > Archive > Export and I get the IPA.我以管理员身份导出部署的方式 - 产品 > 存档 > 导出,然后我得到 IPA。 The reason I asked this question because I am not able to do the same in a team for which I am just a member.我问这个问题的原因是因为我无法在我只是其中一员的团队中做同样的事情。 Is it even possible that I can do it, or only an admin can do it?我什至有可能做到,还是只有管理员才能做到?

PS A one or two line answer will help a lot instead of another website link. PS一两行答案将有很大帮助,而不是另一个网站链接。

A team member cannot request distribution signing certificates, only development signing certificates.团队成员不能请求分发签名证书,只能请求开发签名证书。 You need to ask an admin (or another person who has got access to the distribution cert from an admin) to hand you a distributions signing certificate.您需要询问管理员(或其他有权访问管理员分发证书的人)为您提供分发签名证书。 They can export their certificate from their keychain or Xcode (Settings->Accounts->Signing Identities) in .p12 format and send it to you.他们可以从他们的钥匙串或 Xcode(设置->帐户->签名身份)中以 .p12 格式导出他们的证书并将其发送给您。

A team member is probably meant for persons not trusted to sign code in the name of the company.团队成员可能适用于不受信任以公司名义签署代码的人。 This is how Apple intended the roles to work:这就是 Apple 希望这些角色发挥作用的方式:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ManagingYourTeam/ManagingYourTeam.html#//apple_ref/doc/uid/TP40012582-CH16-SW10 https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ManagingYourTeam/ManagingYourTeam.html#//apple_ref/doc/uid/TP40012582-CH16-SW10

Team agent A team agent is legally responsible for the team and acts as the primary contact with Apple.团队代理团队代理对团队负有法律责任,并且是与 Apple 的主要联系人。 The team agent can invite team members and change the access level of any other team member.团队代理可以邀请团队成员并更改任何其他团队成员的访问级别。 There's only one team agent.只有一个团队代理。

Team admin A team admin can set the privilege levels of other team members, except the team agent.团队管理员团队管理员可以设置除团队代理之外的其他团队成员的权限级别。 Team admins manage all assets used to sign your apps, either during development or when your team is ready to distribute an app.团队管理员管理用于签署您的应用程序的所有资产,无论是在开发期间还是在您的团队准备分发应用程序时。 Team admins are the only people on a team who can sign apps for distribution on nondevelopment devices.团队管理员是团队中唯一可以签署应用程序以在非开发设备上分发的人。 Team admins also approve signing certificate requests made by team members.团队管理员还批准团队成员提出的签名证书请求。

Team member A team member can sign apps during development, but only after he or she makes a request for a development signing certificate and has that request approved by a team admin.团队成员团队成员可以在开发过程中签署应用程序,但只有在他或她提出开发签名证书的请求并且该请求得到团队管理员的批准之后。

Yes, it is possible to sign apps for distribution as a team member.是的,可以签署应用程序以作为团队成员进行分发。 You do not need to be a team admin in order to sign apps for distribution.您无需成为团队管理员即可签署应用程序以进行分发。 However, it is necessary for you to have the appropriate distribution certificate (and private key) in your keychain in order to do this.但是,您必须在钥匙串中拥有适当的分发证书(和私钥)才能执行此操作。 (Also - your bundleid, distribution certificate and provisioning profile must be consistent.) (此外 - 您的 bundleid、分发证书和配置文件必须一致。)

You will not be able to create your own distribution certificate, only admins or above can do that.您将无法创建自己的分发证书,只有管理员或更高级别的管理员才能创建。 So you will need to obtain the distribution cert.所以你需要获得分发证书。 from someone who already has it.来自已经拥有它的人。 Have them export it from their keychain as a p12 file.让他们从他们的钥匙串中将其导出为 p12 文件。 When you receive that file, double click it, enter the password, and the distribution cert.收到该文件后,双击它,输入密码和分发证书。 and private key will be installed on your keychain.私钥将安装在您的钥匙串上。

I believe only Team Admin (and of course Team Agent) can create distribution certificates, however they are allowed to request multiple distribution certificates so you need to get one generated for you.我相信只有团队管理员(当然还有团队代理)可以创建分发证书,但是他们可以请求多个分发证书,因此您需要为您生成一个。

What it says in the App Distribution Guide is它在应用程序分发指南中说的

A team admin can set the privilege levels of other team members, except the team agent.团队管理员可以设置其他团队成员的权限级别,团队代理除外。 Team admins manage all assets used to sign your apps, either during development or when your team is ready to distribute an app.团队管理员管理用于签署您的应用程序的所有资产,无论是在开发期间还是在您的团队准备分发应用程序时。 Team admins can edit the App ID to enable app services and create technology specific identifiers used throughout the system.团队管理员可以编辑 App ID 以启用应用服务并创建整个系统使用的技术特定标识符。 Team admins can sign apps for distribution on nondevelopment devices.团队管理员可以签署应用程序以在非开发设备上分发。

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

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