Jump to content

4 posts in this topic

Recommended Posts

Posted

The latest THEOS  (post 2017, April) no longer has preference bundle template? Instead, it is preference_bundle_modern

Can I have some love on how to use this new one? At least it does not have .mm file that existing tutorial mentioned, or is there a template just for preference bundle?  

 

NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/activator_event
  [2.] iphone/application_modern
  [3.] iphone/cydget
  [4.] iphone/flipswitch_switch
  [5.] iphone/framework
  [6.] iphone/ios7_notification_center_widget
  [7.] iphone/library
  [8.] iphone/notification_center_widget
  [9.] iphone/preference_bundle_modern
  [10.] iphone/tool
  [11.] iphone/tweak
  [12.] iphone/xpc_service
Choose a Template (required): 9
 

Posted (edited)

Try this...

I've been using a different template lately that I found in tools section, but at a glance didn't see it. This should do the trick tho, and save you the time of setting up a subproject.

There's also a patcher template under tools if ur using offsets not hooking.

Updated by i0s_tweak3r
Posted

thanks for reading my question, I tried the mshook patch template you pointed and immediate meet 'UIAlertView' is deprecated error, do you got updated template or new way to it?

 

 

$ ~/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iOSGods CSCI Patcher v2.2
  [2.] iOSGods MSHook Patcher v1.1
  [3.] iOSGods Patcher v1.2
  [4.] iphone/activator_event
  [5.] iphone/application_modern
  [6.] iphone/cydget
  [7.] iphone/flipswitch_switch
  [8.] iphone/framework
  [9.] iphone/ios7_notification_center_widget
  [10.] iphone/library
  [11.] iphone/notification_center_widget
  [12.] iphone/preference_bundle_modern
  [13.] iphone/tool
  [14.] iphone/tweak
  [15.] iphone/xpc_service
Choose a Template (required): 2
Project Name (required): mshookpatch
Package Name [com.yourcompany.mshookpatch]: com.ap.mshookpatch
Author/Maintainer Name [U-AzureAD\STEVENJIANG]: Sj
[iOSGods MSHook Patcher v1.1] MobileSubstrate Bundle filter [com.apple.springboard]: com.diandian.valantforce
[iOSGods MSHook Patcher v1.1] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: -
Instantiating iOSGods MSHook Patcher v1.1 in mshookpatch/...
Done.

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~
$ cd mshookpatch/

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~/mshookpatch
$ make package
> Making all for tweak mshookpatch…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
Tweak.xm:97:468: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...AppDelegate* _LOGOS_SELF_CONST, SEL, UIAlertView *, NSInteger);
                                          ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:78:1: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"mshookpatch Cheats"
^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:78:28: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"mshookpatch Cheats"
                           ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:89:171: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...AppDelegate* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIAlertView * alertView, NSInteger buttonIndex) {
                                                                      ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:535: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ..._typeEncoding = '@'; i += 1; _typeEncoding = ':'; i += 1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strl...
                                                                                                       ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:566: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...+= 1; _typeEncoding = ':'; i += 1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strlen(@encode(UIAlertView *))...
                                                                                                            ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:604: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strlen(@encode(UIAlertView *))); i += strlen(@encode(UIAlertView ...
                                                                                                               ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
7 errors generated.
make[3]: *** [/home/STEVENJIANG/theos/makefiles/instance/rules.mk:295: /home/STEVENJIANG/mshookpatch/.theos/obj/debug/armv7/Tweak.xm.265df578.o] Error 1
make[2]: *** [/home/STEVENJIANG/theos/makefiles/instance/library.mk:32: /home/STEVENJIANG/mshookpatch/.theos/obj/debug/armv7/mshookpatch.dylib] Error 2
make[1]: *** [/home/STEVENJIANG/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/home/STEVENJIANG/theos/makefiles/master/rules.mk:90: mshookpatch.all.tweak.variables] Error 2

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~/mshookpatch
 

 

Posted (edited)
1 hour ago, ada1016 said:

thanks for reading my question, I tried the mshook patch template you pointed and immediate meet 'UIAlertView' is deprecated error, do you got updated template or new way to it?

 

 

$ ~/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iOSGods CSCI Patcher v2.2
  [2.] iOSGods MSHook Patcher v1.1
  [3.] iOSGods Patcher v1.2
  [4.] iphone/activator_event
  [5.] iphone/application_modern
  [6.] iphone/cydget
  [7.] iphone/flipswitch_switch
  [8.] iphone/framework
  [9.] iphone/ios7_notification_center_widget
  [10.] iphone/library
  [11.] iphone/notification_center_widget
  [12.] iphone/preference_bundle_modern
  [13.] iphone/tool
  [14.] iphone/tweak
  [15.] iphone/xpc_service
Choose a Template (required): 2
Project Name (required): mshookpatch
Package Name [com.yourcompany.mshookpatch]: com.ap.mshookpatch
Author/Maintainer Name [U-AzureAD\STEVENJIANG]: Sj
[iOSGods MSHook Patcher v1.1] MobileSubstrate Bundle filter [com.apple.springboard]: com.diandian.valantforce
[iOSGods MSHook Patcher v1.1] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: -
Instantiating iOSGods MSHook Patcher v1.1 in mshookpatch/...
Done.

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~
$ cd mshookpatch/

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~/mshookpatch
$ make package
> Making all for tweak mshookpatch…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
Tweak.xm:97:468: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...AppDelegate* _LOGOS_SELF_CONST, SEL, UIAlertView *, NSInteger);
                                          ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:78:1: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"mshookpatch Cheats"
^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:78:28: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"mshookpatch Cheats"
                           ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:89:171: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...AppDelegate* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIAlertView * alertView, NSInteger buttonIndex) {
                                                                      ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:535: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ..._typeEncoding = '@'; i += 1; _typeEncoding = ':'; i += 1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strl...
                                                                                                       ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:566: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...+= 1; _typeEncoding = ':'; i += 1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strlen(@encode(UIAlertView *))...
                                                                                                            ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
Tweak.xm:100:604: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]
  ...1; memcpy(_typeEncoding + i, @encode(UIAlertView *), strlen(@encode(UIAlertView *))); i += strlen(@encode(UIAlertView ...
                                                                                                               ^
/home/STEVENJIANG/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note:
      'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
           ^
7 errors generated.
make[3]: *** [/home/STEVENJIANG/theos/makefiles/instance/rules.mk:295: /home/STEVENJIANG/mshookpatch/.theos/obj/debug/armv7/Tweak.xm.265df578.o] Error 1
make[2]: *** [/home/STEVENJIANG/theos/makefiles/instance/library.mk:32: /home/STEVENJIANG/mshookpatch/.theos/obj/debug/armv7/mshookpatch.dylib] Error 2
make[1]: *** [/home/STEVENJIANG/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/home/STEVENJIANG/theos/makefiles/master/rules.mk:90: mshookpatch.all.tweak.variables] Error 2

AzureAD+STEVENJIANG@DESKTOP-T14QN27 ~/mshookpatch
 

 

Sorry this is the patcher template I use.

I don't know if theos changed as I don't have your version, but this works on my projects. Looks like I linked you to version 1.1 originally hopefully this will work. This is 1.2

Updated by i0s_tweak3r
Updated version

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

    • Chum Chum Blast! v1.13.815 [ +9 APK MOD ] Auto Win
      Mod APK Game Name: Chum Chum Blast!
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ritzdeligames.eraserblast&hl=en

      🤩 Hack Features

      - Auto Win
      - ADS Ticket
      - Coins / Golden Pass To Get
      - Unlimited Stars
      - Unlimited Booster
      - Lives Inf
      - Moves Unlimited
      - Golden Pass
      - Free & Golden Pass / Claim Unlimited 
      • 4 replies
    • Merge Cruise: Mystery Puzzle v0.37.970 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Merge Cruise: Mystery Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.peerplay.megamerge&hl=en

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Energy
      • 9 replies
    • Dragon Wings: RPG Shoot em up v3.6.0 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=rpg.arcade.space.shooter.dragon.wings&hl=en

      🤩 Hack Features

      - Super Card Active
      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - ATK
      • 8 replies
    • Swamp Attack 2 v1.1.0 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Swamp Attack 2
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hyperdotstudios.swampattack2&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Card EXP
      - Monster ATK NO
      • 3 replies
    • Merge Crime: Mystery & Romance v1.13.0 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Merge Crime: Mystery & Romance
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.standegg.mergecrime&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 2 replies
    • Soccer Journey: Champion Squad v1.0.14 [ +12 APK MOD ] Currency Max
      Mod APK Game Name: Soccer Journey: Champion Squad By KONG SOFTWARE JOINT STOCK
      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Player Energy
      - Unlimited Match Energy
      - Unlimited Tokens
      - Unlimited EXP User
      - Unlimited Scout Ticket +3
      - Unlimited Standard Scout +4
      - Unlimited Cube +4
      - Unlimited Training +3
      - Upgrade Cost All Building [ Earn Cash Unlimited ]
      - Speed UP Cost All Building [ Earn Cash Unlimited ]
      • 3 replies
    • Forest Cabin: Survive v2.00.007 [ +4 APK MOD ] Battle Coins
      Mod APK Game Name: Forest Cabin: Survive
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.qxgame.gmerge
      🤩 Hack Features

      - Speed 2X Active
      - Unlimited Battle Coin
      - Unlimited Battle Energy
      - ATK Speed
      • 7 replies
    • Immortal Rising 2 v1.4.13 Jailed Cheats +5
      Modded/Hacked App: Immortal Rising 2 By Planetarium Labs Pte. Ltd.
      Bundle ID: com.badbeans.immortalrising2
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising-2/id6467105374?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - More damage
      - No CD
      - Earn more gold
      - Earn more exp
      - Freeze combokill
      - God mode
      • 224 replies
    • [Welcome to Dreamland TW] 歡迎來到夢樂園 v1.4 Jailed Cheats +5
      Modded/Hacked App: 歡迎來到夢樂園 By POSEIDON NET LIMITED
      Bundle ID: com.poseidongame.dsl
      App Store Link: https://apps.apple.com/tw/app/%E6%AD%A1%E8%BF%8E%E4%BE%86%E5%88%B0%E5%A4%A2%E6%A8%82%E5%9C%92/id6748006168?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

      - God Mode
      - Multiply Attack
      - Auto Win
       

      Note: If stuck at loading screen report to me for update

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/203854-welcome-to-dreamland-tw-%E6%AD%A1%E8%BF%8E%E4%BE%86%E5%88%B0%E5%A4%A2%E6%A8%82%E5%9C%92-v13-jailed-cheats-5/
      • 1 reply
    • Harry Potter: Puzzles & Spells v106.0.338 +1 Mod [ Freeze Moves ]
      Mod APK Game Name: Harry Potter: Puzzles & Spells
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.zynga.pottermatch&hl=en

       

      🤩 Hack Features

      - Freeze Moves -> Enable when you have 1 move left to avoid puzzle issues.
      • 10 replies
    • Harry Potter: Puzzles & Spells v107.0.341 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 129 replies
    • Spell Arena: Battle Royale v0.8.1 +3++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Spell Arena: Battle Royale By MADCORE GAMES SP Z O O
      Bundle ID: com.tapanywhere.magicarena
      iTunes Store Link: https://apps.apple.com/us/app/spell-arena-battle-royale/id1556673765?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.
      - Unlimited Trophies -> Play a match.


      Jailbreak required hack(s): [Mod Menu Hack] Spell Arena: Battle Royale v0.7.15 +3++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 7 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