Il giorno 11/lug/2012, alle ore 16:15, Nicholas Nassar ha scritto:

> Mac OS X 10.8 "Mountain Lion" is going to require that all applications are 
> signed by default. Users will need to disable gatekeeper functionality in 
> System Preferences in order to run unsigned apps.
> 
> Has anyone had success signing pyinstaller app bundles? In theory, it should 
> be easy, however, I get the following error when I try it with an app created 
> with pyinstaller 1.5.1.
> 
> $ codesign -s "Developer ID Application" TestApp.app
> codesign_allocate: the __LINKEDIT segment does not cover the end of the file 
> (can't be processed) in:  TestApp.app/: object file format unrecognized, 
> invalid, or unsuitable


A PyInstaller binary is a standard Mac binary (the bootloader), with appended 
some data files at the end. If codesign makes the wrong assumption, it will not 
parse it correctly. Under Windows, it works flawlessly.

If you can find me a technical description on how codesigning works on Mac (how 
it parses the binary, where the signature is put, etc.), I can see if there's a 
way to workaround it.
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it






-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to