安装Cycript报错找不到libruby.2.0.0.dyli

2021-03-18  本文已影响0人  Jackson_Z

报错如下

$ cycript
dyld: Library not loaded: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
  Referenced from: /Users/youssef/Downloads/cycript_0.9.594/Cycript.lib/cycript-apl
  Reason: image not found

解决办法:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/Ruby文件拷贝到cycript_0.9.594/Cycript.lib目录下,并改名为libruby.2.0.0.dylib即可

上一篇下一篇

猜你喜欢

热点阅读