ios builds failing again?

38 views
Skip to first unread message

Dave Dyer

unread,
Jun 25, 2020, 6:12:34 PM6/25/20
to CodenameOne Discussions

seems to be complaints about not finding certificates, but re-running the certificate wizard didn't help.
error.txt

Shai Almog

unread,
Jun 25, 2020, 10:50:59 PM6/25/20
to CodenameOne Discussions
It seems your certificate is missing from the build. Did something change in your paths?
Did your certificate expire?

Dave Dyer

unread,
Jun 26, 2020, 2:14:18 AM6/26/20
to CodenameOne Discussions
Expired,  but I ran through the certificate wizard successfully.

Dave Dyer

unread,
Jun 26, 2020, 2:18:16 AM6/26/20
to CodenameOne Discussions
I think I had manually relocated the old certs to a place in my dev source tree, but
I didn’t redo the relocation after making new certs. I left everything exact as the
Wizard created it.


On Thursday, June 25, 2020 at 7:50:59 PM UTC-7, Shai Almog wrote:

Dave Dyer

unread,
Jun 26, 2020, 3:00:03 AM6/26/20
to CodenameOne Discussions
All the certificates and links to them in the preferences file
seem to be correct, and all the certificates have today's date.

Dave Dyer

unread,
Jun 26, 2020, 3:35:33 AM6/26/20
to CodenameOne Discussions

Dave Dyer

unread,
Jun 26, 2020, 12:18:57 PM6/26/20
to CodenameOne Discussions

I succeeded in making new builds after re-running the certificate wizard and
answering "yes" to all the "generate new" and "override existing" questions.

IMO something is broken if I can run through a lengthy interaction with the
certificate wizard, have no apparent errors, and still generate certificates that
do not work and can't be used to make builds. .. but that's exactly what I did.

Shai Almog

unread,
Jun 27, 2020, 1:17:10 AM6/27/20
to CodenameOne Discussions
We're currently reworking the flow/interaction of the certificate wizard from the ground up. I agree it's pretty complicated and error prone.

Dave Dyer

unread,
Jun 27, 2020, 4:36:59 PM6/27/20
to CodenameOne Discussions
There's also a systemic problem if you have multiple projects, you tend to be prompted to create
new certificates which invalidates all the other certificates.   There ought to be a concept of a
single pair of certificates shared by all projects.

Shai Almog

unread,
Jun 27, 2020, 10:23:26 PM6/27/20
to CodenameOne Discussions
We cache the local certificates but we ask the wrong questions and some things might not work with that flow.
We streamlined that in the new flow and will try to reuse the local certificate without even asking. You could still run the wizard to generate provisioning and push certificates only.
Reply all
Reply to author
Forward
0 new messages