最后一步错误 #35

Closed
wskiwhexing opened this Issue Dec 29, 2016 · 29 comments

Comments

Projects
None yet
@wskiwhexing

wskiwhexing commented Dec 29, 2016

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

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 这个链接。

Owner

buginux commented 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

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

Owner

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

Owner

buginux commented Dec 29, 2016

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

@wskiwhexing

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

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

@wskiwhexing

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

wskiwhexing commented Dec 29, 2016

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

Owner

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

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

Owner

buginux commented Dec 29, 2016

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

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

@wskiwhexing

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

Owner

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

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

只能帮你到这了。

Owner

buginux commented Dec 29, 2016

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

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

只能帮你到这了。

@wskiwhexing

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

Owner

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

Owner

buginux commented Dec 29, 2016

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

@wskiwhexing

This comment has been minimized.

Show comment
Hide comment
@wskiwhexing

wskiwhexing Dec 29, 2016

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

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

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Dec 29, 2016

Owner

👍

Owner

buginux commented Dec 29, 2016

👍

@renzifeng

This comment has been minimized.

Show comment
Hide comment
@renzifeng

renzifeng Jan 10, 2017

我遇到这问题了,使用提供的ibsubstrate.dylib还是闪退

我遇到这问题了,使用提供的ibsubstrate.dylib还是闪退

@devwcq

This comment has been minimized.

Show comment
Hide comment
@devwcq

devwcq Jan 17, 2017

@buginux 我也是用你提供的libsubstrate.dylib,注入以后也是老是闪退。。。

devwcq commented Jan 17, 2017

@buginux 我也是用你提供的libsubstrate.dylib,注入以后也是老是闪退。。。

@devwcq

This comment has been minimized.

Show comment
Hide comment
@devwcq

devwcq Jan 17, 2017

@wskiwhexing 你怎么解决的?

devwcq commented Jan 17, 2017

@wskiwhexing 你怎么解决的?

@renzifeng

This comment has been minimized.

Show comment
Hide comment
@renzifeng

renzifeng Jan 17, 2017

@devwcq 你没注入成功吧

@devwcq 你没注入成功吧

@devwcq

This comment has been minimized.

Show comment
Hide comment
@devwcq

devwcq Jan 18, 2017

@renzifeng 注入以后 出现下面这些 提示 ,这应该算注册成功了吧。
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: x86_64
Successfully inserted a LC_LOAD_DYLIB command for x86_64
Writing executable to wechat/Payload/WeChat.app/WeChat...

devwcq commented Jan 18, 2017

@renzifeng 注入以后 出现下面这些 提示 ,这应该算注册成功了吧。
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: x86_64
Successfully inserted a LC_LOAD_DYLIB command for x86_64
Writing executable to wechat/Payload/WeChat.app/WeChat...

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Jan 18, 2017

Owner

@devwcq 是的,不过似乎不太对劲。你那里为什么会出现 x86_64 的架构。

这是我的:

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 wechat/Payload/WeChat.app/WeChat...
Owner

buginux commented Jan 18, 2017

@devwcq 是的,不过似乎不太对劲。你那里为什么会出现 x86_64 的架构。

这是我的:

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 wechat/Payload/WeChat.app/WeChat...
@devwcq

This comment has been minimized.

Show comment
Hide comment
@devwcq

devwcq Jan 19, 2017

@buginux 为什么我会出现x86_64不出现arm64?😂

devwcq commented Jan 19, 2017

@buginux 为什么我会出现x86_64不出现arm64?😂

@buginux

This comment has been minimized.

Show comment
Hide comment
@buginux

buginux Jan 19, 2017

Owner

@devwcq 不是很清楚,你是使用 PP 助手的吗?你自己手动砸一个试试呢。

Owner

buginux commented Jan 19, 2017

@devwcq 不是很清楚,你是使用 PP 助手的吗?你自己手动砸一个试试呢。

@devwcq

This comment has been minimized.

Show comment
Hide comment
@devwcq

devwcq Jan 19, 2017

@buginux 嗯,我是在pp助手越狱市场下载获取的微信ipa包,好吧,我用越狱机手动砸包试试,tks。

devwcq commented Jan 19, 2017

@buginux 嗯,我是在pp助手越狱市场下载获取的微信ipa包,好吧,我用越狱机手动砸包试试,tks。

@fujinlin

This comment has been minimized.

Show comment
Hide comment
@fujinlin

fujinlin 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 我的也是这个,谁有这个包提供下,非常感谢

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

This comment has been minimized.

Show comment
Hide comment
@jacinzhang

jacinzhang Feb 6, 2017

@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...

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

我安装也是安装不了的

jacinzhang commented Feb 6, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@gank0326

gank0326 Mar 2, 2017

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

gank0326 commented Mar 2, 2017

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

@dakezuo

This comment has been minimized.

Show comment
Hide comment
@dakezuo

dakezuo Dec 27, 2017

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

dakezuo commented Dec 27, 2017

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

@lvcode

This comment has been minimized.

Show comment
Hide comment
@lvcode

lvcode Dec 27, 2017

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

lvcode commented Dec 27, 2017

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

@February12

This comment has been minimized.

Show comment
Hide comment
@February12

February12 Feb 2, 2018

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

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

@u2gign

This comment has been minimized.

Show comment
Hide comment
@u2gign

u2gign Feb 20, 2018

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

u2gign commented Feb 20, 2018

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

@sublimter

This comment has been minimized.

Show comment
Hide comment
@sublimter

sublimter Mar 1, 2018

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

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

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