Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Shell brew安装fbsimctl-SHA256不匹配_Shell_Homebrew - Fatal编程技术网

Shell brew安装fbsimctl-SHA256不匹配

Shell brew安装fbsimctl-SHA256不匹配,shell,homebrew,Shell,Homebrew,我正在尝试设置,其中一个要求是通过自制软件安装fbsimctl 以下是我的控制台输出: ==> Installing fbsimctl from facebook/fb ==> Downloading https://github.com/facebook/FBSimulatorControl/tarball/v0.4.0 ==> Downloading from https://codeload.github.com/facebook/FBSimulatorControl/l

我正在尝试设置,其中一个要求是通过自制软件安装
fbsimctl

以下是我的控制台输出:

==> Installing fbsimctl from facebook/fb
==> Downloading https://github.com/facebook/FBSimulatorControl/tarball/v0.4.0
==> Downloading from https://codeload.github.com/facebook/FBSimulatorControl/legacy.tar.gz/v0.4.0
########################################################################     100.0%
Error: SHA256 mismatch
Expected: 5d2ed56047f2b4b3f5f0804545c6730876be2372a834e70bc88a4cb9d4253e19
Actual: 4a8bb8aed15f756aeb57e4a1f8724e40a3dfaa27740ae1644021386ab64bd9fb
Archive: /Users/dan/Library/Caches/Homebrew/fbsimctl-0.4.0.0
To retry an incomplete download, remove the file above.
然后我跑:

rm-rf/Users/dan/Library/Caches/Homebrew/fbsimctl-0.4.0.0

然后:

brew更新&&brew清理&&brew容器清理

然后再次:

export code\u SIGNING\u REQUIRED=NO&&brew安装fbsimctl

但是我仍然得到前面提到的控制台输出。

文件的格式与公式不匹配,您可以通过下载文件进行验证:

$ curl -L -O https://github.com/facebook/FBSimulatorControl/tarball/v0.4.0
然后获取校验和:

$ $ openssl dgst -sha256 v0.4.0 
SHA256(v0.4.0)= 4a8bb8aed15f756aeb57e4a1f8724e40a3dfaa27740ae1644021386ab64bd9fb

我建议创建一个pull请求(如果您知道/信任并确保源代码是正确的),但是最好与开发人员联系,关于这个问题,校验和的主要思想是保证数据的完整性

非常感谢你的回答。我没有想到要检查GitHub。现在已经有了一个公关,打算修复它。