cannot install application on phone

I developed a simple application to teach myself some Xcode and I can no longer run the application on my iphone. Anytime I launch the app, I get the errors



Automatic signing failed: Xcode failed to provision this target. Please file a bug report at <http:/

Code Signing Error: Signing certificate is invalid. Signing certificate "iPhone Developer: *****@*****.**** ", serial number "**********, is not valid for code signing. It may have been revoked or expired.


I am new to xcode and not sure what to do or how to move forward. Any help would greatly be appreciated.

Replies

Do you have a paid Developer Program account or are you using 'free provisioning'...?