title: XCode > Product->Archive never finish
body: <p>I am trying to archive my iOS app and upload it to iTunes connect.</p>
  
  <p>After selecting Product->Archive in XCode, the process does not go further starting from this point.<a href="https://i.stack.imgur.com/jNTrC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jNTrC.png" alt="enter image description here"></a></p>
  
  <p>I left it for more than 10 hours, but nothing seems changed. </p>
  
  <p>There is <a href="https://stackoverflow.com/questions/39934254/xcode-8-preparing-archive-takes-forever">another similar question</a> in Stackoverflow though, he takes long to archive the app and takes forever to upload to App Store. In my case, it takes me forever even to archive the app. These are the solutions for other developers of that question:</p>
  
  <ul>
  <li>delete AppleID certificates in Keychain</li>
  <li>remove iMessage Encrption Key</li>
  <li>able/unable Automatically manage signing</li>
  </ul>
  
  <p>I tried all the above solutions, all certificates are updated again after this issue appears. None of them work for me. I am totally stuck at here. Any suggestion is appreciated. Thanks!</p>
  
  <p>I am using XCode 8.2.1, macOS 10.12.3.</p>