Jump to content

42 posts in this topic

Recommended Posts

Posted

Make file 

TARGET := iphone:clang

TARGET_SDK_VERSION := 8.1
TARGET_IPHONEOS_DEPLOYMENT_VERSION :=8
ARCHS := armv7 arm64

include /var/theos/makefiles/common.mk

TWEAK_NAME = Biztweak
Biztweak_FILES = Tweak.xm
Biztweak_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Try not to mess with it. Also please click the code button to show it like this its a lot easier to read.

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"    // IDK if it supports emojis, I think it does but try without first.
delegate:self

cancelButtonTitle:@"Okay"
otherButtonTitles:@ nil]; 

[alert show];

}
%end

Make file

ARCHS = armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = Biztweak      // Make sure "Biztweak" is still the name of your tweak folder name.
Biztweak_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

Biztweak_FRAMEWORKS = UIKit

CFLAGS = -w

after-install::
        install.exec "killall -9 SpringBoard"    // Try removing this line if it doesn't work as it can cause compiling issues.

Try not to change it. I recommend you delete your iOS 8 SDK because it seems to be wrong a bit.

I think that's all right, just replace it with the current one.

Updated by Fadexz
Code fix.
Posted

@Fadexz hey I still get the same error 


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
 

I've make links and links with library's and out them in the sdk folder tried afew other lines and still same error, think  Theo's could be broken ?? Or is it working just not linking to the library needed ?? Thanks again

Posted (edited)

@staybizzy Try this which I found somewhere.

export TARGET := iphone:clang:8.4:6.1 export ARCHS := armv7 arm64

include theos/makefiles/common.mk

TWEAK_NAME = Biztweak      // Make sure "Biztweak" is still the name of your tweak folder name.
Biztweak_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

Biztweak_FRAMEWORKS = UIKit

CFLAGS = -w

after-install::
        install.exec "killall -9 SpringBoard"    // Try removing this line if it doesn't work as it can cause compiling issues.

IDK. If it doesn't work its probably your Theos missing stuff or someone else may know what is happening.

Updated by Fadexz
Posted

@Fadexz il try it but I've tried a lot of templates and even copied make files and tweak.xm from YouTube running the same Theo's and won't link the library on mine so think later today will try Theo's on my iPhone 4s 9.3.5 jailbreak think Theo's will work on the Phoenix jailbreak 9.3.5 ?? 

Posted
1 hour ago, staybizzy said:

@Fadexz il try it but I've tried a lot of templates and even copied make files and tweak.xm from YouTube running the same Theo's and won't link the library on mine so think later today will try Theo's on my iPhone 4s 9.3.5 jailbreak think Theo's will work on the Phoenix jailbreak 9.3.5 ?? 

Yeah give that a try.

What do you spell Theos "Theo's" lol.

Posted

@FadexzIt was auto corrected then sorry lol yeh I tried that And now I get 

Your current SYSROOT, "/var/mobile/biztweak/theos/sdks/iPhoneOS8.4sdk", appears to be missing.

so changed the 

Export TARGET := iphone:clang:8.4:3.7

To

export TARGET :=iPhone:clang:10.1:3.7

to try target the 10.1 sdks and then says same error but not been able to find the 10.1 sdks 

il try change then name of the folder to iohoneOS10.1sdk and see if that helps locate it apart from that I'm lost lol  thanks for ur time helping me and searching thins for me 

 

Posted

Ok so tried changing name on sdk folder I now get this 

 

Compiling Tweak.xm...
In file included from <built-in>:351:
In file included from <command line>:3:
/var/mobile/biztweak/theos/Prefix.pch:2:10: fatal error: 
      'Foundation/Foundation.h' file not found
        #import <Foundation/Foundation.h>
                ^

 

so i go to var/mobile/biztweak/theos/prefix.pch:2:10:fatal error 

 

and I see this ⬇️

 

#ifdef __OBJC__
        #import <Foundation/Foundation.h>
        #if TARGET_IPHONE || TARGET_IPHONE_SIMULATOR
                #import <UIKit/UIKit.h>
        #endif

        #define CLASS(cls) objc_getClass(#cls)

        #ifdef DEBUG
                #define __DEBUG__
        #endif
        
        #ifdef __DEBUG__
                #define CMLog(format, ...) NSLog(@"(%s) in [%s:%d] ::: %@", __PRETTY_FUNCTION__, __FILE__, __LINE__, [NSString stringWithFormat:format, ## __VA_ARGS__])
                #define MARK    CMLog(@"%s", __PRETTY_FUNCTION__);
                #define START_TIMER NSTimeInterval start = [NSDate timeIntervalSinceReferenceDate];
                #define END_TIMER(msg)  NSTimeInterval stop = [NSDate timeIntervalSinceReferenceDate]; CMLog([NSString stringWithFormat:@"%@ Time = %f", msg, stop-start])
        #else
                #define CMLog(format, ...)
                #define MARK
                #define START_TIMER
                #define END_TIMER(msg)
                //#define NSLog(...)
        #endif

        #define NB [NSBundle mainBundle]
        #define UD [NSUserDefaults standardUserDefaults]
        #define FM [NSFileManager defaultManager]
#endif

~~~~~~~~~~~~~~~~~~~~~ 

And at the top is 

     #import <Foundation/Foundation.h>
                ^

so the files is where it said it was but won't pick it up lol 

And I also have same line in the tweak.xm also so confused.com lol 

Posted
27 minutes ago, staybizzy said:

Ok so tried changing name on sdk folder I now get this 

 

Compiling Tweak.xm...
In file included from <built-in>:351:
In file included from <command line>:3:
/var/mobile/biztweak/theos/Prefix.pch:2:10: fatal error: 
      'Foundation/Foundation.h' file not found
        #import <Foundation/Foundation.h>
                ^

 

so i go to var/mobile/biztweak/theos/prefix.pch:2:10:fatal error 

 

and I see this ⬇️

 

#ifdef __OBJC__
        #import <Foundation/Foundation.h>
        #if TARGET_IPHONE || TARGET_IPHONE_SIMULATOR
                #import <UIKit/UIKit.h>
        #endif

        #define CLASS(cls) objc_getClass(#cls)

        #ifdef DEBUG
                #define __DEBUG__
        #endif
        
        #ifdef __DEBUG__
                #define CMLog(format, ...) NSLog(@"(%s) in [%s:%d] ::: %@", __PRETTY_FUNCTION__, __FILE__, __LINE__, [NSString stringWithFormat:format, ## __VA_ARGS__])
                #define MARK    CMLog(@"%s", __PRETTY_FUNCTION__);
                #define START_TIMER NSTimeInterval start = [NSDate timeIntervalSinceReferenceDate];
                #define END_TIMER(msg)  NSTimeInterval stop = [NSDate timeIntervalSinceReferenceDate]; CMLog([NSString stringWithFormat:@"%@ Time = %f", msg, stop-start])
        #else
                #define CMLog(format, ...)
                #define MARK
                #define START_TIMER
                #define END_TIMER(msg)
                //#define NSLog(...)
        #endif

        #define NB [NSBundle mainBundle]
        #define UD [NSUserDefaults standardUserDefaults]
        #define FM [NSFileManager defaultManager]
#endif

~~~~~~~~~~~~~~~~~~~~~ 

And at the top is 

     #import <Foundation/Foundation.h>
                ^

so the files is where it said it was but won't pick it up lol 

And I also have same line in the tweak.xm also so confused.com lol 

You are missing the headers in your SDK, try add more headers to the include folder in Theos.

Make sure you have iOS Tool Chains I think it is (and BigBoss Recommended Tools).

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
        • Like
      • 30 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
        • Informative
        • Like
      • 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/
      • 71 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/
        • Like
      • 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)
        • Thanks
      • 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)
        • Haha
      • 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
       
        • Agree
        • Thanks
        • Like
      • 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