安装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
即可