osx - "./toolchain build kivy" gives an error on Mac OX X 10.8 despite following the tutorial -
i'm trying build kivy ios. following tutorial in kivy's guide, enter command:
$./toolchain.py build kivy
but outputs error message:
traceback (most recent call last): file "./toolchain.py", line 173, in <module> class archsimulator(arch): file "./toolchain.py", line 178, in archsimulator sysroot = sh.xcrun("--sdk", "iphonesimulator", "--show-sdk- path").strip() file "./tools/external/sh.py", line 1021, in __call__ return runningcommand(cmd, call_args, stdin, stdout, stderr) file "./tools/external/sh.py", line 486, in __init__ self.wait() file "./tools/external/sh.py", line 500, in wait self.handle_command_exit_code(exit_code) file "./tools/external/sh.py", line 516, in handle_command_exit_code raise exc(self.ran, self.process.stdout, self.process.stderr) sh.errorreturncode_64: ran: '/usr/bin/xcrun --sdk iphonesimulator --show-sdk-path' stdout: stderr: xcrun: error: unrecognized option: --show-sdk-path usage: xcrun [options] <utility> ... arguments ... find , execute named command line utility installed xcode. options: -h, --help show message , exit -v, --verbose show verbose logging output --sdk <sdk name> find tool given sdk name --toolchain <name> find tool given toolchain -l, --log show commands executed (with --run) -f, --find find , print utility path -r, --run find , execute utility (this default behavior) -n, --no-cache not use lookup cache -k, --kill-cache remove existing cache file (and perhaps recreate)
i'm using mac 10.8 (on vmware) + xcode 4.6.
the ios prerequisites kivy states assumes have mac os x 10.9 , xcode 5.1 or better in order proceed.
suspect os's version of python won't run cython properly. try running cython
, tools/cythonize
check cython , running.
lastly think kivy user's group best able diagnose issue.
Comments
Post a Comment