I successfully built my app for distribution, but now, it does`t build anymore for debug on my iPhone device. Xcode try to run on my distribution profile instead of my developer profile. If I change the bundle identifier for what it was before, when I build I get a Code Sign error: The identity 'iPhone Distribution' doesn't match any identity in any profile. I changed the code signing identity back to my iPhone developer profile, and still fails with the iPhone distribution error. Am I missing something here?
P.S. I already cleaned all targets, and it didn`t help.