title: Fixing Command /bin/sh failed with exit code 1
body: <p>That the error xcode appear:</p>
  
  <p><a href="https://i.stack.imgur.com/0G5Qg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0G5Qg.png" alt="enter image description here"></a></p>
  
  <p>I had already tried that question no helpful:</p>
  
  <p><a href="https://stackoverflow.com/questions/26620038/code-sign-error-command-usr-bin-codesign-failed-with-exit-code-1">Code Sign Error - Command /usr/bin/codesign failed with exit code 1</a></p>
  
  <p>I'm trying to upload an App from a not mine account.
  I've imported the profile to Xcode. </p>
  
  <p>I've the .mobileprovision for distribution and .p12 certificate already imported.</p>
  
  <p>But when I try to archive I get the above error. 
  How can I fix it?</p>