Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple's TestFlight and Certificates

I recently did some work for a team project and I am trying to use Apple's TestFlight to Submit a new build for an existing app on iTunes Connect for testing, but I got stuck with certificates and provisioning profiles.

What I have Done so Far

  • Although I was an enrolled iOS developer already (I have my own apps on the AppStore), I gave to the Team Agent a different e-mail address as Apple requested. With this e-mail address I was invited by the Team Agent to iTunes Connect and also to the Member Center and I enrolled again as an iOS developer.
  • Afterwards, since I wanted to use Apple's TestFlight, instead of requesting a Developer Certificate through Member Center, I walked to the Team Agent, provided him with my CSR and asked him to prepare a Distribution Certificate for me, which he then sent me.
  • After installing this Distribution Certificate on my XCode, I still couldn't Validate the app because I did not have enough privileges. Downloading and installing existing provisioning profiles from the Member Center did not help either.

My Questions

  1. What should I do in order to have enough privileges to Validate and Submit the build on iTunes (and proceed with using Apple's TestFlight)?
  2. Do I need both a Developer's Certificate and a Distribution Certificate in order to be able to upload a build for testing on iTunes Connect? Isn't the Distribution Certificate enough?

Any help will be deeply appreciated,

Thanks!

like image 432
nosuic Avatar asked Feb 13 '15 19:02

nosuic


People also ask

Does TestFlight require distribution certificate?

To use TestFlight you need an app build signed with a distribution signing certificate.

What are Apple certificates?

A certificate is an attachment to an electronic document that allows the safe transfer of information over the internet. Certificates are used by web browsers and mail and texting apps. When you communicate with a secure site, the information exchanged with the site is encrypted.

How do iOS certificates work?

Using certificates with Apple devicesThese digital certificates can be used to securely identify a client or server, and to encrypt the communication between them using the public and private key pair. A certificate contains a public key, information about the client (or server), and is signed (verified) by a CA.

How do I get an Apple signing certificate?

To get a certificate, you need to generate a Certificate Signing Request with Keychain Access and send it to Apple. This will create a public/private key for you if you don't have one already. Apple will then verify the information, and create a certificate for you.


1 Answers

  1. What should I do in order to have enough privileges to Validate and Submit the build on iTunes (and proceed with using Apple's TestFlight)?

    To upload binary you need to login with acount that has role Technical or Admin. More about Role & Responsibilities on Apple Documentation page

  2. Do I need both a Developer's Certificate and a Distribution Certificate in order to be able to upload a build for testing on iTunes Connect? Isn't the Distribution Certificate enough?

    In order to upload binary to iTunes Connect (no matter for releases or Beta testing trought TestFlight) you need to sign binary with Distribution Certificate & Provision Profile

like image 123
skywinder Avatar answered Sep 27 '22 23:09

skywinder