Jump to content

42 posts in this topic

Recommended Posts

Posted

Hey guys biz again,

im stuck on creating my first patch conquered afew problems i.e. Preference.h file then pthread.h file missing now I'm stuck on these and I'm lost ⬇️


Bizzy:/var/mobile/firstpatch root# make package
/var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for bundle firstPatch...
 Copying resource directories into the bundle wrapper...
 Linking bundle firstPatch...

⬇️⬇️ Errors start ⬇️⬇️
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/firstPatch.bundle/firstPatch.64873355.unsigned] Error 1
make[1]: *** [internal-bundle-all_] Error 2
make: *** [firstPatch.all.bundle.variables] Error 2
Got far in learning all this today and Thanks for your time 

biz 

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Posted
2 minutes ago, staybizzy said:

Hey guys biz again,

im stuck on creating my first patch conquered afew problems i.e. Preference.h file then pthread.h file missing now I'm stuck on these and I'm lost ⬇️


Bizzy:/var/mobile/firstpatch root# make package
/var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for bundle firstPatch...
 Copying resource directories into the bundle wrapper...
 Linking bundle firstPatch...

⬇️⬇️ Errors start ⬇️⬇️
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/firstPatch.bundle/firstPatch.64873355.unsigned] Error 1
make[1]: *** [internal-bundle-all_] Error 2
make: *** [firstPatch.all.bundle.variables] Error 2
Got far in learning all this today and Thanks for your time 

biz 

Show your tweak.xm.

Posted

If correct 

 

ifeq ($(THEOS_CURRENT_INSTANCE),)
        include $(THEOS_MAKE_PATH)/master/tweak.mk
else
        ifeq ($(_THEOS_CURRENT_TYPE),tweak)
                include $(THEOS_MAKE_PATH)/instance/tweak.mk
        endif
endif

 

 

this what u mean sorry I'm new to this lol I can't find tweak.xm just tweak.mk 

Posted

Make sure to quote me or mention me so I see your reply.

On 01/10/2017 at 12:01 PM, staybizzy said:

If correct 

 

ifeq ($(THEOS_CURRENT_INSTANCE),)
        include $(THEOS_MAKE_PATH)/master/tweak.mk
else
        ifeq ($(_THEOS_CURRENT_TYPE),tweak)
                include $(THEOS_MAKE_PATH)/instance/tweak.mk
        endif
endif

 

this what u mean sorry I'm new to this lol I can't find tweak.xm just tweak.mk 

The tweak.xm is what you modified to make your tweak... usually in '/var/mobile/(YOURTWEAK)/'.

It should be a text file with your tweak in it, just copy the text.

However it looks like a missing file problem as well you even said that.

What SDK do you have in your theos folder? Get the one for your iOS version, it seems you are missing files.

Posted
16 minutes ago, staybizzy said:

@fadexz yeh I figured it all out I know where to find it now ?? thanks again ?

No problem. (y)

BTW you didn't mention me properly but oh well.

Posted

@Fadexz Ok so I got them errors sorted out but now I get this ⬇️⬇️⬇️⬇️

Tweak.xm:16: error: %end does not make sense inside a block

**this is my tweak.xm **

 

%hook SBPowerDownController

-{void)orderFront{

UIAlertView *alert = [UIAlertView alloc]initWithTitle:@"hello"

message:@"??Noooo??" 
delegate:self

cancelButtonTitle:@"okey"
otherButtonTitles:nil];

[alert show];

}

%end

----------------

I know it's something simple but ive tried to copy %end from others, rewriting it and still says same thing can someone please tell me what I'm doing wrong haha had me up a few nights now haha thanks for all ur help

biz 

Oh I went from patch to tweak and started all projects again ☹️

Posted

Update ---- @Fadexz

Fixed the %end error 

now saying 

Compiling Tweak.xm...
 Linking tweak Biztweak...
ld: library not found for -lobjc
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Biztweak.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Biztweak.all.tweak.variables] Error 2

i have sdks 8.1 and also 10.1 in the include folder haha so I'm lost again lol 

@DiDA can you shine some light please 

tweak.xm - 

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook SBPowerDownController

-(void)orderFront{

UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"hello"

message:@"??Noooo??" 
delegate:self

cancelButtonTitle:@"okey"
otherButtonTitles:nil];

[alert show];

}

%end

 

 

¯\_(ツ)_/¯  help ?

@Joka any ideas buddy ? 

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

    • Obsidian Knight RPG v1.200.12 [+3 Jailed Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4



      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Thanks
      • 29 replies
    • Obsidian Knight RPG v1.200.12 [+3 Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4

       

      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Like
      • 31 replies
    • Margonem Adventures v2.4.6 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 24 replies
    • Margonem Adventures v2.4.6 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 16 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 70 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 94 replies
    • Fortress: Stickman Trenches v3.5 [+2 Jailed Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4



      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
      • 2 replies
    • Fortress: Stickman Trenches v3.5 [+2 Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4


      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
       
      • 1 reply
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 5 replies
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 2 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Jailed Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4

       

      🤩 Hack Features

      - Debug Menu
      • 12 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4



      🤩 Hack Features

      - Debug Menu
       
      • 19 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