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