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

    • Undead Slayer: Offline Action v3.45.15 [ +14 Cheats ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
        • Informative
        • Agree
        • Winner
        • Like
      • 23 replies
    • Undead Slayer: Offline Action v3.45.15 [ +14 Jailed ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
        • Agree
        • Thanks
        • Winner
        • Like
      • 31 replies
    • Zombie Roguebie: Shooting Game v1.4.0 Jailed Cheats +9
      Modded/Hacked App: Zombie Roguebie: Shooting Game By Metajoy Limited
      Bundle ID: com.boom.zombie.survival
      App Store Link: https://apps.apple.com/us/app/zombie-roguebie-shooting-game/id6752294198?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

      - Infinite Ammo
      - No Reload
      - High Pickup Range
      - Premium

      ViP
      - God Mode
      - High Damage
      - High Fire Rate
      - Freeze Currencies
      - Unlock All Guns

       

      Jailbroken Hack: https://iosgods.com/topic/203205-zombie-roguebie-shooting-game-cheats-v122-9/


      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/203204-zombie-roguebie-shooting-game-v122-jailed-cheats-9/
        • Informative
        • Agree
        • Like
      • 14 replies
    • Falltopia: Epic Space Idle RPG v1.0.203 [ +12 Cheats ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
        • Informative
        • Winner
        • Like
      • 22 replies
    • Falltopia: Epic Space Idle RPG v1.0.203 [ +12 Jailed ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
        • Thanks
        • Winner
        • Like
      • 17 replies
    • Pandao Wars: Fight for Freedom v0.7.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Pandao Wars: Fight for Freedom By JBX GAMES DOO
      Bundle ID: com.jbxgames.island.wars.fight.defender
      App Store Link: https://apps.apple.com/ca/app/pandao-wars-fight-for-freedom/id6479307717?uo=4


      🤩 Hack Features

      - Crystal
      - Coins

        • Like
      • 14 replies
    • Pandao Wars: Fight for Freedom v0.7.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Pandao Wars: Fight for Freedom By JBX GAMES DOO
      Bundle ID: com.jbxgames.island.wars.fight.defender
      App Store Link: https://apps.apple.com/ca/app/pandao-wars-fight-for-freedom/id6479307717?uo=4 

      🤩 Hack Features

      - Crystal
      - Coins

        • Like
      • 14 replies
    • Travel Merge Family v2.951 [ +1++ Jailed ] Currency Max
      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max
        • Agree
        • Thanks
        • Like
      • 18 replies
    • Travel Merge Family v2.951 [ +1++ Cheats ] Currency Max
      Travel Merge Family

      🤩 Hack Features

      - Currency Max 
        • Informative
        • Like
      • 16 replies
    • Disney Solitaire v1.11.2 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Informative
        • Agree
        • Thanks
        • Like
      • 45 replies
    • Disney Solitaire v1.11.2 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Agree
        • Thanks
        • Winner
        • Like
      • 53 replies
    • Chef Treat v1.0.16 [ +1 Cheats ] Auto Win
      Modded/Hacked App: Chef Treat By HONGKONG 707 INTERACTIVE TECHNOLOGY CO., LIMITED
      Bundle ID: com.match.cheftreat.ios
      App Store Link: https://apps.apple.com/us/app/chef-treat/id6748721903?uo=4


      🤩 Hack Features

      - Auto Win


        • Like
      • 12 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