如题 把7.0写的插件搬到7.1上发现跑不动了 n遍检查不知道什么问题 然后写了个最简单的还是没反应。。。。
makefile文件
THEOS_DEVICE_IP = 10.1.113.234
ARCH = armv7s arm64
TARGET = iPhone:7.1:7.1
include theos/makefiles/common.mk
TWEAK_NAME = Test71
Test71_FILES = Test71Tweak.xm
Test71_FRAMEWORKS = Foundation UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 com.apple.mobilephone"
tweak文件
%hook SpringBoard
- (void)applicationDidFinishLaunching:(id)arg1
{
%orig;
UIAlertView *alertView=[UIAlertView alloc] initWithTitle:@"提示" message:@"test" delegate:self cancelButtonTitle:@"ok" otherButtonTitles:nil, nil];
[alertView show];
[alertView release];
}
%end
plist文件
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
到底哪里犯了小白错误?我怎么看不出来啊!请大侠帮忙