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

报错如下

$ 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即可

你可能感兴趣的:(安装Cycript报错找不到libruby.2.0.0.dylib)