I have to change the name of my app. I've done the following (Xcode 4):
Targets > Packaging > Product Name
And changed the name (for dev/ad hoc/release). When building I get the following error
Code Sign error: The identity 'iPhone Distribution' doesn't match any identity in any profile
If I change the name back, it works fine. I can't submit to the store with the original name (the one that works). Do I need to create a new app ID in the provisioning portal? I'd hate to do that because I have push notifications already tied to the existing app ID.
I've tried 'clean' and then building again - doesn't help.