Ios9 “hello world" demo problem!

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

问题问得不好,难怪没人回答。

具体错误信息?

又新建了一个项目
Sep 9 14:30:19 Administratorteki-iPhone com.apple.accessibility.AccessibilityUIServer[1690] : MS:Error: failure to check testios9.dylib

一样的错误,加载不了dylib 似乎是

重装一下Theos试试:

好是 我稍后安装下试试,但是为何ios8 没有问题 IOS9有问题呢? 是不是substrate的问题?

luckly!!!
i have solved it!
这个问题的原因是签名的问题。

如图,这里最上面一句话是说得很清楚了,就是没有签名的原因,但是我依然不是很懂为何IOS8不需要签名,IOS9就需要。
附:签名的教程我是看的这个
http://blog.csdn.net/u011156012/article/details/40655597

你安装Theos的时候,ldid应该是自动给你配置好了。不知道你的问题出在哪