Jump to content

7 posts in this topic

Recommended Posts

Posted

Hello, I am experiencing problems with Theos, I have the iOS 10.2 SDK

Here is the error:                                                                                                                                                

iPad:/var/mobile/liquidtextpdf root# make package                                                                                            
> Making all for tweak LiquidTextPDF…                                                                                                        
make[2]: Nothing to be done for 'internal-library-compile'.                                                                                  
> Making all in LiquidTextPDFSettings…                                                                                                       
> Making all for bundle LiquidTextPDF…                                                                                                       
==> Copying resource directories into the bundle wrapper…                                                                                    
==> Linking bundle LiquidTextPDF (armv7)…                                                                                                    
ld: framework not found Preferences                                                                                                          
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)                                                          
make[4]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/liquidtextpdf/.theos/obj/armv7/LiquidTextPDF.bundle/LiquidTextPDF] Error 1                                                                                                                                           
==> Linking bundle LiquidTextPDF (arm64)…                                                                                                    
ld: framework not found Preferences                                                                                                          
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)                                                          
make[4]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/liquidtextpdf/.theos/obj/arm64/LiquidTextPDF.bundle/LiquidTextPDF] Error 1                                                                                                                                           
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/liquidtextpdf/.theos/obj/arm64/LiquidTextPDF.bundle/LiquidTextPDF] Error 2                                                                                                                                           
make[3]: *** Waiting for unfinished jobs....                                                                                                 
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/liquidtextpdf/.theos/obj/armv7/LiquidTextPDF.bundle/LiquidTextPDF] Error 2                                                                                                                                           
make[2]: *** [/var/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2                                                      
make[1]: *** [/var/theos/makefiles/master/rules.mk:123: LiquidTextPDF.all.bundle.variables] Error 2                                          
make: *** [/var/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2                                                                

 

 

Tweak.xm:

@import Foundation;
@import UIKit;
#import <substrate.h>
#import "vm_writeData.h"

// To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-offsets/
// To Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject/

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.majdawwad.liquidtextpdf.plist"

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


// Add your MS/Flex/MSHook Code here. Examples can be found on iOSGods.


%ctor {

	// Code Injection example
    if(GetPrefBool(@"key1")) {
      vm_writeData(0x123456, 0x123456); // 
    }

    if(GetPrefBool(@"key2")) {
      vm_writeData(0x10963C, 0xC0F8AC70); // 
    }

    if(GetPrefBool(@"key3")) {
      vm_writeData(0x1806B8, 0x381C); // ARMv7Offsets
      vm_writeData(0x2FA51C, 0x381C); // 
      vm_writeData(0x1001D98E0, 0x1F2003D5); // ARM64Offsets
      vm_writeData(0x10038DD0C, 0x1F2003D5); // 
    }

}

%hook LTuserinfo
-(bool) hasProUpgrade {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook LTuserinfo
-(void) setHasProUpgrade:(bool)arg1 {
if(GetPrefBool(@"key1")) {
arg1 = TRUE;
}
%orig(arg1);
}
%end

%hook LTuserinfo
-(bool) inkStartedEnabled {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook LTuseinfo
-(bool) inkingEnabled {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook LTuserinfo
-(void) setInkingEnabled:(bool)arg1 {
if(GetPrefBool(@"key1")) {
arg1 = TRUE;
}
%orig(arg1);
}
%end

%hook LTuserinfo
-(void) setValidatedStudent:(bool)arg1 {
if(GetPrefBool(@"key1")) {
arg1 = TRUE;
}
%orig(arg1);
}
%end

%hook LTuserinfo
-(bool) multidocEnabled {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook LTuserinfo
-(bool) multiDocStartedEnabled {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook LTuserinfo
-(bool) proStartedEnabled {
if(GetPrefBool(@"key1")) {
return TRUE;
}
return %orig;
}
%end

%hook CLSAnalyticsMetadataController
+(bool) hostJailbroken {
if(GetPrefBool(@"key2")) {
return FALSE;
}
return %orig;
}
%end


// Automatic Popup Code
void setup() {
    UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Liquid Text PDF Reader Patcher by Majd Awwad for iOSGods.com!\n\nVisit the hack's official topic on iOSGods for more information and updates!" preferredStyle:UIAlertControllerStyleAlert];


    UIAlertAction *iosgods = [UIAlertAction actionWithTitle:@"Visit iOSGods.com!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){
        UIApplication *application = [UIApplication sharedApplication];
        NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"];
        [application openURL:URL options:@{} completionHandler:^(BOOL success) {
            if (success) {
                //NSLog(@"Opened url");
            }
        }];
        
    }];
    
    UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){
        UIApplication *application = [UIApplication sharedApplication];
        NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/clubs/"];
        [application openURL:URL options:@{} completionHandler:^(BOOL success) {
            if (success) {
                //NSLog(@"Opened url");
            }
        }];
    }];
    
    UIAlertAction *thankyou = [UIAlertAction actionWithTitle:@"Thank you ?" style:UIAlertActionStyleCancel handler:nil];
    
    [igcredits addAction:iosgods];
    [igcredits addAction:clubs];
    [igcredits addAction:thankyou];


    [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:igcredits animated:true completion:nil];
}

void unsubscribeToLaunchEvent(void);

static void didFinishLaunching(CFNotificationCenterRef center, void *observer,
                               CFStringRef name, const void *object, CFDictionaryRef info) {
    setup();
    unsubscribeToLaunchEvent();
}

const char *authObserver = "authObserver";

void subscribeToLaunchEvent() {
    CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), authObserver, &didFinishLaunching,
                                    (CFStringRef)UIApplicationDidFinishLaunchingNotification,
                                    NULL, CFNotificationSuspensionBehaviorDrop);
}

void unsubscribeToLaunchEvent() {
    CFNotificationCenterRemoveObserver(CFNotificationCenterGetLocalCenter(), authObserver,
                                       (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL);
}

__attribute__((constructor)) static void initialize() {
    subscribeToLaunchEvent();
}

 

Makefile:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#THEOS_PACKAGE_DIR_NAME = debs
PACKAGE_BUILDNAME = iOSGods.com
#DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1
#GO_EASY_ON_ME = 1

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = LiquidTextPDF
LiquidTextPDF_FILES = Tweak.xm
LiquidTextPDF_FRAMEWORKS = UIKit
LiquidTextPDF_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk


SUBPROJECTS += LiquidTextPDFSettings # To compile your project as a Tweak only, comment out or remove this line.
include $(THEOS_MAKE_PATH)/aggregate.mk

 

  • Like 1
Posted
18 minutes ago, RudePerson said:

You are missing all files in: SdkFolder/System/Libary/PrivateFrameworks

 

Use this SDK: https://www90.zippyshare.com/v/u7FJ5AKX/file.html

 

Or copy all files from the PrivateFrameworks into your current SDK.

Now I get this error

find: ‘plutil’: Bad CPU type in executable    

Posted
6 hours ago, The Epic Gamer said:

I installed it but now I still have the same first error, even though I used the sdk you sent me

You haven't extracted it correctly then

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

    • ZakuzakuSlash +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: ZakuzakuSlash By nekosuko
      Bundle ID: jp.nekosuko.zakuzakuslash
      App Store Link: https://apps.apple.com/us/app/zakuzakuslash/id6749934570?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      • 0 replies
    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
      • 1 reply
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
      • 3 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
      • 10 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
      • 0 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