When I tried to build the example PythonistaProject in XCode 6, I get the following error:
Undefined symbols for architecture i386:
"_fwrite$UNIX2003", referenced from:
_empty_output_buffer in libpythonista.a(libturbojpeg_la-jdatadst.o)
_term_destination in libpythonista.a(libturbojpeg_la-jdatadst.o)
"_putenv$UNIX2003", referenced from:
_tjTransform in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjDecompressToYUV in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjDecompress2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjEncodeYUV2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjCompress2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anybody know how to deal with this?