需求:用theos创建工程并打包
操作步骤:我安装了theos、ldid,用theos创建了工程,也下载了dpkg-deb和libsubstrate.dylib,但是make时始终过不去
报错信息
Makefile里内容
ARCHS = armv7 arm64
TARGET = iphone:latest:8.0
THEOS_DEVICE_IP = 172.20.10.4
export THEOS_DEVICE_PORT = 2222
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = iOSREProject
iOSREProject_FILES = Tweak.xm
iOSREProject_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec “killall -9 SpringBoard”
本人逆向小白,望各位不吝赐教
我找了,就有一个说是里面有非法标点符号,但我报错的那行代码没有标点,另外其他的回答就都看不大懂了,老大能否指条明路 @snakeninny
我把 makefile中的TARGET = iphone:latest:8.0 删掉就编译通过了?这是为什么呢?
编译通过了,但在make package install时,又报错了
Making all for tweak iOSREProject…
make[2]: Nothing to be done for internal-library-compile'. Making stage for tweak iOSREProject… dpkg-deb: building package 'com.mby.iosreproject' in './packages/com.mby.iosreproject_0.0.1-6+debug_iphoneos-arm.deb'. ==> Installing… root@176.20.16.6's password: (Reading database ... 4332 files and directories currently installed.) Unpacking com.mby.iosreproject (from /tmp/_theos_install.deb) ... Setting up com.mby.iosreproject (0.0.1-6+debug) ... make: *** No rule to make target
install.exec’, needed by `after-install’. Stop.
我看提示是after-install的问题,就尝试删掉makefile中的
after-install::
install.exec “killall -9 SpringBoard”
结果打包、安装都过了,我重启手机就发现越狱的程序都打不开了,看来需要重新越狱