• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: codesign error (headerpad)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >codesign error (headerpad) (From: Elliott <email@hidden>)

  • Prev by Date: Re: Profiling Scheme and Unit test in XCode 4
  • Next by Date: Re: Profiling Scheme and Unit test in XCode 4
  • Previous by thread: codesign error (headerpad)
  • Next by thread: IB: NSLabel's (and NSTextField) Size Inspector's Height is locked
  • Index(es):
    • Date
    • Thread