Wednesday, 3 August 2022

Make Package error involving Switch

So making a super simple obj c mod menu source code %hook Hud -(void) addMinimap { if([switches isSwitchOn:@"test"]) { return %orig; } } %end [switches addSwitch:@"test" description:@""]; and this error is coming up when trying to make deb file Compiling Tweak.xm (arm64)… Tweak.xm:16:4: error: missing '[' at start of message send expression [switches addSwitch:@("test") ^ [ Tweak.xm:17:71: error: expected ']' description:@("Teleport all enemies to you without them knowing")]; ^ Tweak.xm:16:3: note: to match this '[' [switches addSwitch:@("test") ^ Tweak.xm:16:3: error: expected unqualified-id [switches addSwitch:@("test") ^ 3 errors generated. make[3]: *** [/var/theos/makefiles/instance/rules.mk:270: /var/mobile/agario/.theos/obj/arm64/Tweak.xm.caa39aaa.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/library.mk:52: /var/mobile/agario/.theos/obj/arm64/agario.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:117: agario.all.tweak.variables] Error 2 if anyone had this problem can you please tell I’m pretty sure the switch is correct The copy and paste looks for the looks weird to me I will add picture if needed

from iOSGods RSS Feed https://ift.tt/VG6Frkl

No comments:

Post a Comment