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

    • Matching Story v1.39.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 20 replies
    • Matching Story v1.39.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 29 replies
    • Eliminate Undead v1.0 [+2 Cheats]
      Modded/Hacked App: Eliminate Undead By 学涛 曹
      Bundle ID: com.raidsquad.dianadian
      App Store Link: https://apps.apple.com/us/app/eliminate-undead/id6739250912?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Resources
       
      • 0 replies
    • Eliminate Undead v1.0 [+2 Jailed Cheats]
      Modded/Hacked App: Eliminate Undead By 学涛 曹
      Bundle ID: com.raidsquad.dianadian
      App Store Link: https://apps.apple.com/us/app/eliminate-undead/id6739250912?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Resources
      • 1 reply
    • Loot Lancer v1.0.1 [+3 Cheats]
      Modded/Hacked App: Loot Lancer By 学涛 曹
      Bundle ID: com.lootlancer.dianadian
      App Store Link: https://apps.apple.com/us/app/loot-lancer/id6743701566?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Skill Point
      - Unlimited Resources
      • 0 replies
    • Loot Lancer v1.0.1 [+3 Jailed Cheats]
      Modded/Hacked App: Loot Lancer By 学涛 曹
      Bundle ID: com.lootlancer.dianadian
      App Store Link: https://apps.apple.com/us/app/loot-lancer/id6743701566?uo=4


       

      🤩 Hack Features

      - Never Die
      - Unlimited Skill Point
      - Unlimited Resources
      • 0 replies
    • Z Survivor: Backpack Shooter v0.61 [+2 Cheats]
      Modded/Hacked App: Z Survivor: Backpack Shooter By Tapped Ltd
      Bundle ID: com.tapped.zsurvivor
      iTunes Store Link: https://apps.apple.com/us/app/z-survivor-backpack-shooter/id6557072922?uo=4



      🤩 Hack Features

      - Debug Menu (Auto Play, Skip Level and more)
      - Never Die
      - Unlimited Resource (Currency, Keys, Blueprints)
      • 10 replies
    • Z Survivor: Backpack Shooter v0.61 [+2 Jailed Cheats]
      Modded/Hacked App: Z Survivor: Backpack Shooter By Tapped Ltd
      Bundle ID: com.tapped.zsurvivor
      iTunes Store Link: https://apps.apple.com/us/app/z-survivor-backpack-shooter/id6557072922?uo=4



      🤩 Hack Features

      - Debug Menu (Auto Play, Skip Level and more)
      - Never Die
      - Unlimited Resource (Currency, Keys, Blueprints)
      • 9 replies
    • Omega Royale - Tower Defense v1.5.0 [+2 Jailed Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4

       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Omega Royale - Tower Defense v1.5.0 [+2 Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4


       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Townfall: Zombie Tower Defense v20.1.1 [+4 Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
      • 6 replies
    • Townfall: Zombie Tower Defense v20.1.1 [+4 Jailed Cheats]
      Modded/Hacked App: Townfall: Zombie Tower Defense By Sugarscone
      Bundle ID: com.nmg.townfall.ios
      App Store Link: https://apps.apple.com/us/app/townfall-zombie-tower-defense/id6476259669?uo=4



      🤩 Hack Features

      - No Reload
      - Add Gold (Enable inside battle and finish stage)
      - Add Wood (Enable inside battle)
      - Skip Wave (Enable inside wave)
      • 4 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