Missing code-signing certificate

I am having trouble uploading using Application Loader. The message I get is this:

I have:

  • Deleted the certificates from Keychain Access
  • Deleted the provisioning profiles from the folder I keep them in
  • Online (developer.apple.com/account/ios), I have created new:
    • Development certificate
    • App ID
    • Provisioning profile
  • I have then opened Xcode and using:
    Xcode->Preferences->Account->View Details…->Refresh
    ​I have refreshed the list of provisioning profiles on my machine. This is reflected in the profile manager online.

I still get the message in the dialog above when attempting to upload.

Can anyone help me? Did I miss a step or is there a folder I need to clean out that I may not know about?

Thanks,

Matt

There is a folder under your homed directory:

~/Library/MobileDevice/Provisioning Profiles

You can use the Finder’s “Goto” option and paste that in. Library is hidden by default.  There you will find all the provisioning profiles used by Corona.  It’s sometimes good to delete them all and either let Xcode repopulate it or do it manually by downloading them from the provisioning portal and moving them from your download folder to that folder.  Make sure to restart Corona SDK after adding/removing profiles.

Rob

Yes, that’s exactly what I did. Twice manually without Corona running. Both before recreating my profiles and certificates and after. Same problem. (I keep the Prov.Profiles folder in my Finder favourites just for that purpose.)

Well at this point, I would normally ask for a screen shot of your Corona build screen just before you hit build.  But since you already blurred out information in the previous screen shot  that i’m going to need to see,  I’m not sure how useful my request for that screen shot will be.

Are there any other messages that application loader might be posting to the Console app?

You don’t have any hidden keys’s/certs lying around in keychain.access do you?

Make sure you don’t have an Icon? file in your folder with main,lua, no folders named Res or Resources, no UTF8 characters in the folder name, etc.   

Rob

How would I identify a hidden key or cert?

I was looking to avoid posting details like that, but I can if it helps. That is the only message out of the Loader, I’m afraid.

I have no files with ? in them and I don’t use folders in my apps. I know, that’s weird these days, but I never quite got into using them since the early days of unusual behaviour when trying to load resources.

Go into both the Keys and the Certificates  and open up any entry and look for the various development oriented keys.

Can you build an AdHoc version and install to your device with Xcode?

Yep - I pretty much cleaned out my Keychain Access. Pretty sure the only keys left were not Xcode related - but was too nervous to delete the remaining ones.

There is a folder under your homed directory:

~/Library/MobileDevice/Provisioning Profiles

You can use the Finder’s “Goto” option and paste that in. Library is hidden by default.  There you will find all the provisioning profiles used by Corona.  It’s sometimes good to delete them all and either let Xcode repopulate it or do it manually by downloading them from the provisioning portal and moving them from your download folder to that folder.  Make sure to restart Corona SDK after adding/removing profiles.

Rob

Yes, that’s exactly what I did. Twice manually without Corona running. Both before recreating my profiles and certificates and after. Same problem. (I keep the Prov.Profiles folder in my Finder favourites just for that purpose.)

Well at this point, I would normally ask for a screen shot of your Corona build screen just before you hit build.  But since you already blurred out information in the previous screen shot  that i’m going to need to see,  I’m not sure how useful my request for that screen shot will be.

Are there any other messages that application loader might be posting to the Console app?

You don’t have any hidden keys’s/certs lying around in keychain.access do you?

Make sure you don’t have an Icon? file in your folder with main,lua, no folders named Res or Resources, no UTF8 characters in the folder name, etc.   

Rob

How would I identify a hidden key or cert?

I was looking to avoid posting details like that, but I can if it helps. That is the only message out of the Loader, I’m afraid.

I have no files with ? in them and I don’t use folders in my apps. I know, that’s weird these days, but I never quite got into using them since the early days of unusual behaviour when trying to load resources.

Go into both the Keys and the Certificates  and open up any entry and look for the various development oriented keys.

Can you build an AdHoc version and install to your device with Xcode?

Yep - I pretty much cleaned out my Keychain Access. Pretty sure the only keys left were not Xcode related - but was too nervous to delete the remaining ones.

Hi horacebury,

How did you solved this?

I have the same problem.

Thank you.

Ivan

Oh yeah, clean out everything. In the end I had to redo everything from the start. It’s not that painful and is probably good as a learning curve to practice the whole thing.

I’ve been there too.  I usually just rebuild my machine if the keychain gets too messed up or if  I have got a bunch of old certificates I don’t need any more.

Not a great way to handle it, but I’ve never mastered certificate maintenance on OS X, and as a Windows guy I’m probably never going to spend the time to learn.

 i.e. OS X builds for me are quick as I don’t have any special apps on my Mac except Corona and an app for Keyboard sharing.  Windows rebuilds on the other hand take me a week to recover from…

If you are rebuilding regularly I would recommend getting your machine to a good state and making an image of the drive, whether it’s a PC or Mac. Restores then are simple and quick. Personally, I found that just cleaning up the keychain and pulling down the Cerys again is usually enough. XCode gets confused occasionally but a full wipe shouldn’t be necessary.

Thank you horacebury.

Thank you romainggamer.

I will try to resolve this,  it is really frustrating!  :frowning:

For the last two days I am dealing with this, and app is ready  :blink:

So, my steps, if I remember rightly, were…

Create a new app ID.

Create a new certificate for it (this needs to be requested via Keychain Access).

Create a new provisioning profile.

Delete all the provisioning profiles on your Mac.

Load Xcode and let it download all the provisioning profiles itself.

Load Corona (make sure it’s not running while the above is happening) and build for device, selecting the new provisioning profile.

Usually, that works. If you’re app still doesn’t get accepted by the device, it’s probably a problem with the app code itself and you should test with a completely different app.

Hi horace,

I will try as soon as I install new xCode 7.0.1 update!

AppStore servers are having problems, and I get “plist” error, as well as “503” error…

Also, when I tried to download it at apple member center portal, download always stops at 319.5MB (with a message “The connection was timed out”…).

Thank you.

Ivan