Jump to content

Xnoobxtest12

Member
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone 7 Plus
  • iOS Version
    13.7
  • Jailbroken
    Yes

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Xnoobxtest12's Achievements

Rookie

Rookie (2/14)

  • 2 Years In
  • Collaborator
  • One Year In
  • One Month Later
  • Week One Done

Recent Badges

0

Reputation

  1. "/var/mobile/Library/Preferences/PACKAGENAME.plist" here pakagename which packgename is should use here also it not work and this is my code : #import <UIKit/UIKit.h> #define PLIST_PATH @"/var/mobile/Library/Preferences/com.repo0x.test.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook _TtC5Tarab11SwiftHelper -(bool)isPremiumSubscriptionActive { if(GetPrefBool(@"kPremiumSubscriptionActive")) { return 1; } return %orig; } -(bool)isPremiumSubscriptionExpired { if(GetPrefBool(@"kPremiumSubscriptionActive")) { return 1; } return %orig; } %end also i use my pc maybe because that ? that all my files : Tweak plist : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Filter</key> <dict> <key>Bundles</key> <array> <string>com.appmania.TarabApp</string> </array> </dict> </dict> </plist> Root.plist in : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>Terabcrack First Page</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.repo0x.test</string> <key>key</key> <string>AwesomeSwitch1</string> <key>label</key> <string>Enable</string> </dict> </array> <key>title</key> <string>Terabcrack</string> </dict> </plist> this all my file it now working !!
  2. Hello there i follow this post for [Preference Bundle] : [TUTORIAL] How To Make a Preference Bundle and in the end tweak don't like with switch button and here my tweak cod after i follow this post : #import <UIKit/UIKit.h> #define PLIST_PATH @"/Users/test/Desktop/dump-tweak/Randy420/tearbcrack/Resources/Root.plist" //here the name of your .plist (it's stored in the "Resources" folder) inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook _TtC5Tarab11SwiftHelper -(bool)isPremiumSubscriptionActive { if(GetPrefBool(@"kPremiumSubscriptionActive")) { return 1; } return %orig; } -(bool)isPremiumSubscriptionExpired { if(GetPrefBool(@"kPremiumSubscriptionActive")) { return 1; } return %orig; } %end and this my original patch : #import <UIKit/UIKit.h> %hook _TtC5Tarab11SwiftHelper - (bool)isPremiumSubscriptionActive { return 1; } - (bool)isPremiumSubscriptionExpired { return 0; } %end also i use my mac for coding can anyone help my with that ?
  3. i think i have all sdk you can see here : /theos/sdks)-[git://master ✔]- └> ls AppleTVOS10.2.sdk AppleTVOS12.4.sdk iPhoneOS11.4.sdk iPhoneOS13.7.sdk iPhoneOS9.3.sdk AppleTVOS11.4.sdk iPhoneOS10.3.sdk iPhoneOS12.4.sdk iPhoneOS14.5.sdk
  4. I face this issue when i make do : > Making all for bundle test… ==> Copying resource directories into the bundle wrapper… ==> Compiling crackterbRootListController.m (armv7)… ==> Linking bundle test (armv7)… ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/PrivateFrameworks' ld: framework not found Preferences clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [/Users/xcode/Desktop/dump-tweak/Randy420/test/.theos/obj/debug/armv7/test.bundle/test] Error 1 make[2]: *** [/Users/xcode/Desktop/dump-tweak/Randy420/test/.theos/obj/debug/armv7/test.bundle/test] Error 2 make[1]: *** [internal-bundle-all_] Error 2 make: *** [test.all.bundle.variables] Error 2 and this is make file : TARGET := iphone:clang:latest:7.0 include $(THEOS)/makefiles/common.mk BUNDLE_NAME = test test_FILES = crackterbRootListController.m test_FRAMEWORKS = UIKit test_PRIVATE_FRAMEWORKS = Preferences test_INSTALL_PATH = /Library/PreferenceBundles test_CFLAGS = -fobjc-arc include $(THEOS_MAKE_PATH)/bundle.mk also i use my pc not my phone
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines