Toolchain for compiling Python / Kivy / other libraries for iOS
Go to file
2015-02-13 18:38:58 +01:00
recipes sdl2*: revert the installation of headers on SDL2 include directory, as they will be removed when we rebuild sdl2 2015-02-13 18:38:58 +01:00
src ios: add iOS recipe 2015-02-12 00:51:54 +01:00
tools cythonize: fix recursive find issue due to a missing replacement with Python 2015-02-12 00:52:16 +01:00
.gitignore python now compiles for all arch \o/ 2015-02-03 18:42:17 +01:00
LICENSE Kivy-ios is now under MIT license 2013-08-01 16:35:52 +02:00
README.rst Update REANME.rst: change build_all.sh to build-all.sh 2013-05-05 10:19:08 +08:00
toolchain.py toolchain: use environ to select a directory to copy instead of an url to download (like KIVY_DIR=~/code/kivy) + add --arch for build to restrict the architectures to build (it will enforce any caching.) 2015-02-12 00:53:08 +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.