title: xcode connecting distribution provisioning profile to development certificate
body: <p>Im using xcode and I want to upload my app. In order to upload I need to build my app with the distribution provisioning profile. I have a valid distribution provisioning profile but when i try to build xcode gives my this error:</p>
  
  <p>Code Sign error: The default keychain doesn't have an identity matching the profile 'Dodge    Cars Free Distribution1' and identity 'iPhone Developer: Rajeev Arora (4DL7HDW3F2)'</p>
  
  <p>What i understand is this means xcode is trying to check the validity of my distribution provisioning profile with a development certificate. Obviously this wouldn't work. How can i get xcode to recognize that my provisioning profile is for distribution? I've tried making a new distribution profile with no results.</p>
  
  <p>EDIT</p>
  
  <p>I found a solution I guess. I tried building with one of my old provisioning profiles and it worked</p>