Installation instructions for iOS
This guide will help you install Theos on your jailbroken iOS device.
| Platform | Minimum OS version | Targets supported |
|---|---|---|
| iOS | 5.0 | iOS |
All the commands shown in the following instructions are meant to be run as the “user” user, not root. Similarly, Theos is also meant to be run as a normal user, not root.
-
Install the following prerequisites:
- Sam Bingner’s repository
- Theos Dependencies (package on BigBoss repo, relies on the previous repository being installed first)
-
Set up the
THEOSenvironment variable:echo "export THEOS=~/theos" >> ~/.profileFor 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):
swift-toolchainis on 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.