So now we have 4 new files we can edit and I will do my best to explain every one of them, so you have a complete understanding
Any calls that explicitly state the tweak name we will either refer to in this guide by either
TWEAK_NAME , ExampleTweak
ExampleTweak.plist Makefile Tweak.x control
This file, we wont need to edit as it simply contains the different bundleID's incase you were targeting a different bundleID for your tweak
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = ExampleTweak
ExampleTweak_FILES = Tweak.x
ExampleTweak_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
Additionally, please know that ExampleTweak_FILES can be replaced with $(TWEAK_NAME)_FILES If you see $(TWEAK_NAME) referenced this can be interchanged with our actual tweak name
Editors Note: You CAN use $(TWEAK_NAME) but it can cause some conflicts and its not recommended the reason i chose to include it so people could 'copy paste' from the guide
It is HIGHLY recommended to use for example
This File is crucial to setting your tweak to deploy properly
When editing $(TWEAK_NAME) in this case the make file states it is ExampleTweak. This is reflected in the name of the PLIST file so please rename accordingly
There are several things we can add to this file to start off with, mainly
ARCHS = arm64 arm64e
These are the two architectures we will compile our tweak for. At the time of writing they are the current architectures used on iOS13
Luckily we don't have to do anything to compile for both of them as
THEOS_DEVICE_IP = YOUR_IPHONE_IP
Now if we add this too our
Things to Note
If we want to add additional frameworks either Public or Private we need to add
them to our
$(TWEAK_NAME)_FRAMEWORKS =
$(TWEAK_NAME)_PRIVATE_FRAMEWORKS =
Please be aware you can copy those two directly into the makefile as $(TWEAK_NAME) is a bash variable
When we have finish with our tweak and want to package it for launch we can add this to our
FINAL_PACKAGE = 1
This will remove the build number from our tweak and just leave us with our version nummber
And that is it for our
Package: com.kodeycodesstuff.exampletweak
Name: ExampleTweak
Depends: mobilesubstrate
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome MobileSubstrate tweak!
Maintainer: Kodey Thomas
Author: Kodey Thomas
Section: Tweaks
Everything in
Now this is the bit we came here for,
If you wanted to do this you would go into the
ExampleTweak_FILES = Tweak.x anotherFile.x
Cool, so we now know exactly what every file does and we have our