Jump to content

Error code when compiling with Hackmanager.h


Go to solution Solved by castix,

13 posts in this topic

Recommended Posts

Posted

When I am trying to compile my tweak.xm with hackmanager.h, I get the error:

 

Undefined symbols for architecture armv7:

"_OBJC_CLASS_$_HackManager", referenced from:

objc-class-ref in Tweak.xm.e0f9b0c9.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

Could anyone please help with this?

Below is the top part of my tweak.xm:

#import "writeData.h"
#import "Hack.h"
#import "HackManager.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class Hack;
@class HackManager;

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.darkpulse.bravefrontier1341.plist"

#define AHACK 0
#define BHACK 1
#define CHACK 2

HackManager *hackmanager = nil;

Thanks for any help in advance  :)

Posted

Try adding:

ProjectName_FRAMEWORKS = UIKit CoreGraphics

In makefile

Posted

Try adding:

 

ProjectName_FRAMEWORKS = UIKit CoreGraphics
In makefile

It wouldn't work anyway because it gets the value from a %d int, bool value or text

Posted

I tried that and it did not work, unfortunately :(

Still the same error? Did you replace ProjectName with your project name?

Posted

Still the same error? Did you replace ProjectName with your project name?

 

Yup, and copied it in both makefiles. The error happens to be the exact same one.

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
×
  • 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