IOS builds failing

35 views
Skip to first unread message

Dave Dyer

unread,
Nov 2, 2017, 6:28:05 PM11/2/17
to CodenameOne Discussions
The salient complaint in the error log seems to be
IDEDistributionErrorDomain Code=1

I see some traffic about this a year ago, but nothing recent




Shai Almog

unread,
Nov 3, 2017, 1:28:04 AM11/3/17
to CodenameOne Discussions
We need full logs to help with these things otherwise I'm just guessing. Notice provisioning and signing expire annually so you need to regenerate them if it's been a year.

Dave Dyer

unread,
Nov 3, 2017, 3:44:42 AM11/3/17
to CodenameOne Discussions
1) It probably was the certificates expired.   Not a very friendly way to detect the problem.

2) the certificate wizard doesn't interact well with apple's 2fa.  I was unable to get it to run
until I turned 2fa off.

3) at the end of the installation process, the certificate wizard offered to rewrite my build.xml files, which
undid all my customizations.  It was apparently not necessary.  It also didn't make a backup of the file
it replaced.

Shai Almog

unread,
Nov 4, 2017, 1:32:21 AM11/4/17
to CodenameOne Discussions
1. We tried to improve some of that. I'm not sure there is an easy way for us to detect expiry but please file an RFE and we'll try to check that

2. It's something we added a few months ago and it should work. Is your plugin up to date? Which IDE are you using and what exactly did you see?
I'm assuming you used  the version in Codename One Settings?

3. That's Codename One Settings. It always offers to update the build.xml if there is a change. We probably need to do something similar to what netbeans did and move all of our code into an impl.xml. That's something we are thinking about as part of an overhaul of Codename One's update process which needs more work.

Dave Dyer

unread,
Nov 4, 2017, 3:33:41 PM11/4/17
to CodenameOne Discussions

2. It's something we added a few months ago and it should work. Is your plugin up to date? Which IDE are you using and what exactly did you see?
I'm assuming you used  the version in Codename One Settings?

I just installed Eclipse Oxygen and the current version of the plugin.

3. That's Codename One Settings. It always offers to update the build.xml if there is a change. We probably need to do something similar to what netbeans did and move all of our code into an impl.xml. That's something we are thinking about as part of an overhaul of Codename One's update process which needs more work.

I'd be happy if you just made a backup.  There are always going to be problems with updates to customizable xml files.

Shai Almog

unread,
Nov 5, 2017, 1:01:39 AM11/5/17
to CodenameOne Discussions
If you can post a screenshot of what you saw when doing the 2f authentication that would be helpful. Its a hard feature to debug.

Dave Dyer

unread,
Nov 5, 2017, 2:00:24 PM11/5/17
to CodenameOne Discussions
The effect was that my ipad popped up an authentication code, but there was no place to enter
it on my pc. 

Shai Almog

unread,
Nov 6, 2017, 12:16:27 AM11/6/17
to CodenameOne Discussions
Thanks. Something must have broken. Most of us disabled 2 factor as it has a lot of problems with some setups.
Reply all
Reply to author
Forward
0 new messages