Here’s a relevant link for setting up a project (I’m using it for cross-platform development, not PyObj-C): Python + XCode @ SO
For debugging you’ll probably have to go outside XCode, or figure out how to set Python debugging up properly. Supposedly LLDB has support, but in XCode you’ll get SIGTRAP when you run your program. Personally I think I’ll debug outside XCode, then figure out how to set up LLDB+Py+XCode4 if and only if I have so much debugging that running from another environment becomes a chore.
One Comment
Just a quick comment… I’m using the unittest and pdb modules for testing and debugging. If at one time I had a strong desire to use LLDB, that desire has faded away. Similarly, I don’t find myself setting up XCode projects for my python scripts. A lot of the benefits of XCode are only benefits when you’re programming for iOS or OS X.