美文网首页
dyld: Library not loaded: @execu

dyld: Library not loaded: @execu

作者: JoeTong | 来源:发表于2018-09-25 14:52 被阅读197次

    动态库注入后,经常遇到这种情况,image not found

    dyld: Library not loaded: @executable_path/dingding.dylib

      Referenced from: /var/containers/Bundle/Application/975F1CEA-CD3F-4F1C-9F34-BF895F07D125/testNotBreak.app/DingTalk

      Reason: no suitable image found.  Did find:

    /var/containers/Bundle/Application/975F1CEA-CD3F-4F1C-9F34-BF895F07D125/testNotBreak.app/dingding.dylib: code signature invalid for '/var/containers/Bundle/Application/975F1CEA-CD3F-4F1C-9F34-BF895F07D125/testNotBreak.app/dingding.dylib'

    /private/var/containers/Bundle/Application/975F1CEA-CD3F-4F1C-9F34-BF895F07D125/testNotBreak.app/dingding.dylib: code signature invalid for '/private/var/containers/Bundle/Application/975F1CEA-CD3F-4F1C-9F34-BF895F07D125/testNotBreak.app/dingding.dylib'


    正常的步骤。。。

    install_name_tool -change /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate @loader_path/libsubstrate.dylib yktwHook.dylib

     /Users/joe/Desktop/逆向安装包/将dylib注入到macho的工具/yololib DingTalk  DingTalk.dylib

    codesign -f -s "iPhone Developer: wangcan wang (MAH47PQHAR)" dingding.dylib

    还有一点,你工程的最低版本设置成8.0了没有啊啊啊啊,好多次了 你都是这个原因

    相关文章

      网友评论

          本文标题:dyld: Library not loaded: @execu

          本文链接:https://www.haomeiwen.com/subject/yxkloftx.html