Jump to content

[New 2024 - iOS 14/15/16] How To Install Theos & SDKs on your iOS Device!


150 posts in this topic

Recommended Posts

Posted

Thanks a lot for the great tutorial
However, and I don't know if the place is right, please feel free to redirect me, but after trying a first little tweak I got looooads of errors when compiling.
The first being that the include in the main.m was screwed, then I changed, in the MakeFile the line TweakTest1_FILES = main.m  to tweak.xm

content of tweak folder:

/var/mobile/tweakttest1 root# ls -la
total 16
drwxr-xr-x  9 root   mobile  288 May 19 19:36 .
drwx--x--x 15 mobile mobile  480 May 19 19:11 ..
drwxr-xr-x  4 root   mobile  128 May 19 19:18 .theos
-rw-r--r--  1 root   mobile  343 May 19 19:45 Makefile
drwxr-xr-x  5 root   mobile  160 May 19 19:11 client
drwxr-xr-x  4 root   mobile  128 May 19 19:11 layout
-rw-r--r--  1 root   mobile 1800 May 19 19:31 main.h
-rw-r--r--  1 root   mobile 1780 May 19 19:29 main.m
-rw-r--r--  1 root   mobile   68 May 19 19:18 tweak.xm

Makefile:

ARCHS = armv7 armv7s arm64
include /var/theos/makefiles/common.mk

TOOL_NAME = TweakTtest1

TweakTtest1_FILES = tweak.xm
TweakTtest1_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/tool.mk

after-TweakTtest1-stage::
        $(ECHO_NOTHING)$(FAKEROOT) chown root:wheel $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.wisbit.tweaktest1.plist$(ECHO_END)

tweak.xm:

%hook SBFolder
-(BOOL)shouldRemoveWhenEmpty {
return NO;
}
%end

 

Results :

/var/mobile/tweakttest1 root# make package install
> Making all for tool TweakTtest1…
==> Preprocessing tweak.xm…
==> Preprocessing tweak.xm…
==> Preprocessing tweak.xm…
==> Compiling tweak.xm (arm64)…
==> Linking tool TweakTtest1 (arm64)…
Undefined symbols for architecture arm64:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.b8ba8393.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/arm64/TweakTtest1] Error 1
make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/arm64/TweakTtest1] Error 2
make[2]: *** Waiting for unfinished jobs....
==> Compiling tweak.xm (armv7)…
==> Compiling tweak.xm (armv7s)…
==> Linking tool TweakTtest1 (armv7)…
Undefined symbols for architecture armv7:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.1740f4d9.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture armv7
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7/TweakTtest1] Error 1
==> Linking tool TweakTtest1 (armv7s)…
Undefined symbols for architecture armv7s:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.a48028c5.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture armv7s
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7s/TweakTtest1] Error 1
rm /var/mobile/tweakttest1/.theos/obj/debug/armv7/tweak.xm.mmrm /var/mobile/tweakttest1/.theos/obj/debug/armv7s/tweak.xm.mm

make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7/TweakTtest1] Error 2
make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7s/TweakTtest1] Error 2
make[1]: *** [/var/theos/makefiles/instance/tool.mk:11: internal-tool-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: TweakTtest1.all.tool.variables] Error 2

 

 

I wondered if the issue was on the hook ...

Thanks a lot for any help. I am completely new at this. cheers.

Posted (edited)

or maybe ... just maybe ... when I chose an option from theos initial call, I selected the wrong option.

That being said, I now chose the right "tweak" option. but in the makefile there is a line

include $THEOS/tweak.mk (which I changed to have the absolute path /var/theos/tweak.mk stupidly, but still, it doesn't work

EDIT : I am a massive retard and needs to buy glasses 'it was theos_make_path, changed it completely wrong ...' such a moron

But there is no tweak.mk in theos folder, neither is there is the tweak folder ...

is that normal ?

Updated by wisbit
I am giant idiot
Posted

OK I got it all working, moved everything (theos, sdks, and tweak folders) out of var, changed my $THEOS
and compilation went ahead and I did my first very very sh!tty tweak, but still

VICTORY :D

Posted

Hi friends,

I have created an application with the template iphone / application_morden. Can i call API or connect server socket in it?

Thanks!

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

    • Portal Survivor v1.10.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
        • Like
      • 25 replies
    • Portal Survivor v1.10.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
      • 24 replies
    • Tower And Bows v1.313 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
      • 9 replies
    • Tower And Bows v1.313 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Bows By Jisu Im
      Bundle ID: com.Jaems.TowerAndBows
      App Store Link: https://apps.apple.com/us/app/tower-and-bows/id6737190028?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - Critical DMG
      - Critical Multi
      • 6 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Auto Win
      - Energy Unlimited
      - Auto Skip Wave
      - Quick Supply
      • 3 replies
    • Super Heavy Iron Tank v1.0.3 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Energy Unlimited
      - Auto Skip Wave
      - Auto Win
      - Quick Supply
      • 3 replies
    • Crowd Champs: 3D Runner Game v1.6.0 [ +13 Cheats ] Currency Max
      Modded/Hacked App: Crowd Champs: 3D Runner Game By AI GAMES FZ LLC
      Bundle ID: crowd.champs.game
      App Store Link: https://apps.apple.com/us/app/crowd-champs-3d-runner-game/id6756704370?uo=4

      🤩 Hack Features

      - Auto ADS Off
      - Champs Pass Active
      - Champs Pass / Claim Unlimited
      - Gems Earn
      - Totem +2 Active
      - Spin Free / Note When 0 Then Use Only
      - Upgrade Cost Free / Need 1 Coin
      :::: ViP Spin Rewards ::::
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Rune Cards
      - Unlimited Rune Upgrade Card
      - Unlimited Spins / Note Don't Use Free Spin When Using This
      • 3 replies
    • Crowd Champs: 3D Runner Game v1.6.0 [ +13 Jailed ] Currency Max
      Modded/Hacked App: Crowd Champs: 3D Runner Game By AI GAMES FZ LLC
      Bundle ID: crowd.champs.game
      App Store Link: https://apps.apple.com/us/app/crowd-champs-3d-runner-game/id6756704370?uo=4

      🤩 Hack Features

      - Auto ADS Off
      - Champs Pass Active
      - Champs Pass / Claim Unlimited
      - Gems Earn
      - Totem +2 Active
      - Spin Free / Note When 0 Then Use Only
      - Upgrade Cost Free / Need 1 Coin
      :::: ViP Spin Rewards ::::
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Rune Cards
      - Unlimited Rune Upgrade Card
      - Unlimited Spins / Note Don't Use Free Spin When Using This 
      • 4 replies
    • Hungry Hours v2.48 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Hungry Hours By ONECHAIN TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.oc.grill.haven
      App Store Link: https://apps.apple.com/us/app/hungry-hours/id6757135578?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      ADBlocker Luna Use
      • 2 replies
    • Hungry Hours v2.48 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Hungry Hours By ONECHAIN TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.oc.grill.haven
      App Store Link: https://apps.apple.com/us/app/hungry-hours/id6757135578?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      ADBlocker Luna Use
      • 5 replies
    • Kingdom Rush Battles: TD Game +4 Jailed Cheats [ No Tower Cost ]
      Modded/Hacked App: Kingdom Rush Battles: TD Game By Ironhide S.A.
      Bundle ID: com.ironhidegames.kingdomrush.mp
      App Store Link: https://apps.apple.com/ph/app/kingdom-rush-battles-td-game/id6746510979?uo=4

       
       

      🤩 Hack Features

      - Dumb Enemy -> Disables your enemy from buying towers.
      - No Tower Build Cost -> Use with Dumb Enemy.
      - No Tower Upgrade Cost -> Use with Dumb Enemy.
      - No Tower Skill Upgrade Cost -> Use with Dumb Enemy.
      • 70 replies
    • Galien Strike v0.0.252 [ +9 Cheats ] Currency Freeze
      Modded/Hacked App: Galien Strike By Pitado Viet Nam JSC
      Bundle ID: com.thp019.number.shooting.strategy.game
      App Store Link: https://apps.apple.com/us/app/galien-strike/id6749526149?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Currency Freeze
      - Resources Freeze
      - Premium Pass Active +6
      - HP MAX
      - ATK MAX
      - DEF MAX
      :::: VIP ::::
      - Unlimited Currency
      - Unlimited Resources
      • 2 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