Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5702

Ios9 “hello world" demo problem!

$
0
0

@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];
}
%end

makefile:

THEOS_DEVICE_IP = 192.168.0.105
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = DylibTest
DylibTest_FILES = Tweak.xm
DylibTest_FRAMEWORKS = UIKit

include $(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

Read full topic


Viewing all articles
Browse latest Browse all 5702

Trending Articles