Search code examples
iphoneiosxcodecode-signingprovisioning

Distribution Certificate


I'm trying to make an app store build for a project that I recently inherited. After downloading and importing the distribution certificate, Xcode (naturally, since I don't have the private key) fails with "...doesn't match any valid, non-expired certificate/private...". I suppose I can create a new distribution cert but I prefer to use the existing one. Will it be sufficient to obtain and import the private key into my keychain?


Solution

  • Short answer: Yes. Export it from the other machine and import it back to your keychain.