Re: codesign error (headerpad)
Re: codesign error (headerpad)
- Subject: Re: codesign error (headerpad)
- From: James Whitwell <email@hidden>
- Date: Wed, 22 Jun 2011 09:31:44 +1000
On 21/06/2011, at 2:26 AM, Elliott wrote:
> Recently codesign has been giving me this error:
>
> codesign_allocate: can't allocate code signature data for: <path to exe> (for architecture i386) because larger updated load commands do not fit (the program must be relinked using a larger -headerpad value)
>
> This causes codesign not to sign the bundle that it's attempting to sign. I couldn't find too much information about headerpad on the internet. I tried setting a linker flag for it in my target but the next time I build there was a ld error. What should I set the headerpad value to be? What does it mean?
We use -headerpad_max_install_names in OTHER_LDFLAGS (in XCode 3) and that seems to work OK for us. We do this because we use install_name_tool, not codesign though. Search the web for "install_name_tool" and "headerpad" and there's some discussion on it.
HTH,
James.
>
> Thanks,
> Elliott
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden