Re: Code signing py2app generated apps

"Brendan Simon (eTRIX)" <[email protected]>
Newsgroups gmane.comp.python.apple
Organization eTRIX pty ltd
Message-ID <[email protected]>
> On 6/7/14, 9:31 AM, Brendan Simon (eTRIX) wrote:
>> Is there anything special one needs to do to sign py2app generated
>> apps ?
>>
>> I've tried:  codesign -s <certificate-identifier> <path-to-my-app>
>>
>> but I when verifying it with "codesign -v" I get:
>>
>>      src/dist/SureAnalysis.app: Unknown format in import.
>>      In architecture: i386
>>
>> The certificate is a .p12 file that was imported with KeyChain.app to
>> the System destination keychain.
>
> This works for me:
>
> codesign --deep --signature-size 9400  -f -s "Developer ID
> Application: Kevin Walzer"  cbk/QuickWho.app
>
> I use cx_freeze in this app, not py2app, but this also worked for me
> with py2app.
>
> --Kevin

Tried the above codesign suggestion but I still get the same error =>
Unknown format in import.

The certificate issuer is: DigiCert SHA2 Assured ID Code Signing CA

The app uses python2.7 (32-bit) and wxPython 2.8.12.1 (Carbon). 
Universal bundles with i386 and ppc architectures.

I wonder if building the app to use only 64-bit and/or i386/x86_64
architectures and/or wxPython (Cocoa) would make a difference ?

Thanks for any thoughts :)
Brendan.

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.