使用 Homebrew 安装 applesimutils 时出现问题
Problems installing applesimutils using Homebrew
尝试运行以下命令时:
brew tap wix/brew
brew install applesimutils
我的 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
我运行正在
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
我尝试执行 brew doctor
和 brew cleanup
但仍然出现相同的错误。
谢谢
这与排毒无关。
AppleSimUtils 自述文件中解释了此问题的解决方案 troubleshooting section:
If Homebrew complains about a conflict in the wix/brew
tap, run brew untap wix/brew && brew tap wix/brew
and try installing again
尝试运行以下命令时:
brew tap wix/brew
brew install applesimutils
我的 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
我运行正在
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
我尝试执行 brew doctor
和 brew cleanup
但仍然出现相同的错误。
谢谢
这与排毒无关。
AppleSimUtils 自述文件中解释了此问题的解决方案 troubleshooting section:
If Homebrew complains about a conflict in the
wix/brew
tap, runbrew untap wix/brew && brew tap wix/brew
and try installing again