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

    • Tower And Swords v2.312 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4


      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
      • 19 replies
    • Tower And Swords v2.312 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4
       

      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
      • 16 replies
    • Zombie Blast - Link Match v3.4.19 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Zombie Blast - Link Match By SNG Bilisim Yazilim Danismanlik ve Pazarlama Dis Ticaret Ltd. Sti.
      Bundle ID: com.sngict.zblast
      App Store Link: https://apps.apple.com/us/app/zombie-blast-link-match/id1549172917?uo=4

      🤩 Hack Features

      - Auto Win
      - Hero HP Max
      - Hero ATK Max
      • 4 replies
    • Zombie Blast - Link Match v3.4.19 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Zombie Blast - Link Match By SNG Bilisim Yazilim Danismanlik ve Pazarlama Dis Ticaret Ltd. Sti.
      Bundle ID: com.sngict.zblast
      App Store Link: https://apps.apple.com/us/app/zombie-blast-link-match/id1549172917?uo=4

      🤩 Hack Features

      - Auto Win
      - Hero HP Max
      - Hero ATK Max
      • 2 replies
    • UnderGuild: Offense v1.2.9 [ +3 Jailed ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 4 replies
    • UnderGuild: Offense v1.2.9 [ +3 Cheats ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 6 replies
    • Magic War Legends v4.0.2 Cheats +3
      Modded/Hacked App: Magic War Legends By TINYSOFT s.r.o.
      Bundle ID: heroes.battle.strategy.card.game
      App Store Link: https://apps.apple.com/us/app/magic-war-legends/id1501316113?uo=4

       

      Mod APK Game Name: 
      Rooted Device: Not Required.
      Google Play Store Link: 

       

      🤩 Hack Features

      - Unlimited currency (spend)
      - OHK
      - God mode
      • 0 replies
    • Magic War Legends v4.0.2 Cheats +3
      Modded/Hacked App: Magic War Legends By TINYSOFT s.r.o.
      Bundle ID: heroes.battle.strategy.card.game
      App Store Link: https://apps.apple.com/us/app/magic-war-legends/id1501316113?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlimited currency (spend)
      - OHK
      - God mode
      • 3 replies
    • Magic War Legends v4.0.2 Cheats +3
      Modded/Hacked App: Magic War Legends By TINYSOFT s.r.o.
      Bundle ID: heroes.battle.strategy.card.game
      App Store Link: https://apps.apple.com/us/app/magic-war-legends/id1501316113?uo=4

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Unlimited currency (spend)
      - OHK
      - God mode
      • 3 replies
    • Hex Warriors v2.12.1 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4


       

      🤩 Hack Features

      Cheat Menu (Currency, Auto Win, Cards and more)
      • 29 replies
    • Midnight Dreamers | Novels v1.4.0 +2 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Midnight Dreamers | Novels By Midnight Dreamers
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ArcaneChronicles.MidnightDreamers

       

      🤩 Hack Features

      - Unlimited Gems -> Earn some.
      - Unlimited Keys -> Spend some.
      • 0 replies
    • Rodeo Stampede: Sky Zoo Safari v4.18.0 +50++ Mods [ Debug Menu ]
      Mod APK Game Name: Rodeo Stampede: Sky Zoo Safari By Yodo1 Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yodo1.rodeo.safari

       

      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Discord button.

      -> Unlock All Animals, Hats, Decorations
      -> Add/Remove Currencies
      -> PVP Cheats
      -> Become Invincible

      + More!
      • 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