书中第一个例子Hello,Tweak. make失败

之前TARGET = iphone:6.1:4.3 make报错,说没有6.1SDK.用命令查询,只有8.1,改成8.1之后MAKE又报错:

ssss-Mac:iosre yangasahi$ make
Making all for tweak IOSRE…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
Linking tweak IOSRE…
ld: warning: ignoring file /Users/yangasahi/Desktop/IOSRETest/ReversePoject/iosre/theos/lib/libsubstrate.dylib, missing required architecture armv7 in file /Users/yangasahi/Desktop/IOSRETest/ReversePoject/iosre/theos/lib/libsubstrate.dylib (2 slices)
Undefined symbols for architecture armv7:
“_MSHookMessageEx”, referenced from:
logosLocalInit() in Tweak.xm.ef78290d.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/IOSRE.dylib.ba964c90.unsigned] Error 1
make[1]: *** [internal-library-all
] Error 2
make: *** [IOSRE.all.tweak.variables] Error

ssss-Mac:~ yangasahi$ xcrun --sdk iphoneos --show-sdk-path

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk
MakeFile:

THEOS_DEVICE_IP = 192.168.1.93
ARCHS = armv7
TARGET = iphone:8.1

include theos/makefiles/common.mk

TWEAK_NAME = IOSRE
IOSRE_FILES = Tweak.xm
IOSRE_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec "killall -9 SpringBoard”

应该怎么解决啊?

没有更换libsubstrate.dylib吧?

嗯,是的,我把CydiaSubstrate 文件复制到相关目录下,改成那个文件名就没问题了。之后,用ifile安了,重启ipad air 。出来提示了,第一个例子可算出来了!!! 两天啊! 不过做到第二个例子又有问题了。已经发帖:lol:

你的问题 怎么解决啊 ! 我新手 搭建THEOS的时候 编译的时候 和你遇见一样的问题

第一个例子我打包成功了,也安装成功了,但是没有什么反应,这个兄台有到过吗?怎么解决的。