title: Xcode Command /usr/bin/codesign failed with exit code 1 : errSecInternalComponent
body: <p>I am trying to add new provisioning profile to my Xcode, to test an app on the device. Here are the steps I followed:</p>
  
  <ol>
  <li><p>Deleted all certificates and provisioning profiles</p></li>
  <li><p>Create/Add IOS Dev Certificate </p></li>
  <li><p>Add My IOS Device Online</p></li>
  <li><p>Create IOS Provisioning Profile </p></li>
  <li><p>Add IOS Provisioning Profile </p></li>
  <li><p>Clean App</p></li>
  <li><p>Build Then Run App</p></li>
  <li><p>Set Codesigning nd Provisioning Profile In Build Settings</p></li>
  <li><p>Lots of Googling > to no successes </p></li>
  </ol>
  
  <p>Here is the error I get:</p>
  
  <pre><code>CSSM_SignData returned: 800108E6
  /Users/alexpelletier/Library/Developer/Xcode/DerivedData/MyExpense-efnqzvoqwngzcmazaotyalepiice/Build/Products/Debug-iphoneos/MyExpense.app:     errSecInternalComponent
  Command /usr/bin/codesign failed with exit code 1
  </code></pre>