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

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

Done.

Thank you for contacting Apple Developer Technical Support (DTS). This acknowledgment is automatically generated and does not require a reply.

I know it’s related to this machine only because Charles McKeever was kind enough to screen share with me over the weekend and when he and I repeated the same steps in the same order, it worked for him and not for me.

Then I did it again on my wife’s computer and it worked for me. Then I threw this laptop out of a 2nd story window in frustration, but it still didn’t help. :wacko:

Apple responded to my tech support ticket with the obligatory how-to guide of creating provisioning profiles. I responded with step-by-step screenshots of every possible step from creating certificates to trying to get an Xcode-created Hello World app to appear on my device instead of just the iOS Simulator.

After going back and forth with Apple and proving to them it’s not something I’m doing, they admitted they have no clue what’s wrong. They said I should just open a bug report, which I’ll have to do later. Maybe it’s the same for you, Charlie?

Yes, exactly the same for me over here and has been for the past few months. I’ve got 2 projects finished for clients and can’t publish because of this issue. I have been through the Apple support queue several times and have not gotten anyone that knows why this is happening.

A bug report MAY get results but I’m skeptical. Worth a try though. Please let me know if they are able to figure it out.

In the meantime, I’ll try what Rob suggests and see if I can get a simple “Hello World” app submitted and take it from there.

Yeah, I’ll keep you posted. The guy who has been offering tech support is going to follow up with the bug reporting engineer who gets the report as well. Here’s what I tried and listed in my report:

Mid 2012 MacBook Pro

OSX 10.10.1
Xcode 6.1.1 (also later tried 6.2 beta 4)
Application Loader 3.0
Keychain Access 9.0

Creating certificate signing request, certificates, App ID, and provisioning profiles on one MacBook Pro leads to “App Installation Failed. The application does not have a valid signature.” when trying to test the app on iPad 3.

Replicating same steps in same order on a different MacBook Pro results in correct build and ability to test on same iPad 3. Both MacBooks have the same specs and software.

Steps to Reproduce:
Steps to Attempt Correction:
1.) Uninstall Xcode 6.1.1 and Restart MacBook Pro
2.) Re-install Xcode 6.1.1
3.) Restart MacBook Pro
4.) Reset Keychain Access 9.0 to Default
5.) Run Keychain Access First-Aid
6.) Revoke All Certificates from developer.apple.com
7.) Delete App IDs from developer.apple.com
8.) Delete Provisioning Profiles from developer.apple.com
9.) Remove Provisioning Profiles from iPad 3 via Xcode 6.1.1
10.) Delete App Developer Account from Xcode > Preferences
11.) Create new Certificate Signing Request in Keychain Access 9.0
12.) Create new Development and Distribution Certificates on developer.apple.com using Certificate Signing Request
13.) Create new App ID called “MyApp” on developer.apple.com
14.) Create Development and Distribution Provisioning Profiles using MyApp
15.) Download Certificates and Provisioning Profiles
16.) Add Developer Account via Xcode Preferences
17.) Refresh Account to display Development/Distribution Certificates & Provision Profiles
18.) Add Development Provision Profile to iPad via Xcode > Devices
19.) Restart Xcode
20.) Open HelloWorld app.
21.) Set up Xcode to Automatically Manage Profiles as recommended by Apple Developer Technical Support (https://developer.apple.com/library/ios/qa/qa1814/_index.html#//apple_ref/doc/uid/DTS40014030)
22.) Attempt to test on iPad and receive “App installation failed. No code signature found error.”
23.) Uninstall Xcode 6.1.1
24.) Restart Computer
25.) Install Xcode 6.2 Beta 4
26.) Repeat steps 3-22

I finally am able to test apps on my iPhone and iPad! An update is now available for OSX Yosemite (10.10.2) so I installed that and now I can test apps on my devices again.

Explains why I never had any issues prior to updating to Yosemite.

Glad that’s solved!

I even reinstalled all of Apple’s .cer files just in case and that didn’t help. Revoked all certificates, app ID, profiles, etc. and did a fresh start and nothing. Just had to submit a tech support ticket to Apple to see if they can help. Hopefully it’s not on Corona’s end and they just point the finger.

GP,

I’ve found that Apple absolutely will not support anything that isn’t built with their tools. As soon as I mention Corona to anybody at Apple, their immediate response is “We can’t support third party applications”. Let me know if they actually do help you.

Thanks --Charlie

Hi Greg,

This kind of thing happens even to the best of us, and very likely you’re missing one tiny step somewhere along the way. Before trying to install the app on your device(s), did you sync it up, then check in Xcode that the profiles are installed on that device with no errors?

I assume you’ve seen (and followed with extreme care) our iOS Distribution guide:

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

Also, try removing the “CFBundleIdentifier=“com.bigcityanimals.bostonbernie”,” key from your build settings. I don’t think that’s necessary.

Brent

Hey Brent,

I went through every step numerous time for the past couple days and tried different varieties of build.settings, icons, profiles, certificates, etc. I have a .zip folder of the exported project and screenshots of every step if you think it’d help.

It should also be noted that when I use a Development certificate to install the app on my iPad via Xcode > Devices > + I get the error “App installation failed. The application does not have a valid signature.”

I tried this with both my client’s developer profile and mine. Both of our accounts show up in Xcode > Preferences and all corresponding certificates and profiles appear under our accounts.

Hi Greg,

I’m looking at your source files and screenshots (sent to me by another Corona staff member). Things appear OK, but these issues are always tricky.

  1. Can you remove that key-value pair that I suggest and try again?

  2. I assume from the Xcode “Preferences > Accounts > View Details…” window, you clicked on the little “refresh” button in the lower-left corner? Then, you synched up your device, restarted the Corona Simulator, and tried to re-build using the proper profile?

  3. Can you show me a screenshot from the Xcode “Devices” window (Command-Shift-2), where you right-click the device (when it’s connected via its cable) and select “Show Provisioning Profiles…” ?

Brent