I'm trying to create an iphone tweak, but I can not compile the tweak. It always comes up with this error. What could be the problem?
TWEAK.M
%hook SBCallAlertDisplay
- (void)updateLCDWithName:(id)name label:(id)label breakPoint:(unsigned)point
{
name = @"dasdasdasdasdasds";
%orig;
}
%end
MAKE FILE
include theos/makefiles/common.mk
export GO_EASY_ON_ME=1
TWEAK_NAME = tete
tete_FILES = Tweak.xm
tete_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
MAKE
sudo make
Making all for tweak tete...
Linking tweak tete...
Undefined symbols for architecture armv6:
"_MSHookMessageEx", referenced from:
global constructors keyed to Tweak.xm.mmin Tweak.xm.o
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status
make[2]: *** [.theos/obj/tete.dylib] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [tete.all.tweak.variables] Error 2