Installation instructions for iOS
This guide will help you install Theos on your jailbroken iOS device.
|Platform||Minimum OS version||Targets supported|
All the commands shown in the following instructions are meant to be run as the “mobile” user, not root. Similarly, Theos is also meant to be run as a normal user, not root.
Install the following prerequisites:
Set up the
echo "export THEOS=~/theos" >> ~/.profile
echo "export THEOS=~/theos" >> ~/.zshenv
For this change to take effect, you must restart your shell. Kill the terminal app in the taskswitcher then re-open the terminal app and do
echo $THEOSon your shell to check if this is working.
Clone Theos to your device:
git clone --recursive https://github.com/theos/theos.git $THEOS
Get the toolchain:
Theos Dependencies installs iOS Toolchain.
Get an iOS SDK:
You can get patched SDKs from our SDKs repo.
curl -LO https://github.com/theos/sdks/archive/master.zip TMP=$(mktemp -d) unzip master.zip -d $TMP mv $TMP/sdks-master/*.sdk $THEOS/sdks rm -r master.zip $TMP
Install the Swift toolchain (optional):
swiftif using Procursus, else install
swift-toolchainfrom the BigBoss repo.
Note that compiling Swift code requires a fairly modern SDK. It is recommended that you use the latest SDK that you can get.