Skip to content

Instantly share code, notes, and snippets.

@meow464
Last active August 16, 2021 23:47
Show Gist options
  • Select an option

  • Save meow464/a1ea38c7fe298fec7a9b25a684c0d165 to your computer and use it in GitHub Desktop.

Select an option

Save meow464/a1ea38c7fe298fec7a9b25a684c0d165 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Don't run this script, read it!!!";
exit 1;
# create the venv
mkdir kivy_test
cd kivy_test
python3.7 -m venv kivy_venv
source kivy_venv/bin/activate
# install kivy-ios deps
pip install Cython cookiecutter pbxproj
# install buildozer master
git clone https://github.com/kivy/buildozer
cd buildozer
python setup.py build
pip install -e .
cd ..
# make the app directory
mkdir hello_world
cd hello_world
buildozer init
touch main.py
# configure signing
# the last line of the command below should have the format "Apple Development: you@email.com (ABCDEF1234)"
# like this: ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
buildozer ios list_identities
# make a debug build
buildozer ios debug
# It will try to run on a device. If you would rather run on a simulator,
# let it run, give an error then run
buildozer ios xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment