1
votes

I'm trying to get the Hello World app running on a iPhone, but have been getting a confusing error. I've tried this 4-5 times over the last 4 days with the same results. Here are the steps I have followed:

1- I started with a fresh NetBeans install (NetBeans 8.2 Patch 1 under Windows 7), installed the plugin (v3.6.0), and created a new CodenameOne Project named 'Hello' from the Flat Blue theme and the template 'Hello World (Bare Bones). I set the package name to something unique as required.

2- Then I went to developer.apple.com and revoked any certificates that were there, and deleted all of the appIDs and Provisioning Profiles. There is one iPhone5 device specified. I believe this should give CodenameOne a clean slate to work with.

3- Back with NetBeans and CodenameOne, I invoked the 'iOS Certificate Wizard', specified my AppleID/pswd when requested (yes they are valid!), and selected my iPhone device. The next screen summarized the certs (2 of them) and an AppID to be used to generate the provisioning profiles. On the next step, I get the error: "Could not create the appstore profile." with accompanying messages to the effect that "The Apple Developer website is undergoing maintenance", etc. I've included the screen capture:

screen capture of the error

When I check https://developer.apple.com/system-status, everything looks like it should be ok. If I look at my Apple Developer Account, Codename One has generated an iOS Development Certificate and an iOS Distribution Certificate, but not any App IDs or Provisioning Profiles.

FWIW, the plugin is version 3.6.0 from the default update site (https://codenameone.googlecode.com/svn/trunk/CodenameOne/repo/netbeans/updates.xml)

Has anyone else had this problem? I'm at a loss as to what to try next.

Any help would be appreciated.

Thanks, Terry

1
Try to generate the certificate through iOS Signing that could be found by right-clicking your project and go to CodenemeOne Settings. Also, check to make sure you don't have any pending agreement to accept under your Apple Dev account. - Diamond
I have no idea where you got codenameone.googlecode.com/svn/trunk/CodenameOne/repo/netbeans/… from but that hasn't been the source to install Codename One for at least 2 years... - Shai Almog
Shai, that's the library that was installed by default when I installed the NetBeans plugin. What should I be using? - Terry Wilkinson

1 Answers

1
votes

On trying to generate a certificate on my side, I experienced the same issue.

It's a generic 'come back later' message from Apple.

Contact Apple and I will do the same to let them know about the issue.

Their system status is an idle dashboard which is unreliable.

Edit:

On trying again, I clicked Ok on that message and proceeded. The certificates and Provisioning Profiles were generated successfully and the app works fine with the certificates.