title: Codesign and Ambiguos identity, matches "Mac Developer" and "iPhone Developer"
body: <p>I'm in the process of release testing a library. The process requires testing on a Jail Broken iOS device. For that, I use an old iPad 1 running iOS 5.1 jail broken with <a href="http://blog.iphone-dev.org/" rel="noreferrer">RedSn0w</a>.</p>
  
  <p><a href="http://blog.iphone-dev.org/" rel="noreferrer">RedSn0w</a> does not patch the Gatekeeper service (code signing), so I need to use my developer account and sign the binary I am testing (Absinthe does patch Gatekeeper, and its why you can use <code>ldid</code> to generate phony signatures).</p>
  
  <p>Attempting to sign results in:</p>
  
  <pre class="lang-none prettyprint-override"><code>$ codesign -s "John Doe" cryptest.exe 
  John Doe: ambiguous (matches "Mac Developer: John Doe (3VT8SJ9C5)" and "iPhone Developer:
  John Doe (3VT8SJ9C5)" in /Users/jdoe/Library/Keychains/login.keychain)
  </code></pre>
  
  <p>I made a pass through <a href="https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/codesign.1.html" rel="noreferrer"><code>codesign(1)</code></a>, but I don't how to resolve it since they are the same KeyIDs. Using a KeyID produces the same message.</p>
  
  <p>How do I remove the ambiguity when signing the executable?</p>