title: error itms-90161 after changing version
body: <p>First of all, this is what I currently get:</p>
  
  <blockquote>
    <p>error itms-90161: "Invalid Provisioning Profile. The provisioning
    profile included in the bundle be.x.x [Payload/x.app] is invalid.
    [Missing code-signing certificate]. A Distributiion Provisioning
    profile should be used when submitting apps to the App Store. For more
    information, visit the iOS Developer Portal.</p>
  </blockquote>
  
  <p>I got this error message before I created the corresponging version in <code>itunnesconnect.apple.com</code>. After I created the correct version, I could upload my app using <code>Application Loader 3.0.</code></p>
  
  <p>When my new version was in status "waiting for review", I had to create a newer version. In order to do this, <em>(according to the message I got in the website)</em> I had to cancel the version which was waiting for review. I cancelled it and changed its version to the newer version.</p>
  
  <p>And now, although the version I send and the version whose status is "prepare for submission" in the website, are the same, I still get this error. But I'm pretty sure that there is no any issue with the provisioning profile and so.</p>
  
  <p>How can I solve this? Was there better way for my case (deleting waiting version and uploading instead newer version)?</p>