I have not tried this, but I think it will work.
1) DO NOT add a framework to an Xcode project
2) Instead, use the full library path in "OTHER_LINKER_FLAGS" - therefore "/System/Library/Frameworks/Python.framework/2.5/Python"
3) You will also want to set the scope search path to "/System/Library/Frameworks/Python.framework/2.5/" and set the include search path to "/System/Library/Frameworks/Python.framework/2.5/Headers"
However, with all that said, it will leave you vulnerable to any changes that Apple may make. For example, everything will break if it later removes 2.5 from the framework. It would be much better to just upgrade the application to work with the current version of Python.
wadesworld
source share