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

冷暖自知 提交于 2019-12-30 10:00:07

问题


I am having a 'member' role in an 'Apple Developer Enterprise Program' team. 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. 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?

P.S. A one or two line answer will help a lot instead of another website link.


回答1:


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.

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:

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. 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.




回答2:


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.)

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. When you receive that file, double click it, enter the password, and the distribution cert. and private key will be installed on your keychain.




回答3:


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. Team admins can sign apps for distribution on nondevelopment devices.



来源:https://stackoverflow.com/questions/31678028/can-an-apple-team-member-export-from-xcode-for-ios-distribution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!