Search code examples
ioskeychain

Pre add data to app keychain before uploading to the app store


Can I add some secrets to the app keychain before shipping it ? If yes what is the right approach?

Shani


Solution

  • No.

    The keychain is accessed when the application is running, therefore you can't do anything before the app is released. You can add your secrets when the application is first run, but the app must be uploaded and available for the user before it can do this.

    Check out the Keychain programming Guide.