title: Getting this error command /usr/bin/codesign failed with exit code 1 with xcode 9.1?
body: <p>I am getting this error </p>
  
  <pre><code>/Users/macbook/Library/Developer/Xcode/DerivedData/xxxxx-egjyfcyhdfcgftavbtoudbcgthja/Build/Products/Debug-iphoneos/xxxx.app: unknown error -1=ffffffffffffffff
  
  command /usr/bin/codesign failed with exit code 1 
  </code></pre>
  
  <p>with xcode 9.1/ios11.1 while building the application, earlier i was able to run my application smoothly. Any idea what could be the issue. I have already tried following steps:</p>
  
  <p>Deleting all the Derived Data.</p>
  
  <p>update all provisioning profile and certificates.</p>
  
  <p>But still no luck.</p>