Sign app in XCode with another developer account

不打扰是莪最后的温柔 提交于 2019-12-06 04:12:04

问题


I have a client that doesn't want my apple developer account to interfere with his application. So, can I use his developer account(without the credentials) to sign and test an application?

I searched and I found myself lost with some questions over a possibility that I'm not sure it works. The thing I found was him exporting the developer profile via XCode, sending me the developer profile file and me importing that into my XCode. What I did not understand, however, was:

  1. will this thing work?
  2. will I need his account id and password for importing this, afterwards? (because this would be a problem)
  3. is it required for him to generate this through XCode or is there any alternative?
  4. can we both use this after he exports the file and I import it? is he able to revoke me after this is finished?

Edit: Is there any other way to acheive that? Maybe any third party application?


回答1:


It is very easy :

Get the p12 of his certificate : he could export from his keychain then install this certificate and adhoc provisioning profile in you system. You can use this for taking build .




回答2:


There is no way to build apps that appear to be signed by him without having his credentials. You only need this if you will be the one producing the release builds. For simple development you can use your own account.

There are various ways you could split up the work if he is capable of producing a build himself or running command line tools to re-sign the app you build (I haven't tried this myself). In my experience the company will have an account shared among developers permitted to produce and submit apps rather than individuals.

  1. Not the way you hope it will work. When you import the profile you will be asked for a password.

  2. You need his password to use his private key.

  3. The developer profile is a convenient way to do it. He can send you the distribution certificate and a separate p12 file containing his private key along with his password for that key. You will import it into your keychain by double clicking the files and entering his password. Or he can give you his apple ID and password, and you can add that account in your Xcode preferences. This will give you access to the provisioning and distribution profiles.

  4. You can both use the credentials at the same time. No, it is not revocable. Once you have his credentials it will be up to you to remove the account information. You will have his private key in your keychain.




回答3:


Not sure if I understand your question correctly. Hope my answer helps you.

Your client can add you as a team member in his developer program. He can limit the access by choosing the appropriate role as mentioned in the below link. https://developer.apple.com/programs/roles/index.php

You can then login with your credentials and create certificates/profiles/add devices etc but you can be restricted to access his iTunes Connect.



来源:https://stackoverflow.com/questions/26112100/sign-app-in-xcode-with-another-developer-account

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