Keystore when moving from ios server

I currently developped an App, and published it for Android and iOS.

Developement for Android is done on https://ai2.appinventor.mit.edu/ server, while I was using https://iosbuildservertest.appinventor.mit.edu/ server for iOS version.

Now that official server version nb202b is also supporting iOS build (THANKS a lot), I 'd like to use only this server. I exported my project from iosbuildserver, and imported it in the generic server, buit when I try to build the .ipa, I have a signing error:

image

I assume this is due to keystorec (if I well undeerstood: App signing and keystore), but If I export my keystore from ios server, and import in generic server, my other Android Apps will fail ....

What is the right way to handle this situation,

Thanks a lot for your help

Here's what you need to do:

  1. In the developer portal. delete your old certificate used for signing apps with iosbuildservertest
  2. In ai2, use the Download Certificate Request to create a CSR with your ai2 keystore
  3. Upload the CSR to Apple following our existing instructions on how to create a certificate
  4. Edit your provisioning profiles to select the new certificate
  5. Remove the old provisioning profiles from your project asset and import the new provisioning profiles that reference your ai2 certificate

Once you've done that, signing will happen with your ai2 keystore.

Edit: Alternatively, if you do not rely on your ai2 keystore for anything, you could just export the keystore from the test server and import it here.

Always make backups of keystores since we are unable to recover them.

1 Like

Evan's last tip is certainly the most important step of all (at least if any app has been published on the Play Store, App Store, or elsewhere). I've kept all my keystores (AI Classic, AI2, AI2 iOS, AppyBuilder, Kodular, Niotron, etc.) safe from the start in various locations (computers, USB sticks, my own server). Because NO ONE can recover a lost keystore.