iOS 9.3 iPhone6 Plus hook不了函数

makefile:

THEOS_DEVICE_IP = 192.168.1.100
ARCHS = arm64
TARGET = iphone:latest:8.0

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = XXXXAAACCCVVVAA
XXXXAAACCCVVVAA_FILES = Tweak.xm
XXXXAAACCCVVVAA_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec “killall -9 SpringBoard”

Tweak.xm

%hook ABCDASDViewCoViewController

  • (void)btntest {

}

%end

上面hook函数,令它什么都不做,本来函数会alert

过程:

逆向新手。

贴substrate日志

已解决,是自己一下操作错误。th