为什么无法回答?

Continuing the discussion from 关于dumpdecrypted 砸壳的若干问题?麻烦坛主解答一下?:

Continuing the discussion from 关于dumpdecrypted 砸壳的若干问题?麻烦坛主解答一下?:

楼猪,为什么在这个帖子下没有 reply?无法在跟贴?

还没解决问题吗?

是啊

看了兄台 这个文章,能编译了,但是还是报错?

Making all for tweak dumpdecrypted…
mkdir: obj/debug: Not a directory
make[1]: *** [/Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug] Error 1
make: *** [dumpdecrypted.all.tweak.variables] Error 2

手动创建.theos/obj/debug 这个目录或者再开个新空白theos工程然后覆盖makefile和代码

dumpdecrypted.zip (7.9 KB)

解压这个cd进去make即可

.theos/obj/debug
这个目录已经有了,用你的新的文件覆盖编译还是报错,如图

。。。。。。。。。。。。。。。。。。。。。。。。。
theos没找到clang,用xcode-select重新指定xcode的目录

JacksondeMacBook-Pro:~ Jackson$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
JacksondeMacBook-Pro:~ Jackson$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Password:
JacksondeMacBook-Pro:~ Jackson$ xcode-select --print-path
/Applications/Xcode.app/Contents/Developer

JacksondeMacBook-Pro:dumpdecrypted Jackson$ make

Making all for tweak dumpdecrypted…
==> Merging tweak dumpdecrypted…
==> Signing dumpdecrypted…
/bin/bash: ldid: command not found
make[2]: *** [/Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib] Error 127
rm /Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib.47ba6b93.unsigned
make[1]: *** [internal-library-all_] Error 2
make: *** [dumpdecrypted.all.tweak.variables] Error 2
JacksondeMacBook-Pro:dumpdecrypted Jackson$ make
Making all for tweak dumpdecrypted…
==> Merging tweak dumpdecrypted…
==> Signing dumpdecrypted…
/bin/bash: ldid: command not found
make[2]: *** [/Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib] Error 127
rm /Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib.47ba6b93.unsigned
make[1]: *** [internal-library-all_] Error 2
make: *** [dumpdecrypted.all.tweak.variables] Error 2

我这里是到.app为止没有后面那串

安装下ldid

Making all for tweak dumpdecrypted…
==> Merging tweak dumpdecrypted…
==> Signing dumpdecrypted…
/bin/bash: ldid: command not found
make[2]: *** [/Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib] Error 127
rm /Users/Jackson/Desktop/WTFJH/ThirdPartyTools/dumpdecrypted/.theos/obj/debug/dumpdecrypted.dylib.47ba6b93.unsigned
make[1]: *** [internal-library-all_] Error 2
make: *** [dumpdecrypted.all.tweak.variables] Error 2

去掉.app后边的,make效果一样的报错

让你安装ldid

可以从源码编译ldid,或者方便点直接用Homebrew安装,具体看github.com/kpwn/iOSRE下我的安装脚本

安装完了编译,还是报错
JacksondeMacBook-Pro:dumpdecrypted Jackson$ sudo cp /tmp/ldid $THEOS/bin/
JacksondeMacBook-Pro:dumpdecrypted Jackson$ sudo chmod +x $THEOS/bin/ldid
JacksondeMacBook-Pro:dumpdecrypted Jackson$ rm /tmp/ldid
JacksondeMacBook-Pro:dumpdecrypted Jackson$ make

Making all for tweak dumpdecrypted…
==> Merging tweak dumpdecrypted…
==> Signing dumpdecrypted…
JacksondeMacBook-Pro:dumpdecrypted Jackson$ make
Making all for tweak dumpdecrypted…
make[2]: Nothing to be done for internal-library-compile'. JacksondeMacBook-Pro:dumpdecrypted Jackson$ make Making all for tweak dumpdecrypted… make[2]: Nothing to be done for internal-library-compile’.