Step 1 - Setting up the Enviroment

Get your prefered IDE

Get your prefered IDE (I use Visual Studio Code) and install the following extension if you want to develop using Swift:

THIS TUTORIAL WILL ONLY COVER OBJECTIVE-C AND NOT SWIFT

You can use any IDE you want but I will use Visual Studio Code for this tutorial.

You can find it here.

Get theos

Theos is a cross-platform suite of tools for building and deploying software for iOS and other platforms. It is a collection of Makefiles and shell scripts that wrap Xcode and other command-line tools to provide a simplified build system that automates many common tasks.

It should work on all platforms the easiest will be macos and linux but windows also works.

Macos

To install theos on macos you will need to have homebrew you can install it by running the following command in your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Xcode Command Line Tools

The xcode command line tools are required to install theos on macOS.

To install the Xcode Command Line Tools you will need to run the following command in your terminal:

xcode-select --install

To install theos you will need to run the following command in your terminal:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"

Linux

To install theos on linux you will need to install bash curl sudo which should already be installed if not you shoud be able to install them using your package manager.

To install theos you will need to run the following command in your terminal:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"

Windows

To install theos on windows you will need to install wsl.

You can find a tutorial on how to install wsl here.

You will also need to install Ubuntu or any other linux distro you want to use.

After that just follow the linux installation guide.

Make some stuff easier

This is purely optional but it will make some stuff easier and i will use it in the tutorial.

To make some stuff easier you can run the following command in your terminal:

echo "alias tweak='$TWEAK/bin/nic.pl'" >> ~/.bashrc

Now you should have theos installed and you can move on to the next step.

Go to Step 2