Theos FAQ
My package versions contain +debug now! How do I stop this?
+debug now! How do I stop this?Theos encourages using debug builds by default, rather than release builds. Building as a debug build provides more ease in using debuggers on the code, enables debug logging with HBLogDebug(), and makes syslog output colored so itâs easier to find in a sea of other log messages.
To disable debug mode, add DEBUG=0 to the top of your Makefile. When you make a release build with FINALPACKAGE=1, debug will also be disabled (and the build number is also removed so your version number is cleaner).
Whereâs the theos symlink?
theos symlink?Theos has opted to stop using this symlink by default because of a few reasons. First, there are a fair few ânoisyâ files dropped in the root of a project by standard Theos; this fork prefers to have as few of those as possible (and you may have noticed some are now stashed into the .theos directory). Second, this can be very different between developers and even between each of a developerâs devices as Theos can be located anywhere. Itâs also easy to unintentionally commit this symlink to source control or not know that this shouldnât be committed to source control.
Of course, this does mean you must set and export $THEOS in your environment. Do this in your shellâs profile or environment script (for instance ~/.bash_profile, or ~/.zshrc) to ensure itâs always set and you donât have to worry about it. It might look like this:
export THEOS=/usr/local/theos If this is undesirable, you can tell NIC to revert to symlinking theos:
echo 'link_theos = "1"' >> ~/.nicrc See nicrc for more details on .nicrc.
How do I use Swift in my projects?
This information has moved to the Swift page.
All info provided in the About Theos, Installing Theos and Theos FAQ pages is taken from https://github.com/theos/theos
Last updated