@guozeming wrote:
code:
%hook SpringBoard
-(void)applicationDidFinishLaunching: (id)application
{
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello, Tweak!" message:nil delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
[alert release];
}
%endmakefile:
THEOS_DEVICE_IP = 192.168.0.105
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0include $(THEOS)/makefiles/common.mk
TWEAK_NAME = DylibTest
DylibTest_FILES = Tweak.xm
DylibTest_FRAMEWORKS = UIKitinclude $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 SpringBoard"result:
it's running sucessfully on ios8,but not work on ios9!
I have Tried ways to solve it:
1、 modify TARGET = iphone:latest:8.0 to TARGET = iphone:latest:9.0
2、modify UIAlertView to UIAlertController
3、install appsync unified plugin
...
but all of them not useful...
errors:
Sep 9 14:30:25 Administratorteki-iPhone MobileMail[1699] : MS:Error: failure to check mydylib.dylib
Posts: 8
Participants: 2