Code Sign error: Certificate identity in Xcode

When my certificate identity expired recently, I had to renew it. This was completed successfully, but when I tried to build/run my new iPhone application, I got the following error:…