I am creating an app in IOS with Cordova (2.1.0) framework. When I build the app for the device selected in Xcode, it gives me following error:
**The identity 'iPhone Developer: balh-blah (XXXXXXXX)' doesn't match any valid, non-expired certificate/private key pair in your keychains.**
This is becoming a bottleneck. I have tried deleting derived data for the project, but it doesn't solve the issue. Also, the provisioning profile I select in build settings has not expired.