Re: [Pyobjc-dev] Xcode templates?
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2011-02-01 16:32:50
|
On 30 Jan, 2011, at 9:15, Scott Harris wrote: > OK, I found python2.7 in /Library/Frameworks and I got rid of that. Now the Xcode template is working, but it's choosing python2.5.4 > > How do I control which python the Xcode template picks to run my code? I want it to use the Apple supplied 2.6 version. You cannot control which framework is used by the Xcode templates other than by installing or removing frameworks. The templates should pick whichever framework gets used when you link with '-framework Python'. This is suboptimal, there really should be an option somewhere that can be used to explicitly select a Python. I haven't looked at the xcode templates for a long time because working on them is an experience that is not much better than just banging my head against a wall: the templates are text-ish files (undocumented format) with some markers in them and Apple doesn't provide tools that make it easier to work on templates. Ronald |