dyld: Library not loaded: @execu

2018-09-25  本文已影响197人  JoeTong

动态库注入后,经常遇到这种情况,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了没有啊啊啊啊,好多次了 你都是这个原因

上一篇下一篇

猜你喜欢

热点阅读