Base64报错:Uncaught DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
原因:Base64不支持中文转码 解决方案:先进行url转码,再进行Base64转码
转换过程示意: str --> uriStr --> uriBase64Str --> uriStr -
问题: [!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down
解决: 先更新一下 openssl 再更新ruby 就可以了
我是使用了Homebrew 的命令来更新
如果你没有安装 你可以在终端执行下面的命令
/bin/zsh -c "$(curl -fsSL https://gi