Jump to content

7 posts in this topic

Recommended Posts

Posted

I'm currently making a library with Theos which needs to hook, so I took the Tweak project in Theos. Problem is, it generates a .dylib file so I don't know how to include it as a static library inside another project.

Posted
On 2/17/2021 at 1:52 AM, Red16 said:

$(TWEAK_NAME)_OBJ_FILES = somelib.dylib
$(TWEAK_NAME)_LDFLAGS += somelib.dylib

This'll not make it static though

Posted
1 hour ago, bR34Kr said:

This'll not make it static though

Its better to use a framework since it can be static I don’t think theos has the ability to link static libraries yet :(

Posted
4 hours ago, Red16 said:

Its better to use a framework since it can be static I don’t think theos has the ability to link static libraries yet :(

Ah no was more asking of how to compile a Tweak as a static library since Theos does support linking to one but not compiling a Tweak to one, or at least I think so

Posted (edited)
On 2/19/2021 at 7:51 PM, bR34Kr said:

Ah no was more asking of how to compile a Tweak as a static library since Theos does support linking to one but not compiling a Tweak to one, or at least I think so

alright i figured it out you need to add to your makefile

XXX_LINKAGETYPE = static

XXX name of your project

when you compile the library you will get a .a file

then in your tweak project add these to make file

$(TWEAK_NAME)_OBJ_FILES = somelib.a
$(TWEAK_NAME)_LDFLAGS = -lsomelib

examplefolder

$(TWEAK_NAME)_OBJ_FILES = examplefolder/somelib.a
$(TWEAK_NAME)_LDFLAGS = examplefolder/somelib.a

also add to makefile at the top set true

DEBUG = 1

add any headers you want to include etc :) i recently just did this

 

Updated by Red16
+= in front of LDFLAGS
Posted
On 4/10/2021 at 9:28 AM, Red16 said:

alright i figured it out you need to add to your makefile

XXX_LINKAGETYPE = static

XXX name of your project

when you compile the library you will get a .a file

then in your tweak project add these to make file

$(TWEAK_NAME)_OBJ_FILES = somelib.a
$(TWEAK_NAME)_LDFLAGS = -lsomelib

examplefolder

$(TWEAK_NAME)_OBJ_FILES = examplefolder/somelib.a
$(TWEAK_NAME)_LDFLAGS = examplefolder/somelib.a

also add to makefile at the top set true

DEBUG = 1

add any headers you want to include etc :) i recently just did this

 

hmm static framework nốt work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Hello Kitty My Dream Store v1.0.5 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hello Kitty My Dream Store By ACTGames Co., Ltd.
      Bundle ID: com.actgames.HelloKittyMDS
      iTunes Store Link: https://apps.apple.com/us/app/hello-kitty-my-dream-store/id6736896540?uo=4

       

       
       

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Diamonds
      - Unlimited Gacha Coins
      - Unlimited Stars
      • 9 replies
    • Hello Kitty My Dream Store v1.0.5 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hello Kitty My Dream Store By ACTGames Co., Ltd.
      Bundle ID: com.actgames.HelloKittyMDS
      iTunes Store Link: https://apps.apple.com/us/app/hello-kitty-my-dream-store/id6736896540?uo=4

       


      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Diamonds
      - Unlimited Gacha Coins
      - Unlimited Stars
      • 13 replies
    • Kitty’s Kitchen Diary v1.0.9 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Kitty’s Kitchen Diary By SuperPlanet corp.
      Bundle ID: com.superplanet.catrecipe
      iTunes Store Link: https://apps.apple.com/us/app/kittys-kitchen-diary/id6496345774?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Head into Settings and toggle the Notifications button.
      - Unlock All -> Head into Settings and toggle the Nightly Notifications button.
      - Freeze Diamonds
      • 6 replies
    • Kitty’s Kitchen Diary v1.0.9 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Kitty’s Kitchen Diary By SuperPlanet corp.
      Bundle ID: com.superplanet.catrecipe
      iTunes Store Link: https://apps.apple.com/us/app/kittys-kitchen-diary/id6496345774?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Head into Settings and toggle the Notifications button.
      - Unlock All -> Head into Settings and toggle the Nightly Notifications button.
      - Freeze Diamonds
      • 11 replies
    • Brotato v1.3.171 +4 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Brotato By QI YU SG. PTE. LTD.
      Bundle ID: com.brotato.shooting.survivors.action.games.bullethell.ios
      iTunes Store Link: https://apps.apple.com/us/app/brotato/id6445884925?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Move Speed Multiplier
      - Free In-App Purchases
      • 0 replies
    • Brotato v1.3.171 +4 Cheats [ Damage + More ]
      Modded/Hacked App: Brotato By QI YU SG. PTE. LTD.
      Bundle ID: com.brotato.shooting.survivors.action.games.bullethell.ios
      iTunes Store Link: https://apps.apple.com/us/app/brotato/id6445884925?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Move Speed Multiplier
      - Free In-App Purchases
      • 0 replies
    • Travel Town - Merge Adventure Cheats v2.12.991 +1
      Modded/Hacked App: Travel Town By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148953-travel-town-v231-jailed-cheats-1/

      iOS Hack Download Link: https://iosgods.com/topic/148951-travel-town-cheats-all-versions-1/
      • 160 replies
    • Match Valley v1316 [ +5 Jailed ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
      • 3 replies
    • Match Valley v1316 [ +5 Cheats ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
      • 5 replies
    • Grim Soul: Survival v7.1.1 +19 Jailed Cheats [Free Crafting + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Storage Items - Taking storage items will increase them.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
      • 4,160 replies
    • Grim Soul: Survival v7.1.1 +19 Cheats [Unlimited Currencies + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Thalers/Coins & Crafting Points - Once enabled, purchase something using coins & use a craft point so the currencies stick, then disable this feature.
      - Unlimited Storage Items - Taking storage items will increase them.
      - Unlimited Energy / Instant Energy Refills - Will refill your energy once you run to another location.
      - Godmode - Unlinked. Health will still decrease but you won't die.
      - One-Hit Kill - Linked to the enemy. Would recommend enabling 'Godmode'.
      - Increased Attack Range - Allows you to kill enemies from some distance away.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
      - x2 Player Speed
      - x3 Player Speed
      • 5,023 replies
    • Summoners War Cheats v8.6.8 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
      • 6,843 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