Jump to content

6 posts in this topic

Recommended Posts

Posted

I am trying to compile a theos patcher and I recieve errors while compiling it. I am on ios 9.0.2 iPad Mini 4.

Here is regular "make package"

i75w1qa.png

 

Here is "make package messages=yes"

1a5Ohp0.png

 

Here is my Makefile

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include theos/makefiles/common.mk

TWEAK_NAME = TerrariaMod
TerrariaMod_FILES = Tweak.xm
TerrariaMod_FRAMEWORKS = UIKit
TerrariaMod_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"
SUBPROJECTS += TerrariaMod autolipo
include $(THEOS_MAKE_PATH)/aggregate.mk

 

I tried ldid -S "binary" for the usual commands needed for theos and I recieve an error for ldid also.

AvGhRWO.png

Posted (edited)
1 hour ago, Fadexz said:

I'm not 100% sure but it looks like you are missing some frameworks in your include folder IDK.

You can try and get a more updated SDK https://github.com/theos/sdks

I am using the ios 8.1 sdk.  I found this download for it from @Ted2 on another thread somewhere.

http://www94.zippyshare.com/v/tfVYO2ju/file.html

Updated by Jbro129
Posted
7 hours ago, Ted2 said:

When you go to /var/theos/sdks/'yoursdk'/usr/lib

 

do you have a libojc here? I have two.

 

Also, I remember this error. I THINK i fixed it by adding the iOS 10 sdks to the sdks folder to it (without removing ios 8 one)

 

get it here: https://github.com/theos/sdks?files=1

You fixed it but the game loads up then crashes shortly after even when no patches are applied.

https://drive.google.com/file/d/1t5sy3fqpHSgcNjgmGNxR7Uhi44hWMDlK/view?usp=sharing

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

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.jbro129.terrariamod.plist"

inline bool GetPrefBool(NSString *key) {
		return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
	if(GetPrefBool(@"dev")) {
		writeData(0x0, 0x0);
	} else {
		writeData(0x0, 0x0);
}


	if(GetPrefBool(@"craft")) {
		writeData(0x, 0x0);
		writeData(0x, 0x0);
		writeData(0x, 0x0);
	} else {
		writeData(0x, 0x0);
		writeData(0x, 0x0);
		writeData(0x, 0x0);
}


	if(GetPrefBool(@"health")) {
		writeData(0x, 0x);
		writeData(0x, 0x);
	} else {
		writeData(0x, 0x);
		writeData(0x, 0x);
}


	if(GetPrefBool(@"block")) {
		writeData(0x, 0x);
	} else {
		writeData(0x, 0x);
}

}




%hook AppDelegate


- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"Terraria Mod Menu" 
                                                  message:@"Mod By Jbro129"
                                                 delegate:self 
										cancelButtonTitle:@"Continue" 
										otherButtonTitles:@"Subscribe", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Subscribe"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://youtube.com/Jbro129"]];                                                                                
	}
}
%end

 

I removed the offsets because I just dont like sharing offsets.

That google drive link is a video I recorded display recorder.

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

    • Samkok Heroes TD Dynasty Tower Defense v1.0.174 [ +8 Cheats ] ViP Active
      Modded/Hacked App: Samkok Heroes TD By Suga Pte. Ltd.
      Bundle ID: co.imba.threekingdoms.towerdefense
      App Store Link: https://apps.apple.com/us/app/samkok-heroes-td/id6758647943?uo=4
      🤩 Hack Features

      - HP MAX
      - ATK MAX
      - iGG Speed X6 / Wave Skiper
      ::::: VIP :::::
      - ViP Active
      - ADS No
      - Special Pack Daily / Rewards Claim Unlimited
      - Special Pack Weekly / Rewards Claim Unlimited
      - Special Pack Monthly / Rewards Claim Unlimited
      - Hero Unlocked
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Samkok Heroes TD Dynasty Tower Defense v1.0.174 [ +8 Jailed ] ViP Active
      Modded/Hacked App: Samkok Heroes TD By Suga Pte. Ltd.
      Bundle ID: co.imba.threekingdoms.towerdefense
      App Store Link: https://apps.apple.com/us/app/samkok-heroes-td/id6758647943?uo=4

      🤩 Hack Features

      - HP MAX
      - ATK MAX
      - iGG Speed X6 / Wave Skiper
      ::::: VIP :::::
      - ViP Active
      - ADS No
      - Special Pack Daily / Rewards Claim Unlimited
      - Special Pack Weekly / Rewards Claim Unlimited
      - Special Pack Monthly / Rewards Claim Unlimited
      - Hero Unlocked
        • Informative
        • Thanks
        • Winner
        • Like
      • 10 replies
    • Corner Cafe: Merge puzzle game v1.11 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Corner Cafe : Merge & Cook By Alchemical Inc
      Bundle ID: com.grilltown.grill
      App Store Link: https://apps.apple.com/ph/app/corner-cafe-merge-cook/id6748403232?uo=4

      🤩 Hack Features

      - Unlimited Cash / Earn Then Get
      - Unlimited Coins / Sell Items Then Get
      - Unlimited Energy
        • Like
      • 7 replies
    • Corner Cafe: Merge puzzle game v1.11 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Corner Cafe : Merge & Cook By Alchemical Inc
      Bundle ID: com.grilltown.grill
      App Store Link: https://apps.apple.com/ph/app/corner-cafe-merge-cook/id6748403232?uo=4

      🤩 Hack Features

      - Unlimited Cash / Earn Then Get
      - Unlimited Coins / Sell Items Then Get
      - Unlimited Energy
        • Like
      • 5 replies
    • Tower King! v1.10.0 [ +3 Cheats ] Easy Win
      Modded/Hacked App: Tower King! By Playmotional Limited
      Bundle ID: com.playmotional.defense
      App Store Link: https://apps.apple.com/us/app/tower-king/id6743542031?uo=4

      🤩 Hack Features

      - Unlimited Coins / AFK Reward
      - Unlimited Exp / LvL Faster UP / AFK Reward
      - DMG / Linked But Use Tower Easy To Win
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Tower King! v1.10.0 [ +3 Jailed ] Easy Win
      Modded/Hacked App: Tower King! By Playmotional Limited
      Bundle ID: com.playmotional.defense
      App Store Link: https://apps.apple.com/us/app/tower-king/id6743542031?uo=4

      🤩 Hack Features

      - Unlimited Coins / AFK Reward
      - Unlimited Exp / LvL Faster UP / AFK Reward
      - DMG / Linked But Use Tower Easy To Win
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 17 replies
    • Everybody's RPG v5.94 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
        • Informative
        • Agree
        • Winner
        • Like
      • 28 replies
    • Everybody's RPG v5.94 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Everybody's RPG By Seung Jae Lee
      Bundle ID: com.nomadgames.everybodyrpgpay
      iTunes Store Link: https://apps.apple.com/us/app/everybodys-rpg/id1353701442?uo=4


      🤩 Hack Features

      - Currency Max

      - DMG

      - ATK Speed

      - ATK Range

      - Skill CD

      - Enemy Freeze

      - Enemy NO [ Stage Mod ] Easy Skip Stage

      Don't Abuse The Hack Incase Banned
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 39 replies
    • Eras of Wrestling v1.0.28 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Eras of Wrestling By Checkmate Creative LLC
      Bundle ID: cc.eras
      App Store Link: https://apps.apple.com/us/app/eras-of-wrestling/id6569255567?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold Token
      - Unlimited Silver Token
      - Unlimited Red Token
        • Agree
        • Like
      • 2 replies
    • Eras of Wrestling v1.0.28 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Eras of Wrestling By Checkmate Creative LLC
      Bundle ID: cc.eras
      App Store Link: https://apps.apple.com/us/app/eras-of-wrestling/id6569255567?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold Token
      - Unlimited Silver Token
      - Unlimited Red Token
        • Haha
        • Like
      • 5 replies
    • ZombTube v1.2.366 [ +11 Jailed ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:

      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
        • Like
      • 10 replies
    • ZombTube v1.2.366 [ +11 Cheats ] Currency Max
      Modded/Hacked App: ZombTube By Dmytro Drach
      Bundle ID: com.booblyc.ZombTubeGame
      iTunes Store Link: https://apps.apple.com/us/app/zombtube/id6464316230?uo=4


      Hack Features:
      - IAP Free

      - No ADS

      - Red coins

      - Gold

      - Parts - Upgrade Free Guns-Items

      - Damage

      - Bullet Range

      - Gun Range

      - Ammo

      - No Reload

      - Accuracy
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 51 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