Generating the Distribution Certificate & Provisioning Profile

General

1). Create a CSR from Keychain

  • Go to keychain access  -> Certificate Assistant -> Request Certificate -> Save it to Desktop
  • Formart :
    • Key Size: 2048 bits
    • Algorithm: RSA
  • save

2). Developer.apple.com

  • Certificate identifier and profile
  • Certificate
  • Type : Production
  • Add
  • Production
  • In-House and Ad Hoc
  • Continue
  • Choose certificate request file
  • Continue to generate
  • Download
  • Double Click Certificate File
  • Click on Certificate and Export ⇒ Click Save3). Provisioning Profile
    • Add (Distribution)
    • In House
    • Continue
    • Choose APPID
    • Select Certificate
    • Give the name to provisioning Profile
    • Generate
    • Download to mac
    • .mobileprovision and .p12 select both and compress it for use in future

    4). Resolve ⇒ iOS Missing or Invalid Signature: The bundle is not signed using an Apple Submission Certificate

  • Will get .p12 Certificate file
  • Open KeyChain Access application
  • Click Login in left-top Keychains section and then select Certificates from bottom-left Category section
  • Select “Apple Worldwide Developer Certification Authority”, right click Get info
  • Change Trust value to “Use System Defaults”

⇒ Reference : https://www.youtube.com/watch?v=Xh2nnjttOwo

Leave a Reply

Your email address will not be published. Required fields are marked *