codenameone

Failed to generate certificate and provision file with iOS certificate wizard


I want to generate a certificate and provision file with cn1 certificate wizard but I get an error message. enter image description here


Solution

  • I'm assuming this is happening in the final stage of the process, right?

    Login to your Apple account and try to generate a certificate via the web interface. For most cases this will trigger an error that will lead you to an agreement you haven't approved yet. Once you do that the certificate wizard should work.

    Also check out the output in the IDE while running Codename One Settings (assuming you're using maven). There might be more detailed error messages in the console that can be useful for debugging.