install roothide/theos
bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"and its always automatically updated to latest with original one.
Build package for roothide
for those simple tweaks that don't use the file api to access jailbreak files, just
make packagewithTHEOS_PACKAGE_SCHEME=roothideUsing
roothideAPIs if you need to use the file apis to access jailbreak files in source code#include <roothide.h> //then using roothide api to access jailbreak files const char* c_path = jbroot("/path/to/jb/file"); NSString* objc_path = jbroot(@"/path/to/jb/file"); std::string cpp_path = jbroot(std::string("/path/to/jb/file"));the
jbrootAPI can be used in C/C++/Objective-C/Swift and its fully compatible with building rootful/rootless packageAdd these
entitlementsto your executable/app to make them work correctly with roothide:<key>platform-application</key> <true/> <key>com.apple.private.security.no-sandbox</key> <true/> <key>com.apple.private.security.storage.AppBundles</key> <true/> <key>com.apple.private.security.storage.AppDataContainers</key> <true/>If you want to build your project with Xcode instead of theos,
here is the roothide sdk: devkit.zipFor more details about roothide, please refer to
roothideDev: https://twitter.com/roothideDev
roothide/theos-dev: https://discord.gg/qaCFxr33CV
roothide discord server: https://discord.gg/scqCkumAYp
theos dev discord server: https://discord.gg/z4RTnrcbKW