<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><blockquote type="cite"><div><blockquote type="cite"><br></blockquote><blockquote type="cite">codesign -f -s "3rd Party Mac Developer Application: <my company name>" -i<br></blockquote><blockquote type="cite">"com.company.app.mas" "$app_vcomp"/libvkernel_fat_release.dylib<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and here are the two error messages:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">codesign_allocate: can't allocate code signature data for:<br></blockquote><blockquote type="cite">/Users/jon/Desktop/AppName.app/Contents/vcomponents/libvkernel_fat_release.dyl<br></blockquote><blockquote type="cite">ib (for architecture i386) because larger updated load commands do not fit<br></blockquote><blockquote type="cite">(the program must be relinked using a larger -headerpad value)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">/Users/jon/Desktop/AppName.app/Contents/vcomponents/libvkernel_fat_release.dyl<br></blockquote><blockquote type="cite">ib: object file format unrecognized, invalid, or unsuitable<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">My code looks just like yours. Do you have any idea of what the problem is?<br></blockquote><br>A Guess.<br><br>Exists some header of some size.<br><br>We do not specify it for vkernel as well for any other ...<br><br>Your own signature is too long to fit this header.<br>Erne's signature was shorter ..<br><br><br>But then not clear why only vkenrel dll give you such issue.<br>By idea all and each should be<br><br></div></blockquote></div><br><div>Hi Ruslan,</div><div><br></div><div>It says something about the -headerpad value.</div><div><br></div><div>I did a search for this and found someone else with this error. The solution is supplied here:</div><div><br></div><div><a href="http://lists.apple.com/archives/xcode-users/2011/Jun/msg00212.html">http://lists.apple.com/archives/xcode-users/2011/Jun/msg00212.html</a></div><div><br></div><div>It seems there is a setting in XCode you can set for building the dylib that will take care of this...</div><div><br></div><div>Jon</div><span class="Apple-style-span" style="font-family: 'Times New Roman'; "><pre><br></pre></span></body></html>