最后一步错误 #35
Description
第一:make 出来的包没有看到libsubstrate.dylib 没有substrate 库
$ otool -L WeChatRedEnvelop.dylib
WeChatRedEnvelop.dylib (architecture armv7):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
WeChatRedEnvelop.dylib (architecture arm64):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
Activity
buginux commentedon Dec 29, 2016
1、在你那边的是 /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 这个库,具体的可以参考 http://bbs.iosre.com/t/ios/6119/26 这个帖子,里面有一个跟你情况一样的,我给了解释。
2、 关于第二个应该是你 github 没有添加 ssh-key 的问题,可以参考下 https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account 这个链接。
wskiwhexing commentedon Dec 29, 2016
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 这个文件是不是在越狱了的苹果手机上去拷贝呢。。 文章中 scp root@<your.device.ip>:/usr/lib/libsubstrate.dylib ~/Desktop your.device.ip 是不是指 手机ip 呢 没有越狱的手机是不是不能拿到 CydiaSubstrate 这个裤?
buginux commentedon Dec 29, 2016
对,这个库是只有越狱手机才有的那个 ip 就是指越狱手机的 ip
wskiwhexing commentedon Dec 29, 2016
用网上下的别人的文件应该不可以么?我不想手机越狱呀。。。
wskiwhexing commentedon Dec 29, 2016
还有 @loader_path 这个地址是不用修改的对吧,就是@loader_path就代表获取app 内的相对地址吧
buginux commentedon Dec 29, 2016
照理来说,是可以拿别人的,但是我没试过,不敢保证。
@loader_path 不用改,照着写就行了。
wskiwhexing commentedon Dec 29, 2016
我按照步骤全部弄好了,也可以弄出ipa 能正常安装,但是要闪退。纠结啦。。 手机不想越狱。。 我在网上下的libsubstrate.dylib 文件。。 不知道是不是这个文件的问题
buginux commentedon Dec 29, 2016
这是我用的,你可以试试。
链接: https://pan.baidu.com/s/1qXBqHSo 密码: efvy
只能帮你到这了。
wskiwhexing commentedon Dec 29, 2016
哈哈,那就再帮一下吧非常感谢,把你手机里的 /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 这个库也拷出来给我一下。3q
buginux commentedon Dec 29, 2016
刚刚发的就是这个库,你确认下你步骤有没有问题。
wskiwhexing commentedon Dec 29, 2016
已经解决问题,非常感谢。
buginux commentedon Dec 29, 2016
👍
9 remaining items
fujinlin commentedon Jan 25, 2017
Found FAT Header
Found thin header...
Found thin header...
Inserting a LC_LOAD_DYLIB command for architecture: arm
Successfully inserted a LC_LOAD_DYLIB command for arm
Inserting a LC_LOAD_DYLIB command for architecture: arm64
Successfully inserted a LC_LOAD_DYLIB command for arm64
Writing executable to Payload/WeChat.app/WeChat...
为什么我这安装也是闪退呀? /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 我的也是这个,谁有这个包提供下,非常感谢
jacinzhang commentedon Feb 6, 2017
@buginux 我的注入后提示这个
跟你们的不太一样啊,这是成功还是失败的?
我安装也是安装不了的
gank0326 commentedon Mar 2, 2017
@wskiwhexing 我也遇到了同样的问题,你最后怎么解决的!下载了别人的libsubstrate.dylib
下一步该怎么做?
dakezuo commentedon Dec 27, 2017
可以在github提供下/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate这个库吗,网盘那个地址打不开了,网上也并没有找到别人的,或者可以发我一份吗?邮箱852013212@qq.com,3Q!
lvcode commentedon Dec 27, 2017
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱l8q9@163.com
February12 commentedon Feb 2, 2018
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱18075375969@163.com 谢谢
u2gign commentedon Feb 20, 2018
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱47480071@qq.com 谢谢
sublimter commentedon Mar 1, 2018
libsubstrate.dylib 的网盘地址失效,麻烦发一份到我邮箱 18355512083@163.com ,谢谢
dahhd commentedon Dec 4, 2018
@wskiwhexing 请问能把作者发你的那个动态库发一下嘛?谢谢。 bofearless@gmail.com
zhulmin commentedon Dec 4, 2018
https://pan.baidu.com/s/1o8PPVGu
February12 commentedon Dec 4, 2018
February12 commentedon Dec 4, 2018
haheha commentedon Jan 18, 2019
老铁 方便留个qq吗,请教一下怎么搞得,我手机也没越狱,但是
➜ ~ scp root@192.168.1.248:/usr/lib/libsubstrate.dylib ~/Desktop
ssh: connect to host 192.168.1.248 port 22: Connection refused
卡在这里了