[CentralOH] Python / pyobjc / Apple XCode

Mark Erbaugh mark at microenh.com
Thu Nov 11 13:56:06 CET 2010


On Nov 10, 2010, at 3:58 PM, Issac Kelly wrote:

> Uggh!  I spent _hours_ last night trying to get pyobjc to build.  This is a slightly painful topic for me, if anybody else has pointers, let me know (I was not using xcode, should i?)

Well, the there are templates for writing Cocoa-python apps and using one with a minor tweak, I was able to build an empty Cocoa-python app that ran (it displayed a window). One thing I noticed was that evening the default Python on my Mac is 64-bit, XCode only gave me options of i386 and ppc. When I build a straight Cocoa app, the 64-bit option is there.

FWIW, the app was using the default Python install (2.6.1) which  had pyobjc already built, so I didn't have to mess with that.

Mark


More information about the CentralOH mailing list