0
我设置theos和越狱调整工作..我在网上阅读rpetrich的标题只与他的theos叉相容。 所以我克隆他的狄奥叉从GitHub和甩他的头到/include
文件夹..Theos错误与特立独行者和iOS 7
然后我不得不LDID和libsubstrate.dylib添加到文件夹狄奥,我做到了以下说明从iPhoneDevWiki
然后我也跟着this教程做一个简单的调整
信息:我试图在使用iOS7 SDK
问题小牛运行此: 我完全按照教程!但由于某些原因,我得到这个错误:
Sahils-MacBook-Pro:welcomewagon Sahil$ make
/Users/Sahil/Documents/tweaks/welcomewagon/theos/makefiles/targets/Darwin/iphone.mk:48: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak WelcomeWagon...
make[2]: Nothing to be done for `internal-library-compile'.
这是什么意思,甚至>Nothing to be done for 'internal-library-compile'.
我的代码是:
Tweak.xm:
#import <SpringBoard/SpringBoard.h>
%hook SpringBoard
-(void)applicationDidFinishLaunching:(id)application {
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome"
message:@"Welcome to your iPhone Brandon!"
delegate:nil
cancelButtonTitle:@"Thanks"
otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
的Makefile :
include theos/makefiles/common.mk
ARCHS = armv7
TWEAK_NAME = WelcomeWagon
WelcomeWagon_FILES = Tweak.xm
WelcomeWagon_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "killall -9 SpringBoard"