Forum Archive

Compiling with XCode

tomkirn

Hi,

this is my first try to compile a Pythonista script using the "Pythonista ProjectTemplate". Unfortunately I got an error from Xcode:

ld: library not found for -lpythonista
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Am I doing something wrong. I just replaced the content of script.py with my script.

Thanks in advance
Tom

tomkirn

Hi again,

found it by myself: I had an old or incomplete version of the template. After re-downloading all went fine.

Regards
Tom

heretiq

Hi tomkin,

I'm trying to figure out how to export and compile with Xcode. However, I updated to pythonista 1.5 but it no longer has the export to Xcode option. I have also searched the pythonista documents and forums and the general web for "Pythonista ProjectTemplate" but the only reference I find is to your post above. Can you point me in the right direction to find instructions on how to do this?

Thanks!

tomkirn

Hi heretiq,

look at the article about version 1.5 on olemoritz.net. There is a link pointing to the script.

Tom

heretiq

@tomkin Thank you! This is just what I needed. Much appreciated.