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

    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 2 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Like
      • 2 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Like
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Winner
        • Like
      • 6 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 0 replies
    • Bullet Boy v41 [ +1 Jailed ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Jailed ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4

      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
        • Like
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Cheats ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4
      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
        • Like
      • 3 replies
    • Mini DAYZ 2 +4 Jailed Cheats [ ESP Boxes, Lines ]
      Modded/Hacked App: Mini DAYZ 2 By Bohemia Interactive AS
      Bundle ID: com.bistudio.minidayz2
      App Store Link: https://apps.apple.com/us/app/mini-dayz-2/id1482111801?uo=4

       


      🤩 Hack Features

      - Ally ESP Boxes
      - Ally ESP Lines
      - Ally ESP Health
      - Ally ESP Distance
      - Enemy ESP Boxes
      - Enemy ESP Lines
      - Enemy ESP Health
      - Enemy ESP Distance
        • Agree
        • Haha
        • Like
      • 7 replies
    • Haikyuu!! ( ハイキュー!! ) TOUCH AND CONNECT +4 Mods [ Auto Win ]
      Mod APK Game Name: ハイキュー!! TOUCH AND CONNECT By G Holdings co., ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gholdings.haicone

       

      🤩 Hack Features

      - Unlimited Score
      - Freeze Moves
      - Freeze In-Game Timer
      - Auto Win
        • Winner
        • Like
      • 0 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