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

    • Heroes Crew: Strategy Defense v1.5.7 [+13 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 144 replies
    • Heroes Crew: Strategy Defense v1.5.7 [+13 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 59 replies
    • Fishing Travel v3.4.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Fishing Travel By Ark Game Limited
      Bundle ID: com.arkgame.ft
      App Store Link: https://apps.apple.com/ph/app/fishing-travel/id6505145935?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      - Easy Catch
      - DMG
      • 11 replies
    • Fishing Travel v3.4.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Fishing Travel By Ark Game Limited
      Bundle ID: com.arkgame.ft
      App Store Link: https://apps.apple.com/ph/app/fishing-travel/id6505145935?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      - Easy Catch
      - DMG
      • 9 replies
    • Spin Squad! v2.1.2 [ +2 Cheats ] Battle Coins
      Modded/Hacked App: Lucky Offense By Crater Co., Ltd.
      Bundle ID: com.percent.ios.luckyrolling
      iTunes Store Link: https://apps.apple.com/us/app/lucky-offense/id6511224968?uo=4


      🤩 Hack Features

      - Battle Coins
      - ATK
      - ATK Range
      - ATK Speed

      ATK Linked Enemy
      • 101 replies
    • Wasteland Survival TD v0.6.3 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Wasteland Survival TD By Mildmania Oyun Sistemleri Anonim Sirketi
      Bundle ID: com.mildmania.wasteland
      App Store Link: https://apps.apple.com/ca/app/wasteland-survival-td/id6749257865?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - Unlimited Battle Coins
      - Always Last Wave
      - DMG
      • 4 replies
    • Wasteland Survival TD v0.6.3 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Wasteland Survival TD By Mildmania Oyun Sistemleri Anonim Sirketi
      Bundle ID: com.mildmania.wasteland
      App Store Link: https://apps.apple.com/ca/app/wasteland-survival-td/id6749257865?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - Unlimited Battle Coins
      - Always Last Wave
      - DMG
      • 6 replies
    • Block Kingdom v0.04.46 [ +13 Cheats ] Cheat Menu
      Modded/Hacked App: Block Kingdom By Tripledot Studios Limited
      Bundle ID: com.tripledot.blastroyale
      App Store Link: https://apps.apple.com/ph/app/block-kingdom/id6741105808?uo=4


      🤩 Hack Features

      - Cheat Menu / Play Match Then Back Show Menu Button©️

      • 2 replies
    • Block Kingdom v0.04.46 [ +13 Jailed ] Cheat Menu
      Modded/Hacked App: Block Kingdom By Tripledot Studios Limited
      Bundle ID: com.tripledot.blastroyale
      App Store Link: https://apps.apple.com/ph/app/block-kingdom/id6741105808?uo=4


      🤩 Hack Features

      - Cheat Menu / Play Match Then Back Show Menu Button ©️


      • 4 replies
    • Weapon Merge Battle v1.5 [ +3 Cheats ] Never Die
      Modded/Hacked App: Weapon Merge Battle By Rio Master DMCC
      Bundle ID: com.riomaster.weaponmerge
      App Store Link: https://apps.apple.com/ca/app/weapon-merge-battle/id6742321536?uo=4


      🤩 Hack Features

      - HP
      - ATK
      - DEF
      • 2 replies
    • Weapon Merge Battle v1.5 [ +3 Jailed ] Never Die
      Modded/Hacked App: Weapon Merge Battle By Rio Master DMCC
      Bundle ID: com.riomaster.weaponmerge
      App Store Link: https://apps.apple.com/ca/app/weapon-merge-battle/id6742321536?uo=4

       
      🤩 Hack Features

      - HP
      - ATK
      - DEF
      • 3 replies
    • Yukon: Family Adventure v1.67.3 [ +4++ Cheats ] Everything Unlimited
      Modded/Hacked App: Yukon: Family Adventure By Enixan Europe Limited
      Bundle ID: com.enixan.yukon.family.adventure
      iTunes Store Link: https://apps.apple.com/us/app/yukon-family-adventure/id6455041311?uo=4


      🤩 Hack Features

      - Gems

      - Energy

      - Items

      - EXP
        • Like
      • 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