Jump to content

I'm trying to create a menu mode, but it's not working due to an error.


Go to solution Solved by Rook,

11 posts in this topic

Recommended Posts

Posted

This is the environment I worked in.

IPhone 11pro

ios: 14.7.1

sdk : 13.4

Ted2's Mod Menu Template v0.9.0.nic

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

doesn't work with below error

===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... > Making all for tweak kmspatch... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Preprocessing Tweak.xm... Preprocessing Tweak.xm... Compiling Tweak.xm (arm64)... Tweak.xm:84:26: error: use of undeclared identifie == r 'Unity Framework' [menu setFrameworkName: Unity Framework]; A 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie
make: *** L/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# make package ins tall ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Making all for tweak kmspatch... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Preprocessing Tweak.xm... Preprocessing Tweak.xm... ==> Compiling Tweak.xm (arm64)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 

 

 

  • Solution
Posted

You need to remove the space in “Unity Framework”. It’s UnityFramework without a space.

Posted
1 hour ago, KaiszS2 said:

This is the environment I worked in.

IPhone 11pro

ios: 14.7.1

sdk : 13.4

Ted2's Mod Menu Template v0.9.0.nic

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

doesn't work with below error

===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... > Making all for tweak kmspatch... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Preprocessing Tweak.xm... Preprocessing Tweak.xm... Compiling Tweak.xm (arm64)... Tweak.xm:84:26: error: use of undeclared identifie == r 'Unity Framework' [menu setFrameworkName: Unity Framework]; A 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie
make: *** L/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# make package ins tall ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Making all for tweak kmspatch... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... ===> Setting SYSROOT to /var/theos/sdks/iPhone0S13 .4.sdk/... Preprocessing Tweak.xm... Preprocessing Tweak.xm... ==> Compiling Tweak.xm (arm64)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 

 

 

you forgot the quote for "UnityFramework"

Posted
6 minutes ago, Rook said:

You need to remove the space in “Unity Framework”. It’s UnityFramework without a space.

No whitespace framework but same problem

 

1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 ==> Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64e/Twe ak.xm.64406d15.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64/kms patch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# 

7 minutes ago, j u s t... said:

you forgot the quote for "UnityFramework"

No whitespace framework but same problem

 

1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 ==> Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64e/Twe ak.xm.64406d15.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64/kms patch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# 

Posted
7 minutes ago, KaiszS2 said:

No whitespace framework but same problem

 

1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 ==> Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64e/Twe ak.xm.64406d15.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64/kms patch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# 

No whitespace framework but same problem

 

1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64/Twea k.xm.4387cda6.o] Error 1 ==> Compiling Tweak.xm (arm64e)... Tweak.xm:84:26: error: use of undeclared identifie r 'Unity Framework' [menu setFrameworkName: Unity Framework]; 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules. mk:271: /var/mobile/kmspatch/.theos/obj/arm64e/Twe ak.xm.64406d15.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64/kms patch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2 iPhone:/var/mobile/kmspatch root# 

uhhh did you read what i have posted ?

[menu setFrameworkName: "UnityFramework"];

 

Posted
19 minutes ago, j u s t... said:

you forgot the quote for "UnityFramework"

I solved this problem and another problem occurred

ld: warning: object file /var/mobile/kmspatch/.the os/obj/arm64e/SCLAlertView/SCLAlertView.m.64406d15 .o was built with an incompatible arm64e ABI compi to read ld: warning: object file /var/mobile/kmspatch/.the os/obj/arm64e/SCLAlertView/UIImage+ImageEffects.m. 64406d15.o was built with an incompatible arm64e A BI compiler Generating debug symbols for kmspatch_ Stripping kmspatch (arm64e)... bash: strip: command not found make[3]: *** [/var/theos/makefiles/instance/librar y.mk:54: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 127 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_1 Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2

Posted
1 minute ago, KaiszS2 said:

I solved this problem and another problem occurred

ld: warning: object file /var/mobile/kmspatch/.the os/obj/arm64e/SCLAlertView/SCLAlertView.m.64406d15 .o was built with an incompatible arm64e ABI compi to read ld: warning: object file /var/mobile/kmspatch/.the os/obj/arm64e/SCLAlertView/UIImage+ImageEffects.m. 64406d15.o was built with an incompatible arm64e A BI compiler Generating debug symbols for kmspatch_ Stripping kmspatch (arm64e)... bash: strip: command not found make[3]: *** [/var/theos/makefiles/instance/librar y.mk:54: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 127 make[2]: *** [/var/theos/makefiles/instance/librar y.mk:52: /var/mobile/kmspatch/.theos/obj/arm64e/km spatch.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/librar y.mk:37: internal-library-all_1 Error 2 make: *** [/var/theos/makefiles/master/rules.mk:11 7: kmspatch.all.tweak.variables] Error 2

hum i think its realted with your Makefile, im not sure tho

have you set the correct arch on the makefile ?

Posted
5 minutes ago, j u s t... said:

hum i think its realted with your Makefile, im not sure tho

have you set the correct arch on the makefile ?

# THEOS_DEVICE_IP = My ip -p 2222 # install to device from pc
ARCHS = arm64 #arm64e
DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1

# 0 to treat warnings as errors, 1 otherwise.
IGNORE_WARNINGS=0

# only set this  to 1 if you are on mobile theos
# assuming you have an sdk at your theos sdks directory
# this will include c++ headers and other needed headers for your project so you don't need to manually include them or something like that
# if some c++ headers are still missing in your sdk like "initializer_list" then manually copy them to your c++ headers directory and not your project folder
# for example in my case c++ headers directory is located at /private/var/theos/sdks/iPhoneOS13.4.sdk
# please note, do not include c++ headers in your theos includes to enable c++ which is a ghetto solution and use this approach instead
MOBILE_THEOS=1
ifeq ($(MOBILE_THEOS),1)
  # path to your sdk
  SDK_PATH = $(THEOS)/sdks/iPhoneOS13.4.sdk/
  $(info ===> Setting SYSROOT to $(SDK_PATH)...)
  SYSROOT = $(SDK_PATH)
else
  TARGET = iphone:clang:latest:14.7.1
endif


## Common frameworks ##
PROJ_COMMON_FRAMEWORKS = UIKit Foundation Security QuartzCore CoreGraphics CoreText

## source files ##
KITTYMEMORY_SRC = $(wildcard KittyMemory/*.cpp)
SCLALERTVIEW_SRC =  $(wildcard SCLAlertView/*.m)
MENU_SRC = Menu.mm

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = kmspatch

kmspatch_CFLAGS = -fobjc-arc
kmspatch_CCFLAGS = -std=c++11 -fno-rtti -fno-exceptions -DNDEBUG

ifeq ($(IGNORE_WARNINGS),1)
  kmspatch_CFLAGS += -w
  kmspatch_CCFLAGS += -w
endif


kmspatch_FILES = Tweak.xm $(MENU_SRC) $(KITTYMEMORY_SRC) $(SCLALERTVIEW_SRC)

kmspatch_LIBRARIES += substrate

kmspatch_FRAMEWORKS = $(PROJ_COMMON_FRAMEWORKS)
# GO_EASY_ON_ME = 1

include $(THEOS_MAKE_PATH)/tweak.mk

internal-package-check::
    @chmod 777 versionCheck.sh # Give permission to script     
    @./versionCheck.sh # Script to verify template's current version

after-install::
    install.exec "killall -9  || :"
 

Posted
25 minutes ago, KaiszS2 said:

bash: strip: command not found

You need to make sure you have installed theos properly as you seem to be missing dependenices.

Namely "strip"

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

    • Mob Control v3.10.2 +7 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Mob Control
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.vincentb.MobControl

       

      🤩 Hack Features

      - Unlimited Coins -> Will increase instead of decrease.
      - Unlimited Skip'Its -> Will increase instead of decrease.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement
      • 3 replies
    • Royal Match v32984 +10 Mods [ Coins + More ]
      Mod APK Game Name: Royal Match By Dream Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.dreamgames.royalmatch&hl=en_GB

       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.
      • 5 replies
    • Good Coffee, Great Coffee v1.10.1 +8 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Good Coffee, Great Coffee By TAPBLAZE
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.tapblaze.coffeebusiness&hl=en_GB

       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
      • 3 replies
    • MeChat - Interactive Stories v4.43.0 +4 Mods [ Unlimited Gems ]
      Mod APK Game Name: MeChat - Interactive Stories By PlayMe Studio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=world.playme.mechat&hl=en_GB

       

      🤩 Hack Features

      - Unlimited Gems -> Will increase instead of decrease.
      - Unlock All Photos
      - Unlock All Audio Clips
      -- VIP Enabled
      • 3 replies
    • MU: Pocket Knights v1.4.14 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      • 120 replies
    • Amikin Village: Magic Sim RPG v1.6.0 +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 359 replies
    • Dawn of Ages: Medieval Games v2.6.6 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 120 replies
    • Coop TD v1.4.16 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Coop TD By Supermagic Inc.
      Bundle ID: com.supermagic.ios.cooptd
      iTunes Store Link: https://apps.apple.com/us/app/coop-td/id6503702666?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Unlimited In-Game Gold
      - Unlimited In-Game Main Stones
      • 80 replies
    • Ultimate Golf! v5.01.01 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
      • 195 replies
    • Obsidian Knight RPG v1.200.12 [+3 Jailed Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4



      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
      • 30 replies
    • Obsidian Knight RPG v1.200.12 [+3 Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4

       

      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
      • 31 replies
    • Margonem Adventures v2.4.6 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 24 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