Jump to content

ld: library not found for -lobjc theos error


Jbro129

6 posts in this topic

Recommended Posts

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

Link to comment
Share on other sites

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

• YouTube Channel • About Me • FAQ •

You can support me just by JDXx4EK.png my Post! ..but if you're very nice..

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • FIRE FORCE JAPAN - 炎炎ノ消防隊 炎舞ノ章 v1.0.5 +2 Cheats
      Modded/Hacked App: 炎炎ノ消防隊 炎舞ノ章 By mobcast inc.
      Bundle ID: com.mobcast.games.yy
      iTunes Store Link: https://apps.apple.com/jp/app/%E7%82%8E%E7%82%8E%E3%83%8E%E6%B6%88%E9%98%B2%E9%9A%8A-%E7%82%8E%E8%88%9E%E3%83%8E%E7%AB%A0/id6443454682?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - One Hit Kill
      - God Mode


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 3 replies
    • Legend of Solgard v2.34.3 - [ x Player Damage & More ]
      Modded/Hacked App: Legend of Solgard By King
      Bundle ID: com.midasplayer.apps.solgard
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-solgard/id1281263906

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


      Hack Features:
      - x Player Damage - x1 - 30
      - God Mode

      All features are unlinked and only for player, you!
      • 502 replies
    • Monster Super League By Four Thirty Three v3.1.9 - [ x Player Damage & More ]
      Modded/Hacked App: Monster Super League By Four Thirty Three
      Bundle ID: com.ftt.msleague
      iTunes Store Link: https://itunes.apple.com/us/app/monster-super-league/id1092463295


      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:
      - x Player Damage - x1 - 100
      - x Player Defense - x1 - 100
      - Inf.Skills

      All features are unlinked and only for you player, you!
      • 1,100 replies
    • Disney Magic Kingdoms Cheats v7.6.0 +1
      Modded/Hacked App: Disney Magic Kingdoms By Gameloft
      Bundle ID: com.gameloft.disneykingdom
      iTunes Store Link: https://apps.apple.com/us/app/disney-magic-kingdoms/id731592936?uo=4


      Hack Features:
      - Free Store ( not Free iAP )
      * Will let you purchase even you don't have enough


      iOS Hack Download Link: https://iosgods.com/topic/147877-disney-magic-kingdoms-cheats-v610-1/
      • 208 replies
    • HAWK: Airplane Space games Cheats v42.0 +3
      Modded/Hacked App: HAWK: Airplane Fighter jet sky By My.com B.V.
      Bundle ID: com.my.hawk.air.shooter
      iTunes Store Link: https://apps.apple.com/us/app/hawk-airplane-fighter-jet-sky/id1145878423?uo=4


      Hack Features:
      - God Mode
      - OHK
      - Instant Win


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/89813-arm64-hawk-bullet-hell-jet-shooter-v33-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/142184-hawk-airplane-fighter-jet-sky-cheats-v33-3/
      • 992 replies
    • Agar.io v2.23.2 Jailed Cheats +1
      Modded/Hacked App: Agar.io by Miniclip SA
      Bundle ID: com.miniclip.agar.io
      iTunes Store Link: https://itunes.apple.com/us/app/agar-io/id995999703?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Normal Mode Zoom Hack - Tested with value 0.08 - More Zoom = More Small Value
      - BR Mode Zoom Hack - Tested with value 0.08 - More Zoom = More Small Value


      Hack Download Link: https://iosgods.com/topic/82572-arm64-agario-v230-jailed-cheats-1/
      • 1,175 replies
    • Cercube 5 for Youtube v18.04.3 Jailed Mod +6
      Modded/Hacked App: YouTube: Watch, Listen, Stream by Google LLC
      Bundle ID: com.google.ios.youtube
      iTunes Store Link: https://itunes.apple.com/us/app/youtube-watch-listen-stream/id544007664?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Background Playback
      - No Ads
      - No Age Restrict
      - Download High Quality Videos
      - Dark Theme
      - And More ...

      NOTE: You need to login to Cercube server in order to download Videos


      Hack Download Link: https://iosgods.com/topic/98720-cercube-5-for-youtube-v1419-jailed-mod-1/
      • 3,989 replies
    • [ ArKnights TW ] 明日方舟 v12.0.02 - [ x Player Damage & More ]
      Modded/Hacked App: 明日方舟 By Longcheng Ltd.
      Bundle ID: tw.txwy.ios.arknights
      iTunes Store Link: https://apps.apple.com/tw/app/明日方舟/id1490985322?uo=4&at=1010lce4


      Hack Features:
      - x Player Damage - x1 - 1000
      - x Player Defense - x1 - 1000
      - x Player Attack Speed - x1 - 10
      - Frozen Enemies
      - Instant - Kill
      - Instant - Win
      - Unlimited Skills
      - No Deploy Cost


      iOS Hack Download Link: https://iosgods.com/topic/129583-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v0902-x-player-damage-more/
      • 365 replies
    • Family Island — Farm game v2023108.1.26390 Jailed Cheats +1
      Modded/Hacked App: Family Island™ — Farm game by Melsoft
      Bundle ID: com.MelsoftGames.FamilyIsland
      iTunes Store Link: https://apps.apple.com/us/app/family-island-farm-game/id1464689103?uo=4&at=1010lce4


      Hack Features:
      - Cheat Engine Enabled


      iOS Hack Download Link: https://iosgods.com/topic/115337-arm64-family-island-%E2%80%94-farm-game-v20190824862-jailed-cheats-1/
      • 1,704 replies
    • Idle Museum Tycoon v1.11.8 [Currency/SRDebug 50+ Options]
      Modded/Hacked App: Idle Museum Tycoon: Art Empire By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.idle.museum.tycoon.empire.art.history
      iTunes Store Link: https://apps.apple.com/us/app/idle-museum-tycoon-art-empire/id1531189104?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:
      - SRDebugger 50+ Options

      Open settings in game scroll down to "Rate Us" and tap it for the UI to popup  

      If your on a smaller screen than the iPad click the three lines at the top left to switch to the options panel to see all available options.


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      • 3 replies
    • Rocket Star: Idle Tycoon v1.53.0 [Currency/SRDebug 99+ Options Game Breaking]
      Modded/Hacked App: Rocket Star: Idle Tycoon Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.rocket.star.inc.idle.space.factory.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/rocket-star-idle-tycoon-game/id1435697033?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:
      - SRDebugger 99+ Options

      Open settings in game scroll down to "Rate Us" and tap it for the UI to popup  

      If your on a smaller screen than the iPad click the three lines at the top left to switch to the options panel to see all available options.


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      • 3 replies
    • Rocket Star: Idle Tycoon v1.53.0 [Currency/SRDebug 99+ Options Game Breaking]
      Modded/Hacked App: Rocket Star: Idle Tycoon Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.rocket.star.inc.idle.space.factory.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/rocket-star-idle-tycoon-game/id1435697033?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - SRDebugger 99+ Options<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">Open IGMM first and enable "Open SRDebug" then open settings in game for the UI to popup  


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      • 15 replies
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
  • 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 possible user experience without cookies. You can accept or decline our non-essential cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines