我试图在Xcode 7.3.1中运行一个项目,并获得了以下结果
错误:
dyld: Library not loaded: /System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/libperl.dylib
Referenced from: /usr/bin/perl5.18
Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 5为什么dyld库没有加载?我怎么能解决这个问题?我已经尝试过检查构建阶段,并且没有红色的图片。
发布于 2016-09-21 09:33:52
您可以重新安装Perl。
curl -L https://raw.githubusercontent.com/ranguard/installing-perl/master/scripts/install_perl_on_osx.sh | bash发布于 2016-09-21 09:22:04
您只是在启动系统perl时遇到问题。
要还原库/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/libperl.dylib,请参阅以下内容:https://apple.stackexchange.com/questions/116611/how-can-i-get-back-a-system-file-after-deleting-it-from-my-mac
https://stackoverflow.com/questions/39612122
复制相似问题