python - Compiling a PyObjC application for 10.5 (Leopard) into xcode 10.6 (Snow Leopard) -


I'm trying to develop a PyObjC (or coco-Python) application on Xcode 3.2.X at 10.5 ( Snow leopard) which runs perfectly on the 10.6 system.

The application does not start at 10.5, it crashes on the launch, giving this error message (found on crash report):

< P> mirror error message: library is not loaded: / system / library / framework / python. Referring to Framework / Version / 2.6 / Python: / Users / Managers / Documents / myApp.app/Contents/MacOS/myApp Reason: Image Not Found

It seems that Xcode hardcode version / 2.6 Python Framework Path (instead of setting it as current / current version). However, I did not know where this link path can be modified currently (or 2.5, may be conditional) ...

The path you are looking at is very well linked against you to be a legitimate path to the version of Python Framework. This is the correct path for the most recent version of SnowLype (10.6.5), at least you can install the path correctly in your Xcode project.

If I guess, then I would say that when you experience this accident, you are running it on a different version of Mac OS X, where the 2.6 version of the Pyro frame does not exist. To find out the problem, try navigating the Python framework and listing the available versions of the system on which you experience this error:

  cd / system / library / Framesworks / python.framework / versions ls -al  

What output does it offer? I'm guessing that it does not show version 2.6. Which version of Mac OS X is you running it?

You may need to compile and link your application with a previous version of the system to run this error on the system you are seeing.


Comments