Toolchain for compiling Python / Kivy / other libraries for iOS
Find a file
2013-02-28 23:51:09 +01:00
src add pyexpat as a builtin module. closes 18 2013-02-28 23:51:09 +01:00
tools replace PYTHON_VERSION with IOS_PYTHON_VERSION, and factorize HOSTPYTHON into environment.sh. closes #27 2013-02-28 19:21:58 +01:00
.gitignore fix builtin module conflict 2013-01-05 12:17:52 +01:00
README.rst add easy_install information for cython. closes #29 2012-12-14 00:54:05 +01:00

Kivy for IOS
============

(This is a work in progress.)

#. Using brew, you can install dependencies::

    brew install autoconf automake libtool pkg-config mercurial
    brew link libtool
    brew link mercurial

#. Install Cython::

    # easy-install method
    sudo easy_install cython

    # pip method if available (sudo might be needed.)
    pip install cython

#. Build the whole toolchain with `tools/build_all.sh`
#. Create an Xcode project for your application with `tools/create-xcode-project.sh test /path/to/app`
#. Open your newly created Xcode project
#. Ensure code signing is setup correctly
#. Click on play

Notes
-----

A build phase is added to the project that processes and moves your
app's files to the Xcode project before every build. If you would like
to handle this process manually, remove the "Run Script" build phase
from your target and use `tools/populate-project.sh /path/to/app`
after every change. You can also change the path to your app by modifying this build phase.