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

    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 APK MOD ] Currency Max
      Mod APK Game Name: Ghost Sniper: War FPS Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=sniper.war.target.soldier.shooter.aldagames.com

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 1 reply
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 1 reply
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 0 replies
    • Swamp Attack 2 v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Hack Features:
      - Gems
      - Gold
      - Ammo
      - Monster ATK No


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 55 replies
    • Swamp Attack 2 v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - Gems

      - Gold
      - Ammo
      - Monster ATK No


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 64 replies
    • Claw Quest: Roguelike RPG v1.5.2 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
        • Like
      • 14 replies
    • Claw Quest: Roguelike RPG v1.5.2 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
      • 25 replies
    • Dragon Village Rumble +3 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Dragon Village Rumble By Highbrow
      Bundle ID: com.highbrow.games.dvb.apple
      App Store Link: https://apps.apple.com/us/app/dragon-village-rumble/id6754904783?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Game Speed Multiplier
      • 54 replies
    • Pudgy Party - Battle Royale +7 Jailed Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       
       

      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
      • 36 replies
    • Glory Ages - VIKINGS +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Glory Ages - VIKINGS By VLADISLAV VASILEV
      Bundle ID: com.notriplea.gloryagesvikings
      App Store Link: https://apps.apple.com/us/app/glory-ages-vikings/id6754191922?uo=4

       


      🤩 Hack Features

      - Unlimited Everything -> Earn or spend some. This modifies everything. Currencies, boosters, health, damage, stamina.
      • 10 replies
    • Citampi Stories: Love and Life +5 Jailed Cheats [ Buy / Sell Price ]
      Modded/Hacked App: Citampi Stories: Love and Life By Banu Adhimuka
      Bundle ID: com.ikanasinproduction.cintadicitampi
      App Store Link: https://apps.apple.com/us/app/citampi-stories-love-and-life/id1462710484?uo=4

       


      🤩 Hack Features

      - Buy Price Modifier
      - Sell Price Modifier
      - Instant Crafting
      - No Energy Craft Requirement
      -- No Ads

      Note - This mod is OFFLINE only. Please wait 3-4 seconds before pressing Thank You.
      • 5 replies
    • Catstaurant: Cat Chefs +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Catstaurant: Cat Chefs By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.catkitchen
      iTunes Store Link: https://apps.apple.com/us/app/catstaurant-cat-chefs/id6736891067?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      • 10 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