title: Bad file descriptor Xcode 8.2.1
body: <p>Swift 3 - 
  Xcode 8.2.1 (8C1002)
   - Archiving iPhone App</p>
  
  <p>I have this message when I try to archive my app : </p>
  
  <blockquote>
    <p>(Xcode) encountered read error on command output pipe (Bad file descriptor)</p>
  </blockquote>
  
  <p>I already tried <a href="https://stackoverflow.com/questions/8423575/submitting-a-mac-app-fails-with-bad-file-descriptor">this</a>  but it doesn't work.</p>