我在我的ipad 3上成功安装了theos(安装了perl,Gnu-c-compiler,ios工具链等),ipad 6.1.2现在正在尝试进行调整" make package install& #34;它显示错误。我再次开始了Google搜索之旅,终于来到了这里。 这是一个名为Respring Notifier的调整代码 - >
我的Tweak.xm - >
#import <SpringBoard/SpringBoard.h>
%hook SpringBoard
-(void)applicationDidFinishLaunching:(id)application
{
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"RespringNotifier"
message:@"Respring Complete! Welcome Back!"
delegate:nil
cancelButtonTitle:@"Dismiss"
otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
我相信代码没有任何问题。
这是我的makefile - &gt;
include theos/makefiles/common.mk
TWEAK_NAME = RespringNotifier
RespringNotifier_FILES = Tweak.xm
RespringNotifier_FRAMEWORKS = UIKIT
include $(THEOS_MAKE_PATH)/Tweak.mk
我在几个小时前将这些行插入到顶部的#34;包括theos / makefiles / common.mk&#34; - &gt;
导出ARCHS = armv7 armv7s arm64
export TARGET = iphone:clang:6.1。:6.1
这是链接 - &gt; http://imgur.com/hbiQ4oV
请帮助。
谢谢。
答案 0 :(得分:1)
使用iOS设备作为构建机器时,最好在编译时不使用root用户;仅使用root权限来安装软件包。
要提供更详细的错误消息,请使用“make messages = yes”。这将提供更多的背景信息,以找出问题所在。