App installation failed. No code signature found.

I am at my wits end having spent an entire day in Google, CoronaLabs, and Apple trying to sort this out.

I developed a game in Corona Labs 2016.2830.  It works fine on the simulator.  When I first built it, the only build option I had was for 9.3 beta.  Also, when I first built it I received an error that there was some issue with my certificate, and also received the “App installation failed.  No code signature found.” error message.  So, after much googling I did the following:

  • Removed all provisioning profiles.

  • Removed expired certificates from Keychain.

  • Created a new provisioning profile that is specifically for this individual app (no wildcarding) and downloaded that provisioning profile.

  • Renamed XCode.app to XCode_731.app and downloaded Xcode 7.2.1.

After doing all these steps, when I built for iOS I no longer receive the certificate error messages, but I am still receiving the “App installation failed.  No code signature found.”.  And in addition, I am now receiving the error “Could not find developer disk image” when I try to copy the app to my iPhone.  My iPhone is on iOS 9.3.2 (not supported by XCode 7.2.1).  I tried copying the app to the phone using XCode 7.3.1 and I do not get the developer disk image error, but still getting the no code signature found error.

Any suggestions?

Let me suggest trying to get everything to the same place. Get rid of your old xcode folders. Download daily build 2903. It’s very stable. Install Xcode 7.3.  Clear out ~/Library/MobileDevice/Provisioning Profiles.

Go into Key Chain access and delete any keys and certificates that are tied to your developer account and start with a fresh certificate and newly created profiles.

And try it again.

Rob

Tried that - no luck.  I completely deleted all certificates and provisioning profiles from Apple Developer site.  Deleted certs and provisioning profiles from my keychain and on disk.  Re-installed XCode 7.3.1.  Installed latest daily build of Corona SDK.  Created new bundle ID on Apple Developer.  Created new “App” on iTunes Connect using that bundle ID.  Created new cert on Apple Developer and installed in Keychain.  Created new provisioning profile using new cert and new app with my existing test devices.

Rebuilt app from Corona and it runs fine in simulator.  Tried dragging the generated App onto my device in XCode and still getting:

App installation failed. No code signature found.

Let me suggest trying to get everything to the same place. Get rid of your old xcode folders. Download daily build 2903. It’s very stable. Install Xcode 7.3.  Clear out ~/Library/MobileDevice/Provisioning Profiles.

Go into Key Chain access and delete any keys and certificates that are tied to your developer account and start with a fresh certificate and newly created profiles.

And try it again.

Rob

Tried that - no luck.  I completely deleted all certificates and provisioning profiles from Apple Developer site.  Deleted certs and provisioning profiles from my keychain and on disk.  Re-installed XCode 7.3.1.  Installed latest daily build of Corona SDK.  Created new bundle ID on Apple Developer.  Created new “App” on iTunes Connect using that bundle ID.  Created new cert on Apple Developer and installed in Keychain.  Created new provisioning profile using new cert and new app with my existing test devices.

Rebuilt app from Corona and it runs fine in simulator.  Tried dragging the generated App onto my device in XCode and still getting:

App installation failed. No code signature found.