 |
 |
Using XCode to compile python app for jaguar?
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2003
Location: UK
Status:
Offline
|
|
I've got an xcode project written in python. It's not my project, but I can compile it and get a working .app for panther, that works fine on other mac's that don't have the sourcecode or python installed on them. But I've heard from others that when they try to use this in jaguar it just doesn't work.
Is there a setting somewhere in xcode that I can change, that will allow me to compile it for jaguar as well?
I realise this is a bit vague, if you need anymore information, ask away. I'm new to xcode, but I'm reasonably experienced in OS X and programming in java, so I'm not completely clueless (I hope  ).
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status:
Offline
|
|
The only setting that comes to mind is actually in Project Builder--the format of the nib file. I believe it's in the last tab of the main nib window.
|

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
I thought I remembered that Python was included in Panther by default, but not Jaguar?
And I also thought that Python was interpreted, like perl. How are you compiling this app?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2003
Location: UK
Status:
Offline
|
|
Originally posted by absmiths:
I thought I remembered that Python was included in Panther by default, but not Jaguar?
And I also thought that Python was interpreted, like perl. How are you compiling this app?
I'm using the build command in xcode. If python is indeed interpreted, then my use of the word "compile" is obviously misleading. The project consists of some .nib files which are obviously the menus and stuff, and some .h and .m files that import cocoa and python at the start. Not knowing any python, I'm assuming that these are written in python, but I'm not sure.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status:
Offline
|
|
He is probably using PyObjC... it is similar to AppleScript Studio in that the central code is in a scripting language, but the bindings are all in ObjC (behind the curtains). You do have to compile the project, but no Python code gets compiled.
And to get at the heart of the question: Without installing special packages on 10.2, PyObjC projects are more of a 10.3 thing.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|