-
Ensure that you have Theos set up. The instructions to set up Theos can be found here. Please choose the appropriate operating system in the wiki and install it.
-
Ensure you have some kind of text editor, some good ones being Visual Studio Code, Sublime Text, and more! Feel free to use your preferred text editor, however note that Visual Studio Code has an extension for Logos, which can be found here.
-
For easier "view-finding," download a flipboard explorer such as FLEXing (rootful version/rootless version) or FLEXall (rootful only).
-
To begin creating a tweak, run the command
$THEOS/bin/nic.pl
. If this does not work, you have probably set up Theos incorrectly. Please go back to step 1 and fix your installation.-
This should show different options, one of them being
iphone/tweak
. This option will have a number next to it, which you type in to select that option. -
After that, the terminal will prompt you with
Project Name (required):
. This is asking what you want your tweak to be called. Please type the name that you want to call the tweak in this space. -
After that, the terminal will prompt you with
Package Name [com.yourcompany.testtweak]:
, This is asking what you want the Bundle ID of your tweak to be. Most likely it will becom.yourname.yourtweakname
. Note that it cannot contain any uppercase letters. -
Next, it will ask you
Author/Maintainer Name [yourname]:
. Please put whatever you want your "developer name" to be if/when you publish the tweak. -
Furthermore, the terminal will ask you
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]:
. This is asking what you want to hook into. (Examples: Twitter tweak:com.atebits.Tweetie2
, Settings tweak:com.apple.Preferences
, SpringBoard:com.apple.springboard
). We will hook SpringBoard for our example tweak, so usecom.apple.springboard
. -
Then, it will ask
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]:
, just press enter for now on this one. -
After this, Theos will create a folder with the tweak files inside of it.
-