Skip to content
Guest Big Announcement

Cant create hack Theos errors

Featured Replies

So look i wanna make a hack

and first i would like to ask how to add a hook in shmoo template tweak.xm

example: 

int GetMoney ()

{

return 999999999;

}

 

First i did add switch and than feature and script but whenever i go to newterm and do make package it gives me this error

 

make package                                                

> Making all for tweak @@Anonie@@…                 

==> Compiling Tweak.xm (arm64)…                    

Tweak.xm:27:1: error: expected unqualified-id      

%hook @@APPDELEGATE@@                              

^                                                  

1 error generated.                                 

make[3]: *** [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/ioshax/Realracing/.theos/obj/debug/arm64/Tweak.xm.2bb28351.o] Error 1                

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/ioshax/Realracing/.theos/obj/debug/arm64/@@Anonie@@.dylib] Error 2                  

make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2              

make: *** [/var/theos/makefiles/master/rules.mk:123: @@Anonie@@.all.tweak.variables] Error 2           

Anonie:/var/mobile/ioshax/Realracing root#

 

 

and yes i did fill the appdelegate

 

anyone knows fix

 

 

 

Updated by T13RN0

  • Author
4 minutes ago, DiDA said:

It seems like you did not fill in the necessary fields when creating a new project. Or you simply extracted the template and started compiling it.

"%hook @@APPDELEGATE@@" should not look like that.

Well i filled Tweak.xm

control 

plist

makefile

and i also still not get how to add hooks example above in topic 

  • Author
1 minute ago, DiDA said:

Have you ran $THEOS/bin/nic.pl when creating your project?

Nope i Use shmoo template iOS 11

Uh, you can't extract it from the .tar file. You need to place the .tar file in $THEOS/templates and then run $THEOS/bin/nic.pl
Select the cheat from shmoo and then you fill in the required information. After that you have the correct Tweak.xm and other stuff you can modify. 

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.