enmity-mod / tweak

🔧 iOS jailbreak tweak to handle bundle loading and native functionality for Enmity.
318 stars 42 forks source link

feat: rootless support #17

Closed ghost closed 1 year ago

ghost commented 1 year ago

This PR adds support for rootless compilation using make package THEOS_PACKAGE_SCHEME=rootless with the latest version of Theos.

marioparaschiv commented 1 year ago

Hey, thank you for your contribution.

I believe targeting iOS 15 in the makefile causes the compiler to bail out as deprecated functions are used.

The use of deprecated methods will be addressed in the tweak upgrade shipping with V3.

Does rootless not work with a lower target?

ghost commented 1 year ago

Oops, you're right. It does work with a lower target, I just added that as an optimization but forgot to re-test. I reverted that commit now (might need a make clean to make it use the new target).