No Code Signature Found - Worked once this morning...

I need some assistance trying to get a basic app onto my iPhone 4S.
It worked once this morning, and any subsequent tries afterwards gives me a "No Code Signature Found" when trying to drop the app onto my device from the Xcode Organizer.

From what I can tell, the Provisioning profile is on the phone, a basic Xcode app will deploy to the device with no issues. The App works fine in the Xcode Simulator as well as the Corona Simulator.

I even tried going through the docs to create a new Ad Hoc provisioning profile and built against that, but still the same thing.

Any one have any other ideas?

Thanks,
Dower

Have you checked your keychain for any expired certificates?
Sometimes expired certificates can mess things up a bit.
If you find any expired ones, you can safely delete them.
Also, use the Xcode Organizer to check your provisioning profiles both in the Library and Device sections to make sure all your profiles are valid.

After deleting expired certificates/profiles, just recompile and try again.

Thank ingemar for the suggestion.

From what I can see, I don't have any expired certs. I even deleted and re-imported my certificate from my Apple account.

I went to the Apple Provisioning Portal and created a brand new provisioning profile. I downloaded them and installed them in Organizer. I can see both my phone and Library have the same provisioning profiles installed.

I also power cycled my phone and restarted my Macbook Pro.

I can compile and deploy apps from Xcode to my phone, but any of my builds from Corona give me the "No Code Signature Found".

I made sure during the build process from Corona to choose the correct Code Signing Identity too...

I can't see how it ran once yesterday on my first attempt, and now it just refuses to work... sigh...

I guess the other thing I can try is to start over from the certificate, and generate a new one... Maybe even completely empty out my Apple profile and start from scratch?

OK I finally got it working.
I guess it's a lesson for reading the documentation more closely...
I was under the impression that you still needed to use the Xcode Simulator build type and not DEVICE. But after more careful analysis of the docs, I needed to use DEVICE... I was being thrown because of the App Submission warning that comes up when you use DEVICE.

So, ok, now I got the app onto the device...

Lesson - USE BUILD FOR DEVICE to put on the device... duh...

views:3181 update:2012/1/11 9:01:14
corona forums © 2003-2011