Search code examples
ioscertificatecommand-line-interfaceexpo

Expo how to get autogenerated ios certificates?


I did use expo build:ios. Then let expo to handle certificates creation. So it created three things:

  • Distribution certificate
  • APNS certificate
  • Provision profile

I need distribution certificate with private key for p12. From apple.developer i can download only open key. Where expo storing private cert and how to get it (add to keychain)?


Solution

  • expo fetch:ios:certs
    

    Above command would save generated certificates under the project root.

    You can check more detail by expo --help.