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

    • Chum Chum Blast! v1.13.815 [ +9 APK MOD ] Auto Win
      Mod APK Game Name: Chum Chum Blast!
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ritzdeligames.eraserblast&hl=en

      🤩 Hack Features

      - Auto Win
      - ADS Ticket
      - Coins / Golden Pass To Get
      - Unlimited Stars
      - Unlimited Booster
      - Lives Inf
      - Moves Unlimited
      - Golden Pass
      - Free & Golden Pass / Claim Unlimited 
      • 4 replies
    • Merge Cruise: Mystery Puzzle v0.37.970 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Merge Cruise: Mystery Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.peerplay.megamerge&hl=en

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Energy
      • 9 replies
    • Dragon Wings: RPG Shoot em up v3.6.0 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=rpg.arcade.space.shooter.dragon.wings&hl=en

      🤩 Hack Features

      - Super Card Active
      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - ATK
      • 8 replies
    • Swamp Attack 2 v1.1.0 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Swamp Attack 2
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hyperdotstudios.swampattack2&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Card EXP
      - Monster ATK NO
      • 3 replies
    • Merge Crime: Mystery & Romance v1.13.0 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Merge Crime: Mystery & Romance
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.standegg.mergecrime&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 2 replies
    • Soccer Journey: Champion Squad v1.0.14 [ +12 APK MOD ] Currency Max
      Mod APK Game Name: Soccer Journey: Champion Squad By KONG SOFTWARE JOINT STOCK
      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Player Energy
      - Unlimited Match Energy
      - Unlimited Tokens
      - Unlimited EXP User
      - Unlimited Scout Ticket +3
      - Unlimited Standard Scout +4
      - Unlimited Cube +4
      - Unlimited Training +3
      - Upgrade Cost All Building [ Earn Cash Unlimited ]
      - Speed UP Cost All Building [ Earn Cash Unlimited ]
      • 3 replies
    • Forest Cabin: Survive v2.00.007 [ +4 APK MOD ] Battle Coins
      Mod APK Game Name: Forest Cabin: Survive
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.qxgame.gmerge
      🤩 Hack Features

      - Speed 2X Active
      - Unlimited Battle Coin
      - Unlimited Battle Energy
      - ATK Speed
      • 7 replies
    • Immortal Rising 2 v1.4.13 Jailed Cheats +5
      Modded/Hacked App: Immortal Rising 2 By Planetarium Labs Pte. Ltd.
      Bundle ID: com.badbeans.immortalrising2
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising-2/id6467105374?uo=4

       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - More damage
      - No CD
      - Earn more gold
      - Earn more exp
      - Freeze combokill
      - God mode
      • 224 replies
    • [Welcome to Dreamland TW] 歡迎來到夢樂園 v1.4 Jailed Cheats +5
      Modded/Hacked App: 歡迎來到夢樂園 By POSEIDON NET LIMITED
      Bundle ID: com.poseidongame.dsl
      App Store Link: https://apps.apple.com/tw/app/%E6%AD%A1%E8%BF%8E%E4%BE%86%E5%88%B0%E5%A4%A2%E6%A8%82%E5%9C%92/id6748006168?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

      - God Mode
      - Multiply Attack
      - Auto Win
       

      Note: If stuck at loading screen report to me for update

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/203854-welcome-to-dreamland-tw-%E6%AD%A1%E8%BF%8E%E4%BE%86%E5%88%B0%E5%A4%A2%E6%A8%82%E5%9C%92-v13-jailed-cheats-5/
      • 1 reply
    • Harry Potter: Puzzles & Spells v106.0.338 +1 Mod [ Freeze Moves ]
      Mod APK Game Name: Harry Potter: Puzzles & Spells
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.zynga.pottermatch&hl=en

       

      🤩 Hack Features

      - Freeze Moves -> Enable when you have 1 move left to avoid puzzle issues.
      • 10 replies
    • Harry Potter: Puzzles & Spells v107.0.341 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 129 replies
    • Spell Arena: Battle Royale v0.8.1 +3++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Spell Arena: Battle Royale By MADCORE GAMES SP Z O O
      Bundle ID: com.tapanywhere.magicarena
      iTunes Store Link: https://apps.apple.com/us/app/spell-arena-battle-royale/id1556673765?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.
      - Unlimited Trophies -> Play a match.


      Jailbreak required hack(s): [Mod Menu Hack] Spell Arena: Battle Royale v0.7.15 +3++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 7 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