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

    • Goblin Miner: Idle Merger v3.7.1 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
        • Like
      • 0 replies
    • Goblin Miner: Idle Merger v3.7.1 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
        • Thanks
      • 0 replies
    • Gear Truck! v1.0.23 [+3 Jailed Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
        • Winner
        • Like
      • 5 replies
    • Gear Truck! v1.0.23 [+3 Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
       
        • Haha
        • Thanks
        • Winner
        • Like
      • 5 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 46 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
        • Agree
        • Thanks
        • Winner
        • Like
      • 47 replies
    • Cannon Heroes X v1.2.27 [+2 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
        • Winner
        • Like
      • 10 replies
    • Cannon Heroes X v1.2.27 [+2 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
        • Winner
        • Like
      • 7 replies
    • Slay Quest v1.3.13 [+3 Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
        • Agree
        • Thanks
        • Winner
        • Like
      • 8 replies
    • Slay Quest v1.3.13 [+3 Jailed Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4

       

      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
        • Like
      • 6 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
        • Agree
        • Thanks
        • Winner
        • Like
      • 23 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
        • Agree
        • Winner
        • Like
      • 17 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