I get this build error when I build my iPhone project to run on my device:
**Code Sign error: The identity \'iPhone Developer: x Xxxxx\' doesn\'t match any
If you have multiple developer accounts, then make sure you're signed into the right one in xCode- that was the problem when I had this error.
I think you need to create new provisioning profiles based on your new certificate.
Log on to developer.apple.com and go to the iOS Provisioning Portal -> Provisioning -> Development. Most likely, the profile you once created has expired, so just renew and redownload it.
Silly me... The problem was I still needed to create a new "Provisioning Profile" which uses the new certificate in the iPhone program portal and load it into Xcode. I didn't need to add the extra string after my name in the code signing section for debug.
Following kw4m3n4's answer, I found the special characters (umlaute) in my name where messed up in the file. I fixed it like this:
For me the problem was that I did choose debug on device by accident, as I inteded to switch to iPhone simulator. To debug on an emulator it worked as before by selecting simulator in the menu.