bLacK hoLE
bLacK hoLE

Reputation: 801

Issue while generating IPA using Xcode 6.3.1

enter image description here

While trying to generate IPA for testing purposes, I receive a message:

"You have a valid iOS Distribution certificate in the Member Center, but it is not installed locally. If your signing identity is installed on another Mac, you export developer profile on that Mac and import it on this Mac. You can revoke current certificate and request a new one."

Why is this happening?

Upvotes: 6

Views: 4941

Answers (6)

abbood
abbood

Reputation: 23558

in my case everything was done as per the manual (I'm experienced in this stuff) but it turns out xcode was acting out. I used the user local signing assets and I was done :)

enter image description here

Upvotes: 0

Jaideep Chauhan
Jaideep Chauhan

Reputation: 1

Go to Keychain Access

  1. Keychain>Certificate Assistant> Request a Certificate from Certificate Authority.
  2. Fill in the email. (keep others as default values)
  3. Save the file.

Log in to Apple Member Center

  1. Go to Certificate, profiles Provisioning Profiles
  2. Click on Add button on top Right corner
  3. Select App ID from the dropdown
  4. Select the profile you wish to include.
  5. Click on Generate and
  6. Download the Distribution certificate

Open keychain Access

  1. Go to file>Import Items
  2. Select the Distribution certificate.

It should work now.

Upvotes: 0

RiceAndBytes
RiceAndBytes

Reputation: 1286

This worked for me

  1. created new CSR (code signing request)
  2. created new Distribution certificate with the CSR, once created go download and double click to install
  3. create a app id if you dont already have one
  4. create your distribution provisioning profile, select your app id and certificate you created
  5. after you create it, go download, and double click to install
  6. restart xcode

Upvotes: 0

Michal
Michal

Reputation: 15669

Majority of these problems are very easily solvable by Fastlane. In no way I want to promote a product - it's an open-source tool and saved me hell lot of time.

Upvotes: 2

Jaico Varghese
Jaico Varghese

Reputation: 31

It was Xcode bug.

When I tried to export developer profile from another system and installed in my system its working fine.

Upvotes: 0

vijeesh
vijeesh

Reputation: 1325

This is what worked for me.

On my machine I kept both Xcode 5 and Xcode 6 .

From Xcode 6 beta, Archive the project. Close Xcode 6.

Open Xcode 5, go to Organizer and export as Ad Hoc build with proper provisioning profile.

That's it!

Upvotes: 3

Related Questions