Theos

A cross-platform build system for creating iOS, macOS, Linux, and Windows programs.

Installation

Officially supported platforms

Theos aims to work on, and build for, the following platforms.

Note: Theos is meant to be installed as a normal user, not root. Similarly, Theos is meant to be run as a normal user, not root.

  • iOS on iOS 5 and up.
  • macOS on Mavericks (10.9) and up.
  • Linux & Windows on Linux kernel 3.16 or Windows 10 build 14393 and up.
  • Cygwin (deprecated) on Windows XP and up.

Other platforms (or versions older than listed above) may work, but be aware that they are unsupported. Theos may work on them now, but it may not in the future. If you think we should officially support a platform not listed here, get in touch.

Updating

Theos utilises a rolling release model, meaning the latest commit to the Git repo is the latest version of Theos available. Occasionally, you should update Theos. This can be done with:

$THEOS/bin/update-theos

If you get a “no such file or directory” error, you’re probably using a very old version of Theos that lacks this script. As an alternative, switch to a directory containing a Theos makefile and then run:

make update-theos

Note: both commands do the same thing.

If you experience problems, updating Theos is the first thing you should do. This makes it a lot easier to track down the problem if you ask someone for help.

If you see the following error when running the update command:

make: *** No rule to make target 'update-theos'.  Stop.

…then you’re using a legacy version of Theos and should refer to Upgrading from legacy Theos.