我目前正在使我的PyObjC應用程序適用於Snow Leopard,併成功編譯了獨立應用程序。我的問題是,考慮到這些錯誤,我怎麼讓這個版本兼容Leopard?編譯Leopard和Snow Leopard的py2app工作版本?
dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003
Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _fopen$UNIX2003
Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp
Expected in: /usr/lib/libSystem.B.dylib
這是一個雪豹編譯的py2app應用程序。另一方面,當我在豹編譯,另一方面,發生此錯誤:
Traceback (most recent call last):
File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/__boot__.py", line 31, in <module>
_run('main.py')
File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/__boot__.py", line 28, in _run
execfile(path, globals(), globals())
File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/main.py", line 17, in <module>
from AppKit import *
File "AppKit/__init__.pyc", line 10, in <module>
File "Foundation/__init__.pyc", line 10, in <module>
File "CoreFoundation/__init__.pyc", line 17, in <module>
File "objc/_bridgesupport.pyc", line 129, in initFrameworkWrapper
File "objc/_bridgesupport.pyc", line 53, in _parseBridgeSupport
ValueError: Unknown typestr
2009-08-29 19:30:14.530 MyApp[445:903] MyApp Error
2009-08-29 19:30:14.534 MyApp[445:903] MyApp Error
An unexpected error has occurred during execution of the main script
任何幫助,將不勝感激。提前致謝。