Jump to content

3 posts in this topic

Recommended Posts

Posted

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 ?

Posted
11 hours ago, Xnoobxtest12 said:
#define PLIST_PATH @"/Users/test/Desktop/dump-tweak/Randy420/tearbcrack/Resources/Root.plist"

This seems to be incorrect.

It should be like so: 

#define PLIST_PATH @"/var/mobile/Library/Preferences/PACKAGENAME.plist"

inline bool GetPrefBool(NSString *key) {
	return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

 

You may be developing on Mac, but you will be releasing this for iOS.

Posted
22 hours ago, Rook said:

This seems to be incorrect.

It should be like so: 

#define PLIST_PATH @"/var/mobile/Library/Preferences/PACKAGENAME.plist"

inline bool GetPrefBool(NSString *key) {
	return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

 

You may be developing on Mac, but you will be releasing this for iOS.

"/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 !!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Plague Inc. v1.21.0 Jailed Cheats +2
      Modded/Hacked App: Plague Inc. By Ndemic Creations LTD
      Bundle ID: com.ndemiccreations.plagueinc
      App Store Link: https://apps.apple.com/us/app/plague-inc/id525818839?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlock DLCs
      - Infinite DNA (Get some)

       

      Free Jailbroken Hack: https://iosgods.com/topic/75588-arm64-plague-inc-cheats-all-versions-2/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/70150-plague-inc-v1210-jailed-cheats-2/
        • Agree
        • Thanks
        • Like
      • 1,315 replies
    • Dragon City - Breed & Battle! Cheats v25.7.3 +4
      Modded/Hacked App: Dragon City - Breed & Battle! By Socialpoint
      Bundle ID: es.socialpoint.dragoncity
      iTunes Store Link: https://apps.apple.com/us/app/dragon-city-breed-battle/id561941526?uo=4


      Hack Features:
      - One Hit Kill
      - God Mode 
      - Auto-Battle Unlocked

      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
      Note:
      Everything is linked with enemies, please use it carefully

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      iOS Hack Download Link: https://iosgods.com/topic/129371-dragon-city-mobile-cheats-auto-updating-3-god-mode-one-hit-kill/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,179 replies
    • After Inc. v1.4.1 Jailed Cheats +1
      Modded/Hacked App: After Inc. By Ndemic Creations LTD
      Bundle ID: com.ndemiccreations.survivors
      App Store Link: https://apps.apple.com/us/app/after-inc/id1631859420?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlock All DLCs & Cheats

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/189479-after-inc-v131-jailed-cheats-1/
        • Agree
      • 49 replies
    • [Puzzles & Dragons JP] パズル&ドラゴンズ v22.4.0 Jailed Cheats +2
      Modded/Hacked App: パズル&ドラゴンズ By GungHo Online Entertainment, INC.
      Bundle ID: jp.gungho.pad
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%83%91%E3%82%BA%E3%83%AB-%E3%83%89%E3%83%A9%E3%82%B4%E3%83%B3%E3%82%BA/id493470467?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/133984-puzzle-dragons-japan-english-cheats-all-versions-3/


      iOS Hack Download Link: https://iosgods.com/topic/135539-puzzles-dragons-jp-%E3%83%91%E3%82%BA%E3%83%AB%EF%BC%86%E3%83%89%E3%83%A9%E3%82%B4%E3%83%B3%E3%82%BA-v1852-jailed-cheats-2/
      • 402 replies
    • Dawn of Ages: Medieval Games v2.0.4 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 49 replies
    • Dawn of Ages: Medieval Games v2.0.4 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 28 replies
    • DC: Dark Legion™ v2.1.22 [+2 Cheats]
      Modded/Hacked App: DC: Dark Legion™ By FunPlus International AG
      Bundle ID: com.kingsgroup.dcdl
      App Store Link: https://apps.apple.com/us/app/dc-dark-legion/id6479020757?uo=4

       

      Important


      Doesn't work on PvP contents.

      There is a high chance of ban. Not responsible for any bans. Do not use on main account.

      1- Enable Activate Cheat

      2- Enable both multiplier

       

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      • 14 replies
    • DC: Dark Legion™  v2.1.22 [+2 Jailed Cheats]
      Modded/Hacked App: DC: Dark Legion™ By FunPlus International AG
      Bundle ID: com.kingsgroup.dcdl
      iTunes Store Link: https://apps.apple.com/us/app/dc-dark-legion/id6479020757?uo=4

      🤩 Hack Features
      - Damage Multiplier
      - Defense Multiplier
        • Thanks
        • Like
      • 117 replies
    • Lands of Jail v1.0.13 [+1 Jailed Cheats]
      Modded/Hacked App: Lands of Jail By SINGAPORE JUST GAME TECHNOLOGY PTE. LTD.
      Bundle ID: com.justgame.jails.global
      App Store Link: https://apps.apple.com/us/app/lands-of-jail/id6738469826?uo=4



      🤩 Hack Features

      - Enemy Can't Attack (Enable Before Enter the Stage)

        • Like
      • 12 replies
    • Lands of Jail v1.0.13 [+1 Cheats]
      Modded/Hacked App: Lands of Jail By SINGAPORE JUST GAME TECHNOLOGY PTE. LTD.
      Bundle ID: com.justgame.jails.global
      App Store Link: https://apps.apple.com/us/app/lands-of-jail/id6738469826?uo=4



      🤩 Hack Features

      - Enemy Can't Attack (Enable Before Enter the Stage)
       
        • Like
      • 20 replies
    • Hammer & Steel: idle business v0.12 [+5 Jailed Cheats]
      Modded/Hacked App: Hammer & Steel: idle business By GLOBAL ADVERTISING NETWORK LTD EOOD
      Bundle ID: hammer.and.steel.business.game
      App Store Link: https://apps.apple.com/us/app/hammer-steel-idle-business/id6742078527?uo=4



      🤩 Hack Features

      - Free IAP
      - Add Gold
      - Add Ore (Use it after tutorial)
      - No Fatique 
      - No Satiety
      • 0 replies
    • Hammer & Steel: idle business v0.12 [+5 Cheats]
      Modded/Hacked App: Hammer & Steel: idle business By GLOBAL ADVERTISING NETWORK LTD EOOD
      Bundle ID: hammer.and.steel.business.game
      App Store Link: https://apps.apple.com/us/app/hammer-steel-idle-business/id6742078527?uo=4



      🤩 Hack Features

      - Free IAP
      - Add Gold
      - Add Ore (Use it after tutorial)
      - No Fatique 
      - No Satiety
      • 0 replies
×
  • 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