Importing the Apple Distribution Certificate

  1. On the Mac, in Applications, select Utilities > Keychain Access.
  2. From the Keychain Access menu, select Certificate Assistant > Request a Certificate from a Certificate Authority.
  3. Enter your email, select Saved to Disk, and click Continue.
  4. When your app is ready for distribution, go to the iOS Provisioning Portal.
  5. On the Distribution tab, click Request Certificate, click Choose File, specify the file that was created previously, and click Submit.
  6. Click Download and save the file.
  7. Double-click the distribution_identity.cer file, which is in your Downloads folder.
    The next step is installing Xcode.