Missing or invalid signature. Not signed using an Apple submission ticket.

Just as an FYI, we made changes to the code signing before the most recent public release that fixes a ton of these signing issues.  I know Greg posted that he’s using a recent daily build, but Charlie, what version of Corona are you using?  Greg’s case is different, he’s trying to use someone else’s credentials along side his own.

Rob

In Xcode, I right-clicked on my iPad and deleted every provisioning profile that isn’t my client’s development one. I also went into preferences and deleted my account, only leaving her account, which shows her development and distribution signing identities and profiles.

I then published out the app in Corona’s daily build from yesterday using her development certificate, and in Xcode added the app to my iPad, which gave the error: App Installation Failed. The application does not have a valid signature.

I was hoping getting rid of my account in preferences and all my profiles would help.

You may need to go into Keychain Access and remove every developer related key and certificate and then just add hers back in.  I noticed that the names on her development and distribution certificates are different too.  I don’t know if that will cause an issue or not.  Does she have two different accounts with Apple?  Did she generate her key/cert pairs differently?  Can she build an app for the store (doesn’t have to be Corona an Xcode sample app would work too)?

Do you have access to her provisioning portal?  You could revoke her keys (if she’s not doing any development herself) and build them yourself using her developer login and make sure that process is accurate.

Rob

Also, have you looked in the console log for additional errors?  I was having issues last night trying to use Xcode to install a known good provisioning profile and it was giving me an error about entitlements not matching.   Comes to find out after downloading a new profile to make sure all entitlements were there, a look at the console reveled a different message.  My device wasn’t in the profile (which it was not, so much for a known good profile…), but the only reason I knew the exact cause was because I found more info in the console log.

Rob

You may need to go into Keychain Access and remove every developer related key and certificate and then just add hers back in.
I tried this before, but am going to do it again. Go to do a fresh start: part 7

I noticed that the names on her development and distribution certificates are different too.  I don’t know if that will cause an issue or not.
I was  concerned about this, too. However, when I create a certificate request in Keychain Access and add them to developer.apple.com to create the Dist and Dev profiles, those are the names that automatically appear. I can’t change that.

Does she have two different accounts with Apple?
That’s just what shows up in her developer account.

Did she generate her key/cert pairs differently?

I’m actually the one in charge of all the tech work, I have full access to her account and am making the key/cert pairs the same.

Can she build an app for the store (doesn’t have to be Corona an Xcode sample app would work too)?

I can’t get a build with the Dist profile to uploader via Application Loader 

 

Do you have access to her provisioning portal?  You could revoke her keys (if she’s not doing any development herself) and build them yourself using her developer login and make sure that process is accurate.

I’ve revoked all her stuff a few times to do fresh starts.

Here is what I tried just now:

1.) Deleted my certificates and her certificates from Keychain Access. Revoked/deleted her certificates, App ID, and profiles from developer.apple.com. Deleted all provisioning profiles from my iPad and computer. Deleted my account from Xcode Preferences. (i.e. Fresh Start)

2.) Created a certificate signing request using her name, generated a new Development Certificate using that.

3.) Created a certificate using her company name (which has been showing up as the name on the Distribution certificate anyway) and used that to create a Distribution certificate. Installed those certificates so they appear in Keychain Access.

4.) Generated a new App ID and Distribution and Development Profiles, Downloaded them, imported them onto my iPad via Xcode and refresh her profile in Xcode Preferences to make them appear under her account.

5.) Published the app using her Development profile in Corona SDK.

6.) In Xcode, added the app to my iPad, got an error saying it doesn’t have a valid signature.

7.) In Corona SDK, published the app using the Distribution Certificate, tried to upload via Application Loader 3.0.

8.) Received new error: ERROR ITMS-90034 "Missing or invalid signature…not signed using Apple submission certificate."

9.) Here is what I get on my iPad in Xcode when trying to install the developer version of the app. http://www.ganimations.com/consoleLog.txt

More interesting news…

I deleted my client’s certificates/profiles/appID/etc. from my computer and iPad.

I downloaded and installed my certificates, profiles, etc. on my MacBook and iPad and published out an app that is already on the App Store in Corona SDK using the developer certificate, which is also installed on my iPad via Xcode.

I get the same error  App Installation Failed. The application does not have a valid signature.

Just to be sure it isn’t my iPad or the fact that the app was made using Kwik, I also tried installing another iOS iPhone app on my iPhone 5, which is also already on the App Store and get the same error.  App Installation Failed. The application does not have a valid signature.

Well, thanks to Charles McKeever, I figured it out…kind of.

It turns out the errors are related to my computer. If I create the certificate signing request on my computer, make the profiles/certificate/app ID, etc. on there, and publish out in Corona I get nothing but errors.

If Charles creates the signing requests on his machine, no problems at all for testing or distribution.

If I create it on my wife’s computer, it works fine as well.

So on my MacBook, I uninstalled Xcode, reinstalled Xcode, restarted my computer, cleared all Keychain certificates, cleared all provisioning profiles from Mac and iPad, repaired Keychain Access and it still gives errors. Looks like for whatever reason, I have to publish the apps on my wife’s MacBook.

Rob,

I’m using version 2014.2511

Last I looked, that was the latest version. Let me know if there’s a newer version and how I can get it (I use the free starter version).

Also, similar to the woman that GP is doing work for, my development account and my distribution account have different names with Apple. I’ve read that this can be a problem. Do you think that has something to do with my inability to publish?

Thanks

Charlie, I was just able to publish this even though the names are different. I had to use a different MacBook, though (still investigating this). However, my client did receive an email warning about the 32/64-bit issue that is starting Feb 1st. How do we get around that? Is Corona going to release an update to automatically solve it?

Any apps you release before Feb 1, 2015 can have 32 bit slices.  You only have to worry about this if you are releasing after 2/1 and we hope to have a solution to this before we get to that date.

Rob

Okay, thanks Rob!

BTW I have no idea why my computer can’t make good signing requests.

1.) Uninstalled Xcode

2.) Restarted

3.) Reset Keychain Access to Default

4.) Ran Keychain Access First Aid

5.) Installed Xcode from Mac App Store

6.) Restarted

7.) Revoked my Dist. and Dev. Certificates from developer.apple.com

8.) Created Signing Request in Keychain Access

9.) Generated Dist. and Dev. Certificates

10.) Generated new App ID

11.) Created new Dev. Provisioning Profile

12.) Started Xcode

13.) Added account in Xcode Preferences

14.) Refreshed to find Certificates and Profiles

15.) Removed all provisioning profiles from iPad in Xcode

16.) Added new Dev. profile to iPad

17.) Quit and Restarted Xcode

18.) Installed today’s Corona SDK Daily Build

19.) Opened app, published using Dev. profile

20.) In Xcode, tried to add app to iPad

21.) Got error  App Installation Failed. The application does not have a valid signature.

And again, on my wife’s MacBook Pro, no problems whatsoever. It’s all on mine even after reinstalling Xcode and setting Keychain to Default.

Can you build a very basic project in Xcode?

Rob

Nope. I check the provisioning profiles on my iPad and there’s one I called “BigCityBoston”. In Xcode, the bundle identifier is “com.gpanimations.BigCityBoston”, the team is my iTunes developer account, Xcode preferences show my account with Dist. and Dev. and provisioning profiles, but even in Xcode I get the error: " App installation failed. No code signature found." when I try to test on my iPad.

Rob,

It seems that I have the latest publicly available version of Corona at version 2014.2511. I have done most of what GP has done to my system and also my my certificates etc… by cleaning everything out and revoking and starting fresh. I even factory reset my keychain and then started from scratch with everything.

I still can’t publish an app without getting the “Missing or invalid signature” response from Apple.

Also, now when I build from Corona, even though I’m using a distribution certificate, I don’t get a ZIP file created and the ability to upload using Application Loader like I was getting before I tore everything down and started from scratch which leads me to believe that I’m only building for my device and not for the store for some reason.

Isn’t there a basic step by step tutorial for users like me who have never used Xcode for anything and have built an app using the Kwik plugin in Photoshop and is trying to use Corona to build and publish? That’s what I need.

Thanks for your help --Charlie

I just tried it with the next Xcode Beta as well to no avail. Even deleted every certificate from Keychain prior so that way Apple would install them as needed during the builds.

It’s just something on this particular computer that’s not letting me build properly. It works just fine if I use my wife’s MacBook to build from scratch, but no matter what I do on this MacBook using the same software, it just gives errors. Maddening. :angry:

Charlie, there are probably plenty of Xcode tutorials on building for the app store and setting up your keys.  We have our own guide which is pretty accurate and many people are successful setting this up.

If you can eliminate Kwik and Corona out of the equation would be helpful.  Find some basic Hello World Xcode project tutorial and some publishing to the store tutorial and see if you can get your credentials working correctly.  When you get us and Kwik out the way and you’re having problems, then Apple can help you figure out precisely what might be wrong with your developer account.  If you can successfully build with Xcode, the next step is to build a Corona SDK sample app, like our “Hello World” and see if you can deploy it to the App Store.  Then finally we can work Kwik into equation.

But now that you’ve mentioned Kwik, it’s possible that it could be creating an invalid bundle.  Why don’t you start by trying to build hello world and see if you can submit it.

Rob

Greg, what happens if you try to build a hello world Xcode project and try to deploy it?

Rob

App installation failed. No code signature found.

Well if all third party parts are out of the way, perhaps Apple can help you figure out what’s going on.  I know once you mention a 3rd party product like Corona, that’s the end of their support, but if you’re having this trying to deploy an Xcode built app, then their support might help figure out this weirdness.

Rob