尝试在终端上使用此命令安装gnuplot
Mac:~ Amar$ brew install gnuplot --with-xll
Error: Your Xcode (7.3.1) is too outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store
但是,当检查xcode是否需要更新时,我得到了
Mac:~ Amar$ softwareupdate --install xcode
Software Update Tool
Copyright 2002-2015 Apple Inc.
xcode: No such update
No updates are available.
请让我知道如何解决这个问题。
答案 0 :(得分:1)
通过卸载Xcode并从Apple的开发者帐户重新安装它来解决此错误。
答案 1 :(得分:0)
xcode
不是softwareupdate
的有效参数。您需要先使用softwareupdate --list
获取可用更新列表;然后使用softwareupdate --install
,后跟更新名称。