使用 Homebrew 安装 applesimutils 时出现问题

int*_*der 4 homebrew applesimutils

当尝试运行以下命令时:

brew tap wix/brew
brew install applesimutils
Run Code Online (Sandbox Code Playgroud)

我的homebrew 失败如下:

Warning: Some installed formulae are not readable:
  applesimutils: /usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:4: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
  ^
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:17: syntax error, unexpected ===, expecting keyword_end
=======
   ^
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:23: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Detox Instruments 1.10.10110
  ^
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:23: unexpected fraction part after numeric literal
>>>>>>> Detox Instruments 1.10.10110
Run Code Online (Sandbox Code Playgroud)

我正在奔跑

Environment:
  OS: macOS 10.14.5
  Node: 10.15.3
  Yarn: 1.16.0
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 10.2.1 Build version 10E1001
  Android Studio: 3.4 AI-183.5429.30.34.5452501

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: ^0.55.4 => 0.55.4
Run Code Online (Sandbox Code Playgroud)

我尝试brew doctor这样做,brew cleanup但仍然遇到同样的错误。

谢谢

Leo*_*ica 6

这与排毒无关。

AppleSimUtils 自述文件的故障排除部分解释了此问题的解决方案:

如果 Homebrew 抱怨水龙头出现冲突wix/brew,请运行brew untap wix/brew && brew tap wix/brew并尝试再次安装