Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

最后一步错误 #35

Closed
Closed
@wskiwhexing

Description

@wskiwhexing

第一: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

buginux commented on Dec 29, 2016

@buginux
Owner

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

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 这个文件是不是在越狱了的苹果手机上去拷贝呢。。 文章中 scp root@<your.device.ip>:/usr/lib/libsubstrate.dylib ~/Desktop your.device.ip 是不是指 手机ip 呢 没有越狱的手机是不是不能拿到 CydiaSubstrate 这个裤?

buginux

buginux commented on Dec 29, 2016

@buginux
Owner

对,这个库是只有越狱手机才有的那个 ip 就是指越狱手机的 ip

wskiwhexing

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

用网上下的别人的文件应该不可以么?我不想手机越狱呀。。。

wskiwhexing

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

还有 @loader_path 这个地址是不用修改的对吧,就是@loader_path就代表获取app 内的相对地址吧

buginux

buginux commented on Dec 29, 2016

@buginux
Owner

照理来说,是可以拿别人的,但是我没试过,不敢保证。

@loader_path 不用改,照着写就行了。

wskiwhexing

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

我按照步骤全部弄好了,也可以弄出ipa 能正常安装,但是要闪退。纠结啦。。 手机不想越狱。。 我在网上下的libsubstrate.dylib 文件。。 不知道是不是这个文件的问题

buginux

buginux commented on Dec 29, 2016

@buginux
Owner

这是我用的,你可以试试。

链接: https://pan.baidu.com/s/1qXBqHSo 密码: efvy

只能帮你到这了。

wskiwhexing

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

哈哈,那就再帮一下吧非常感谢,把你手机里的 /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 这个库也拷出来给我一下。3q

buginux

buginux commented on Dec 29, 2016

@buginux
Owner

刚刚发的就是这个库,你确认下你步骤有没有问题。

wskiwhexing

wskiwhexing commented on Dec 29, 2016

@wskiwhexing
Author

已经解决问题,非常感谢。

buginux

buginux commented on Dec 29, 2016

@buginux
Owner

👍

9 remaining items

fujinlin

fujinlin commented on Jan 25, 2017

@fujinlin

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

jacinzhang commented on Feb 6, 2017

@jacinzhang

@buginux 我的注入后提示这个

Found thin header...
Inserting a LC_LOAD_DYLIB command for architecture: arm64
Successfully inserted a LC_LOAD_DYLIB command for arm64
Writing executable to wechat/Payload/WeChat.app/WeChat...

跟你们的不太一样啊,这是成功还是失败的?

我安装也是安装不了的

gank0326

gank0326 commented on Mar 2, 2017

@gank0326

@wskiwhexing 我也遇到了同样的问题,你最后怎么解决的!下载了别人的libsubstrate.dylib
下一步该怎么做?

dakezuo

dakezuo commented on Dec 27, 2017

@dakezuo

可以在github提供下/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate这个库吗,网盘那个地址打不开了,网上也并没有找到别人的,或者可以发我一份吗?邮箱852013212@qq.com,3Q!

lvcode

lvcode commented on Dec 27, 2017

@lvcode

/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱l8q9@163.com

February12

February12 commented on Feb 2, 2018

@February12

/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱18075375969@163.com 谢谢

u2gign

u2gign commented on Feb 20, 2018

@u2gign

/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate 可以发我一份吗?邮箱47480071@qq.com 谢谢

sublimter

sublimter commented on Mar 1, 2018

@sublimter

libsubstrate.dylib 的网盘地址失效,麻烦发一份到我邮箱 18355512083@163.com ,谢谢

dahhd

dahhd commented on Dec 4, 2018

@dahhd

@wskiwhexing 请问能把作者发你的那个动态库发一下嘛?谢谢。 bofearless@gmail.com

zhulmin

zhulmin commented on Dec 4, 2018

@zhulmin

@wskiwhexing 请问能把作者发你的那个动态库发一下嘛?谢谢。 bofearless@gmail.com

https://pan.baidu.com/s/1o8PPVGu

February12

February12 commented on Dec 4, 2018

@February12
February12

February12 commented on Dec 4, 2018

@February12
haheha

haheha commented on Jan 18, 2019

@haheha

我按照步骤全部弄好了,也可以弄出ipa 能正常安装,但是要闪退。纠结啦。。 手机不想越狱。。 我在网上下的libsubstrate.dylib 文件。。 不知道是不是这个文件的问题

老铁 方便留个qq吗,请教一下怎么搞得,我手机也没越狱,但是
➜ ~ scp root@192.168.1.248:/usr/lib/libsubstrate.dylib ~/Desktop
ssh: connect to host 192.168.1.248 port 22: Connection refused
卡在这里了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fujinlin@u2gign@sublimter@wskiwhexing@buginux

        Issue actions

          最后一步错误 · Issue #35 · buginux/WeChatRedEnvelop