kivy/doc/sources/guide/packaging-ios-prerequisites...

60 lines
2.0 KiB
ReStructuredText
Raw Normal View History

2014-04-18 09:09:31 +00:00
.. _packaging_ios_prerequisites:
2014-04-18 08:41:50 +00:00
IOS Prerequisites
=================
2014-04-18 09:09:31 +00:00
The following guide assumes:
2014-04-18 08:41:50 +00:00
* XCode 5.1
* MacOSX 10.9
2014-04-18 09:09:31 +00:00
Your experience may vary with different versions.
2014-04-18 08:41:50 +00:00
Getting started
---------------
In order to submit any application to the iTunes store, you will need an
`iOS Developer License <https://developer.apple.com/programs/ios/>`_. For
testing, you will need an actual device as kivy does not yet support the
iOS emulators that Apple supplies.
Please note that in order to test on the device, you need to register these
devices and install your "provisioning profile" on them. Please refer to the
Apple's
`Getting started <https://developer.apple.com/programs/ios/gettingstarted/>`_
guide for more information.
2014-04-18 08:41:50 +00:00
Homebrew
--------
2014-04-18 09:09:31 +00:00
We use the `Homebrew <http://brew.sh/>`_ package mananger for OSX to install
some of the dependencies and tools used by Kivy. It's a really helpful tool and
2014-04-18 08:41:50 +00:00
is an Open Source project hosted on
2014-04-18 09:09:31 +00:00
`Github <https://github.com/Homebrew/homebrew>`_.
2014-04-18 08:41:50 +00:00
Due to the nature of package management (complications with versions and
2014-04-18 09:09:31 +00:00
Operating Systems), this process can be error prone and cause
2014-04-18 08:41:50 +00:00
failures in the build process. The **Missing requirement: <pkg> is not
2014-04-18 09:09:31 +00:00
installed!** message is typically such an error.
2014-04-18 08:41:50 +00:00
2014-04-18 09:09:31 +00:00
The first thing is to ensure you have run the following commands::
2014-04-18 08:41:50 +00:00
brew install autoconf automake libtool pkg-config mercurial
brew link libtool
brew link mercurial
sudo easy_install pip
sudo pip install cython
2014-04-18 09:09:31 +00:00
If you still receive build errors, check your Homebrew is in a healthy state::
2014-04-18 08:41:50 +00:00
brew doctor
For further help, please refer to the `Homebrew wiki <https://github.com/Homebrew/homebrew/wiki>`_.
2014-04-18 08:41:50 +00:00
The last, final and desperate step to get things working might be to remove
2014-04-18 09:09:31 +00:00
Homebrew altogether, get the lastest version, install that and then re-install
2014-04-18 08:41:50 +00:00
the dependencies.
`How to Uninstall and Remove Homebrew for Mac OSX <http://www.curvve.com/blog/guides/2013/uninstall-homebrew-mac-osx/>`_