之前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”
应该怎么解决啊?