title: "Invalid Provisioning Profile... [Missing code-signing certificate.]" for brand new, Vanilla Mac App in OS X Mavericks
body: <p>In OS X Maverick's XCode, I created a brand new Mac > "Cocoa Application", with Core Data and Spotlight Importerl; about as vanilla a Cocoa application I could muster. </p>
  
  <p>Under Preferences > Accounts, I signed in to my Mac Developer Account.</p>
  
  <p>In Targets > Identity, I set Signing to "Mac App Store", and was able to select my Mac Developer Account for "Team".</p>
  
  <p>I then went to Product > Clean, and then Product > Build for... > Running, and then Produt > Archive.</p>
  
  <p>In the Organizer, I select the resulting .app and click "Validate", and hit the Mac App Store radio, and hit "Next", and it's able to log into my Mac Developer Account.</p>
  
  <p>I select my Provisioning Profile in the dropdown, and click "Validate".</p>
  
  <p>It comes back with several errors:</p>
  
  <p>1 - "Invalid Provisioning Profile. The provisioning profile included in the bundle {BUNDLENAME} [{BUNDLENAME}.app] is invalid. [Missing code-signing certificate.] For more information, visit the Mac OS Developer Portal."</p>
  
  <p>2 - "The bundle identifier cannot be changed from the current value, '{DIFFERENT-BUNDLE-FROM-OTHER-PROJECT}'.  If you want to change your bundle identifier, you will need to create a new application in iTunes Connect.</p>
  
  <p>3 - Invalid Code Signing Entitlements.  The entitlements in your app bundle signature do not match the ones that are contained in the provision profile.  The bundle contains a key that is not included in the provisioning profile: 'com.apple.applications-identifier' in '{BUNDLENAME}.app/Contents/MacOS/{BUNDLENAME}'</p>
  
  <p>I was able to do the same process before, for a vanilla app, before Mavericks.  I'm not sure if this is a Mavericks error, or a fact that now I have multiple app projects.  Particularly odd is that DIFFERENT-BUNDLE-FROM-OTHER-PROJECT in error (2) is not the same bundle name as the current project's bundle.</p>
  
  <p>Would love any help you can provide!  Thank you!</p>