LoadError - library not found for class Digest::SHA1 — digest/sha1

开启全局代理;

brew install ruby
或者更新ruby,如果提示已存在,也可以重新装,或者更新。

below command will overwrite the previous version

brew link --overwrite ruby

close this terminal and open new terminal.check your version

ruby -v

check issue resolve or not

ruby -r digest/sha1 -e 'p Digest::SHA1'

如果提示:can‘t find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)

sudo gem update –system (可以不执行)
gem install cocoapods


   转载规则


《LoadError - library not found for class Digest::SHA1 — digest/sha1》 采用 知识共享署名 4.0 国际许可协议 进行许可。
 上一篇
查看appstore历史构建版本的包大小 查看appstore历史构建版本的包大小
打开appstore https://appstoreconnect.apple.com/apps 打开你的app,并在构建版本一栏找到你要查看的版本,点击icon右边的版本号数字(蓝色显示可点击。例如1) 此时进入如下页面(活动页的版本
2020-11-27
下一篇 
git 命令 git 命令
假如我们现在在dev分支上,刚开发完项目,执行了下列命令:git add . git commit -m '提交的备注信息' git push -u origin dev 想将dev分支合并到master分支,操作如下: 1、首先切换
2020-11-25
  目录