Jump to content

Preference Bundle Error


Go to solution Solved by Crypto,

24 posts in this topic

Recommended Posts

Posted

Tried turning it on and off? The switch. :p

I just tried to turn on and off and tried to respring still got nothing

Posted (edited)

I just tried to turn on and off and tried to respring still got nothing

Can you show me your tweak.xm and the .plist in your resources folder? (Not the info.plist)

Updated by Crypto
Posted

Can you show me your tweak.xm and the .plist in your resources folder? (Not the info.plist)

Yeah here is my tweak.xm

Ā 

Ā 

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

Ā 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

Ā 

%hook MagicPerformanceStats

-(bool) isPerfect {

if(GetPrefBool(@"kPlan")) {

return true;

}

return %orig;

}

%end

Ā 

Ā 

And this is my 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>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>com.techprohacker.ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

</array>

<key>title</key>

<string>ptest</string>

</dict>

</plist>

Posted

Yeah here is my tweak.xm

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

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

%hook MagicPerformanceStats

-(bool) isPerfect {

if(GetPrefBool(@"kPlan")) {

return true;

}

return %orig;

}

%end

And this is my 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>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>com.techprohacker.ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

</array>

<key>title</key>

<string>ptest</string>

</dict>

</plist>

Ā 

Change <string>com.techprohacker.ptest</string> to <string>ptest</string>

Posted

Change <string>com.techprohacker.ptest</string> to <string>ptest</string>

yay. that worked how can i add more switches for different hacks but with the same app

Posted

yay. that worked how can i add more switches for different hacks but with the same app

Add another PSSwitchCell in the resource .plist file and link the hack

Posted

Add another PSSwitchCell in the resource .plist file and link the hack

So this but just add the new hack ?

Ā 

<key>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

Posted

So this but just add the new hack ?

<key>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

You have to add the PSGroupCell on top also :)

Posted (edited)

You have to add the PSGroupCell on top also :)

likes this

Ā 

<key>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

</array>

<key>title</key>

<string>ptest</string>

</dict>

</plist>

Updated by patricktph
Posted

If it's a 2nd hack, you don't need to put

<key>items</key>

<array>

Ā 

You start with

Ā 

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>Magic Piano Cheats</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<true/>

<key>defaults</key>

<string>ptest</string>

<key>key</key>

<string>kPlan</string>

<key>label</key>

<string>Always perfect</string>

</dict>

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

    • 8 Ball Champions v21.1.1 [ +9 Cheats ] AI Freeze
      Modded/Hacked App: 8 Ball Champions By Kazoo Media, Inc.
      Bundle ID: com.kazoo.pool2
      App Store Link: https://apps.apple.com/us/app/8-ball-champions/id1531510980?uo=4

      🤩 Hack Features

      -Ā šŸŽÆ Cue Guideline
      - šŸ’Ŗ Cue Power
      - šŸ¤– AI Can't Play
      - 🚫 Opponent Can't Play
      - šŸš€ Unlimited Boosters
      - ā±ļø Opponent Time 0
      - šŸ™ļø Unlock All Cities
      -Ā šŸŽ± Any Ball Counts
      -Ā āœ‹ Move Any Ball
      • 0 replies
    • 8 Ball Champions v21.1.1 [ +9 Jailed ] AI Freeze
      Modded/Hacked App: 8 Ball Champions By Kazoo Media, Inc.
      Bundle ID: com.kazoo.pool2
      App Store Link: https://apps.apple.com/us/app/8-ball-champions/id1531510980?uo=4

      🤩 Hack Features

      -Ā šŸŽÆ Cue Guideline
      - šŸ’Ŗ Cue Power
      - šŸ¤– AI Can't Play
      - 🚫 Opponent Can't Play
      - šŸš€ Unlimited Boosters
      - ā±ļø Opponent Time 0
      - šŸ™ļø Unlock All Cities
      -Ā šŸŽ± Any Ball Counts
      -Ā āœ‹ Move Any Ball
      • 2 replies
    • Ninja Scroll Rush v0.3.14 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      -Ā Unlimited Keys +3
      -Ā Unlimited Coins
      -Ā Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
      • 11 replies
    • Jolly Match 3 - Puzzle Game v1.0.2774 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 23 replies
    • Crowd Champs: 3D Runner Game v1.18.2 [ +13 Cheats ] Currency Max
      Modded/Hacked App: Crowd Champs: 3D Runner Game By AI GAMES FZ LLC
      Bundle ID: crowd.champs.game
      App Store Link: https://apps.apple.com/us/app/crowd-champs-3d-runner-game/id6756704370?uo=4

      🤩 Hack Features

      - Auto ADS Off
      -Ā Champs Pass Active
      -Ā Champs Pass / Claim Unlimited
      -Ā Gems Earn
      -Ā Totem +2 Active
      -Ā Spin Free / Note When 0 Then Use Only
      -Ā Upgrade Cost Free / Need 1 Coin
      :::: ViP Spin Rewards ::::
      - Unlimited Gems
      -Ā Unlimited Coins
      -Ā Unlimited Energy
      -Ā Unlimited Rune Cards
      -Ā Unlimited Rune Upgrade Card
      -Ā Unlimited Spins / Note Don't Use Free Spin When Using This
      • 5 replies
    • Merge Beach : Gossip & Mystery v1.1.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Beach : Gossip & Mystery By 1GRAM
      Bundle ID: com.ongram.merge.beach.gossip.mystery
      App Store Link: https://apps.apple.com/us/app/merge-beach-gossip-mystery/id6746242808?uo=4

      🤩 Hack Features

      -Ā Unlimited Gems
      -Ā Unlimited Coins
      -Ā Unlimited Energy
      • 8 replies
    • WOF - Arena v0.2.81 [ +1 Cheats ] DMG
      Modded/Hacked App: WOF - Arena By WoF Production
      Bundle ID: com.WOFProduction.WheelofFaithArena
      App Store Link: https://apps.apple.com/us/app/wof-arena/id6741720731?uo=4

      🤩 Hack Features

      - DMG / Linked Enemy / But When Your Turn Then Use Easy To Win
      • 13 replies
    • Castle Crush-Match 3 v2.69.0 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Castle Crush-Match 3 By KIWI MIBO NETWORK TECHNOLOGY CO.,LIMITED
      Bundle ID: com.mibo.castlecrush.apple
      iTunes Store Link: https://apps.apple.com/us/app/castle-crush-match-3/id1663431964?uo=4


      Hack Features

      - Coins

      - Lives

      - Stars

      - Moves Freeze

      - Booster

      - Auto Win [ Just Hit Target ]


      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/
      • 48 replies
    • Samkok Heroes TD Dynasty Tower Defense v2.27.265 [ +8 Cheats ] ViP Active
      Modded/Hacked App: Samkok Heroes TD By Suga Pte. Ltd.
      Bundle ID: co.imba.threekingdoms.towerdefense
      App Store Link: https://apps.apple.com/us/app/samkok-heroes-td/id6758647943?uo=4
      🤩 Hack Features

      - HP MAX
      - ATK MAX
      - iGG Speed X6 / Wave Skiper
      ::::: VIP :::::
      - ViP Active
      - ADS No
      -Ā Special Pack Daily / Rewards Claim Unlimited
      -Ā Special Pack Weekly / Rewards Claim Unlimited
      -Ā Special Pack Monthly / Rewards Claim Unlimited
      - Hero Unlocked
      • 23 replies
    • Mob Era: Age Evolution v0.3.4 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Mob Era: Age Evolution By HORUS ENTERTAINMENT PTE. LTD.
      Bundle ID: com.horusent.mob.era
      App Store Link: https://apps.apple.com/us/app/mob-era-age-evolution/id6758683774?uo=4

      🤩 Hack Features

      - Unlimited Gems
      -Ā Unlimited Cash
      -Ā Unlimited Stars
      -Ā Unlimited Energy
      -Ā UnlimitedĀ Skip AD Ticket
      -Ā Unlimited Trophy
      -Ā Unlimited Buff Card Pack
      -Ā Premium Energy & Gem Active
      -Ā ATK MAX
      • 1 reply
    • Card Train v1.8.2 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Card Train By Jinwoo Kim
      Bundle ID: com.kazrahann.cardtrain
      App Store Link: https://apps.apple.com/ph/app/card-train/id6773644764?uo=4

      🤩 Hack Features

      - Enough Cube
      - Enough Gems
      - Unlimited Coins
      - Mana Freeze
      - HP Max
      - HPĀ Freeze
      - ATK Max
      • 2 replies
    • Corner Cafe: Merge puzzle game v2.7 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Corner Cafe : Merge & Cook By Alchemical Inc
      Bundle ID: com.grilltown.grill
      App Store Link: https://apps.apple.com/ph/app/corner-cafe-merge-cook/id6748403232?uo=4

      🤩 Hack Features

      - Unlimited Cash / Earn Then Get
      - Unlimited Coins / Sell Items Then Get
      - Unlimited Energy
      • 13 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