如题,<逆向工程>里面只写了iphone的Tweak.xm, control, makefile的写法…
求ipad版的范例~ 万分感谢…
也试过直接根据<逆向工程>的iphone版写法,但是会报这样的错…逆向小虾求大神指教
Roys-MBP:iosregreetings liguangyao$ make package install
Making all for tweak iOSREGreetings…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
Linking tweak iOSREGreetings…
Undefined symbols for architecture armv7:
"OBJC_CLASS$UIAlertView", referenced from:
objc-class-ref in Tweak.xm.0e7872c6.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/iOSREGreetings.dylib.ba964c90.unsigned] Error 1
make[1]: *** [internal-library-all] Error 2
make: *** [iOSREGreetings.all.tweak.variables] Error 2