Skip to content
Guest Big Announcement

Theos Error iOS 11.2.6 no debug symbols

Featured Replies

Hello, I have a problem, whenever I try to compile a patcher in Theos it gives me this error:

  

iPad:~ mobile$ su                                                                                                                            
Password:                                                                                                                                    
iPad:/var/mobile root# cd /var/mobile/kinemaster                                                                                             
iPad:/var/mobile/kinemaster root# make package                                                                                               
> Making all for tweak KineMaster…                                                                                                           
==> Preprocessing Tweak.xm…                                                                                                                  
==> Preprocessing Tweak.xm…                                                                                                                  
==> Compiling Tweak.xm (armv7)…                                                                                                              
==> Compiling Tweak.xm (arm64)…                                                                                                              
==> Linking tweak KineMaster (armv7)…                                                                                                        
==> Generating debug symbols for KineMaster…                                                                                                 
warning: no debug symbols in executable (-arch armv7)                                                                                        
==> Stripping KineMaster (armv7)…                                                                                                            
bash: line 1: 16960 Killed: 9               ( strip -x "/var/mobile/kinemaster/.theos/obj/armv7/KineMaster.dylib" )                          
make[3]: *** [/var/theos/makefiles/instance/library.mk:35: /var/mobile/kinemaster/.theos/obj/armv7/KineMaster.dylib] Error 137               
rm /var/mobile/kinemaster/.theos/obj/armv7/Tweak.xm.mm                                                                                       
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/kinemaster/.theos/obj/armv7/KineMaster.dylib] Error 2                 
make[2]: *** Waiting for unfinished jobs....                                                                                                 
==> Linking tweak KineMaster (arm64)…                                                                                                        
==> Generating debug symbols for KineMaster…                                                                                                 
warning: no debug symbols in executable (-arch arm64)                                                                                        
==> Stripping KineMaster (arm64)…                                                                                                            
bash: line 1: 16961 Killed: 9               ( strip -x "/var/mobile/kinemaster/.theos/obj/arm64/KineMaster.dylib" )                          
make[3]: *** [/var/theos/makefiles/instance/library.mk:35: /var/mobile/kinemaster/.theos/obj/arm64/KineMaster.dylib] Error 137               
rm /var/mobile/kinemaster/.theos/obj/arm64/Tweak.xm.mm                                                                                       
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/kinemaster/.theos/obj/arm64/KineMaster.dylib] Error 2                 
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2                                                    
make: *** [/var/theos/makefiles/master/rules.mk:123: KineMaster.all.tweak.variables] Error 2                                                 
iPad:/var/mobile/kinemaster root#                                                                   

                                                                                                         

 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.kinemaster.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 KMAudioSongItem
-(void) setIsPremium:(bool)arg1 {
if(GetPrefBool(@"key1")) {
arg1 = TRUE;
}
%orig(arg1);
}
%end

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


%hook LayerManager
-(bool) showWatermark {
if(GetPrefBool(@"key1")) {
return FALSE;
}
return %orig;
}
%end



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

// Automatic Popup Code
void setup() {
    UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"KineMaster Cheats 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 sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];
    }];

    UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){
    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];
    }];

    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();
}

                                                

Archived

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

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.