Make的时候总会提示这个问题....怎么破?

在make的时候总会提示这个问题, 怎么破啊???

Makefile:6: theos/makefiles/common.mk: No such file or directory
Makefile:12: /tweak.mk: No such file or directory
make: *** No rule to make target `/tweak.mk'.  Stop.

MakeFile的配置

THOS_DEVICE_IP = 192.168.1.100
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = iOSREProject
iOSREProject_FILES = Tweak.xm
iOSREProject_PRIVATE_FRAMEWORK = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
	install.exec "killall -9 SpringBoard"

Twak.xm文件配置

%hook SBLockScreenDateViewController
- (void)setCustomSubtitleText:(id)arg1 withColor:(id)arg2
{
    NSString *str = @"主人翁健康专注小儿推拿!";
    %orig(str, arg2);
}
%end

%hook SpringBoard
 - (void)applicationDidFinishLaunching:(id)application
    {
        %orig;
        UIAlertView *alert = [[UIAlertView alloc]
                              initWithTitle:@"Come to http://bbs.iosre.com for more fun!" message:nil delegate:self cancelButtonTitle:@"OK"
                              otherButtonTitles:nil];
        [alert show];
        [alert release];
 }
%end

设置下环境变量

是我看书不仔细么, 没看到哪里有说这个了…:joy:

可能是项目的文件夹没有写入的权限,可以试试 sudo chmod 777 项目文件夹所在的路径