第54页 make命令执行 出问题,求指点

zt-10000640:thirdtheos user$ make
/Users/user/Documents/IOSHack/thirdtheos/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak ThirdTheos…
Preprocessing Tweak.xm…
Compiling Tweak.xm…
Preprocessing Tweak_Instagram.xm…
Compiling Tweak_Instagram.xm…
Compiling RevealUtil.m…
Linking tweak ThirdTheos…
ld: warning: ignoring file /Users/user/Documents/IOSHack/thirdtheos/theos/lib/libsubstrate.dylib, missing required architecture armv7 in file /Users/user/Documents/IOSHack/thirdtheos/theos/lib/libsubstrate.dylib (2 slices)
Undefined symbols for architecture armv7:
“_MSHookMessageEx”, referenced from:
logosLocalInit() in Tweak_Instagram.xm.b148325a.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/ThirdTheos.dylib.ba964c90.unsigned] Error 1
make[1]: *** [internal-library-all
] Error 2
make: *** [ThirdTheos.all.tweak.variables] Error 2

thirdtheos 是我生成的工程目录Tweak_Instagram.xm RevealUtil.h RevealUtil.m 这三个文件我放在这下面了;make后,报上面的错,不知道哪一步出问题了。

/Users/user/Documents/IOSHack/thirdtheos/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

这一句看来是Makefile里的build和deployment target没写好,把你的Makefile贴出来看看;

ld: warning: ignoring file /Users/user/Documents/IOSHack/thirdtheos/theos/lib/libsubstrate.dylib, missing required architecture armv7 in file 

这一句看来是libsubstrate.dylib没有替换;
这2步书上都写了,你先按书上的改过来,看看还报错不

makefilew文件:
include theos/makefiles/common.mk
TWEAK_NAME = ThirdTheos
ThirdTheos_FILES = Tweak.xm Tweak_Instagram.xm RevealUtil.m
ThirdTheos_FRAMEWORKS = UIKit CFNetwork
ThirdTheos_PRIVATE_FRAMEWORKS = AppSupport
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec “killall -9 Instagram”

libsubstrate.dylib 这个我没找到在哪里。

你还,还有个问题想问下: 用Reveal 分析目标app时,plist文件里面 要写目标文件的 Bundles ,但是我怎么获取这个 Bundles?还是自己定义一个呢?

又有新的问题了,麻烦您一起看下:IDA 书上说得把要分析的 文件拖到灰色区域就行了,这个文件是 .ipa文件吗?我把淘宝的ipa文件拖上去,没有出现你说的配置界面,是不是ida版本的问题啊?
还有,我在 radare 源里面找不到 GDB。

你不要跳着看,对着书上的Theos部分先把环境配好。你的Makefile有些必要信息都没写

还是Theos的使用和配置问题,把书上这部分好好看看先,都讲得很详细了

哦哦好的,我是跳了几页~我返回去好好看看~谢谢啦