Thank you, Jeff.
Changing *append_pkg* to *False* didn't help.
Here below is my output:
=======================
*$ ls -l*
total 8
drwxr-xr-x 70 zhenweigui staff 2380 Nov 9 16:16 Events
-rw-r--r-- 1 zhenweigui staff 240 Nov 9 16:19
Events-Entitlements.plist
drwxr-xr-x 3 zhenweigui staff 102 Nov 9 16:15 Events.app
*$ codesign -f -s "3rd Party Mac Developer Application: GUI ZHENWEI"
Events.app/*
Events.app/: bundle format unrecognized, invalid, or unsuitable
In subcomponent:
/Users/zhenweigui/apps/pyinstaller/Events/dist/Events.app/Contents/MacOS/include/python2.7
*$ codesign -f -s "3rd Party Mac Developer Application: GUI ZHENWEI"
Events.app/ --deep*
Events.app/: bundle format unrecognized, invalid, or unsuitable
In subcomponent:
/Users/zhenweigui/apps/pyinstaller/Events/dist/Events.app/Contents/MacOS/include/python2.7
$ ls -l
/Users/zhenweigui/apps/pyinstaller/Events/dist/Events.app/Contents/MacOS/include/python2.7
total 72
-rw-r--r-- 1 zhenweigui staff 36328 Aug 30 16:09 pyconfig.h
*$ cat ../../Events.spec*
# -*- mode: python -*-
a = Analysis(['/Users/zhenweigui/events/Events.py'],
pathex=['/Users/zhenweigui/apps/pyinstaller/Events'],
hiddenimports=[],
hookspath=None,
runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='Events',
debug=False,
strip=None,
upx=True,
append_pkg=False,
console=False , icon='events.icns')
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='Events')
app = BUNDLE(coll,
name='Events.app',
icon='events.icns')
*$*
=======================
Any thing i did wrong?
Gui
On Sat, Nov 9, 2013 at 12:57 AM, Jeff Keacher <[email protected]> wrote:
> Have you tried the technique I described earlier in the thread, involving
> changing
> append_pkg to False in the EXE section of your app's .spec file and
> signing with 'codesign -f -s "Developer ID" yourappname.app'?
>
> Jeff
>
>
> On Fri, Nov 8, 2013 at 8:12 AM, zw g <[email protected]> wrote:
>
>> Could anyone help me on this? I am stuck.
>> Thanks in advance.
>>
>>
>>
>> On Friday, November 8, 2013 12:30:57 AM UTC+8, zw g wrote:
>>>
>>> Dear list,
>>>
>>>
>>> I have problem to 'codesign' my osx bundle created by PyInstaller(from
>>> git master).
>>>
>>> My osx bundle created by pyinstaller works great on OSX 10.9 Mavericks.
>>> But it failed to pass the Apple's codesign step.
>>>
>>> I was stuck for couple of days, and still have no clue how to work it
>>> out.
>>> Any help would be warmly appreciated.
>>>
>>> PyInstaller: master branch of git repo.
>>> OS: Mac OS X 10.9 Mavericks
>>> Python: 2.7.5 (installed by homebrew)
>>> PyQt: 4.10.3 (installed by homebrew)
>>> Qt: 4.8.5 (installed by homebrew)
>>>
>>> Here below is the 'codesign' steps i did:
>>>
>>> =============================================
>>> HandsomeGui-on-MBP:dist zhenweigui$ pwd
>>> /Users/zhenweigui/pyinstaller-git/Events/dist
>>>
>>> HandsomeGui-on-MBP:dist zhenweigui$ ll
>>> total 0
>>> drwxr-xr-x 68 zhenweigui staff 2312 Nov 8 00:17 Events
>>> drwxr-xr-x 3 zhenweigui staff 102 Nov 8 00:17 Events.app
>>>
>>> HandsomeGui-on-MBP:dist zhenweigui$ codesign -s "3rd Party Mac Developer
>>> Application: GUI ZHENWEI" -fv ./Events.app
>>> ./Events.app: code object is not signed at all
>>> In subcomponent: /Users/zhenweigui/apps/pyinstaller/Events/dist/
>>> Events.app/Contents/MacOS/_AE.so
>>>
>>> HandsomeGui-on-MBP:dist zhenweigui$ codesign -s "3rd Party Mac Developer
>>> Application: GUI ZHENWEI" -fv ./Events.app --deep
>>> ./Events.app: bundle format unrecognized, invalid, or unsuitable
>>> In subcomponent: /Users/zhenweigui/apps/pyinstaller/Events/dist/
>>> Events.app/Contents/MacOS/include/python2.7
>>>
>>> HandsomeGui-on-MBP:dist zhenweigui$ ll /Users/zhenweigui/apps/
>>> pyinstaller/Events/dist/Events.app/Contents/MacOS/include/python2.7
>>> total 72
>>> -rw-r--r-- 1 zhenweigui staff 36328 Aug 30 16:09 pyconfig.h
>>>
>>> HandsomeGui-on-MBP:dist zhenweigui$
>>> =============================================
>>>
>>>
>>> On Wednesday, July 11, 2012 10:15:08 PM UTC+8, NickN wrote:
>>>>
>>>> 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
>>>>
>>>>
>>>> Any help is appreciated.
>>>>
>>>> -------------------------------------------------
>>>> Nick Nassar [email protected]
>>>> Software Engineer Tel: 617-492-2888x1014
>>>> GenArts, Inc. www.genarts.com
>>>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "PyInstaller" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/pyinstaller/Rp6UUSJ7dP4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/pyinstaller.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "PyInstaller" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pyinstaller/Rp6UUSJ7dP4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pyinstaller.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.