title: osx 10.9.5 code signing V2 - signing a framework with: bundle format is ambiguous
body: <p>I'am trying to code sign an app bundle on osx mavericks 10.9.5 with format v2. On previous testing the signing on 10.9.5 (13F12) all went well, all frameworks could be signed without error.
  Now, on 13F34, the frameworks could not be signed any more. When i try to sign the first framework with:  </p>
  
  <pre><code>codesign -f -v -s "Developer ID Application: MY AG" "My.app/Contents/Frameworks/4DJavaScript.framework"  
  </code></pre>
  
  <p>then the error occurs:  </p>
  
  <pre><code>My.app/Contents/Frameworks/4DJavaScript.framework: bundle format is ambiguous (could be app or framework)  
  </code></pre>
  
  <p>When I try to code sign the only version (A) of the framework, the signing succeeds, but on signing the main app the error on the framework reappears.
  On looking into the info.plist file of the framework there is (in my sense) the correct entry for the type set:  </p>
  
  <pre><code>Bundle OS Type code FMWK  
  </code></pre>
  
  <p>Any suggestions on how to code sign a framework correctly on 10.9.5-13F34?<br>
  Thanks, Peter</p>