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

    • ZakuzakuSlash +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: ZakuzakuSlash By nekosuko
      Bundle ID: jp.nekosuko.zakuzakuslash
      App Store Link: https://apps.apple.com/us/app/zakuzakuslash/id6749934570?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
        • Winner
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
        • Like
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 2 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 3 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Thanks
        • Like
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Agree
        • Winner
        • Like
      • 10 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 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