title: Xcode code signing issue
body: <p>I was trying to build and archive my app to submit it, when I realized that I had used xcode 6  beta to do that. So I closed it and opened xcode 5 and did all of this again. When the Xcode Organizer tries to validate the archive it gives me following error:</p>
  
  <p><img src="https://i.stack.imgur.com/1Jz4O.png" alt="Error"></p>
  
  <p>What I have tried:</p>
  
  <ul>
  <li>Dis/Enabled iCloud function</li>
  <li>Regenerated provisioning profiles</li>
  <li>setup all profiles correctly in build phases
  <img src="https://i.stack.imgur.com/0ZX21.png" alt="enter image description here"></li>
  </ul>
  
  <p>Any idea how to fix this???</p>