make package install没问题,也安在手机上了,springboard也重启了,就是不显示AlertView,不知道问题出在哪了。。。ios8.4
/MakeFile***/
THEOS_DEVICE_IP = iOSIP
ARCHS = armv7s arm64
TARGET = iphone:latest:8.4
include theos/makefiles/common.mk
TWEAK_NAME = iOSREGreetings
iOSREGreetings_FILES = Tweak.xm
iOSREGreetings_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec “killall -9 SpringBoard”
/Tweak***/
%hook SpringBoard
- (void)applicationDidFinishLaunching:(id)application
{
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@“title” message:nil delegate:self cancelButtonTitle:@“title2”
otherButtonTitles:nil];
[alert show];
[alert release];
}
%end