使用Homebrew安装applesimutils时出现问题 [英] Problems installing applesimutils using Homebrew
本文介绍了使用Homebrew安装applesimutils时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试运行以下命令时:
brew tap wix/brew
brew install applesimutils
我的homebrew
失败,并显示以下内容:
my homebrew
fails with the following:
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
,但仍然遇到相同的错误.
I tried to do brew doctor
and brew cleanup
but still getting the same error.
谢谢
推荐答案
这与排毒无关.
AppleSimUtils自述文件的疑难解答部分中介绍了解决此问题的方法:
The solution for this issue is explained in the AppleSimUtils readme's troubleshooting section:
如果Homebrew在
wix/brew
龙头中抱怨冲突,请运行brew untap wix/brew && brew tap wix/brew
并尝试重新安装
If Homebrew complains about a conflict in the
wix/brew
tap, runbrew untap wix/brew && brew tap wix/brew
and try installing again
这篇关于使用Homebrew安装applesimutils时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文