title: How to use codesign command
body: <p>I am trying to use codesign command to sign bundle.</p>
  
  <p>First of all I have got p12 file and I have imported into my keychain.</p>
  
  <p>However when I try to use codesign like this:</p>
  
  <pre><code>codesign -v --force --verify --deep --verbose --sign &lt;ID&gt; &lt;MyApp.app&gt;
  </code></pre>
  
  <p>It says 'no identity found'. The identity field I got it from <a href="https://i.stack.imgur.com/p2bLR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p2bLR.png" alt="enter image description here"></a></p>
  
  <p>What am I doing wrong please?</p>
  
  <p>Thanks in advance</p>