MAS 更新 10.11.2,重启提示 : 未能验证"Command Line Tools(OS X 10.11) for Xcode", 重新启动后,您可以在 APP Store 中再次尝试更新

2015-12-09 09:50:03 +08:00
 cheny95
求解




12049 次点击
所在节点    macOS
38 条回复
lonelygo
2015-12-09 09:59:05 +08:00
正在下,看看会不会和你一样
lonelygo
2015-12-09 09:59:52 +08:00
你的 Xcode 更新到 7.2 木有?
maemual
2015-12-09 10:00:07 +08:00
同样的错误,关注一下
cheny95
2015-12-09 10:01:03 +08:00
@lonelygo 我没有安装 Xcode,只安装了 command Line Tools,以前更新都正常...
bullettrain1433
2015-12-09 10:02:33 +08:00
我的刚更新正常
cheny95
2015-12-09 10:06:18 +08:00
@bullettrain1433 安装了 Xcode 吗?
anguslg
2015-12-09 10:07:25 +08:00
我的也是这问题, Xcode 更新到一半出错了,可能是这个原因
Havee
2015-12-09 10:38:33 +08:00
卸载掉 Command Line Tools 再更新
maemual
2015-12-09 10:39:00 +08:00
先更新 Xcode 和 command line tools 之后似乎就可以安装了
maemual
2015-12-09 10:45:48 +08:00
OK ,更新成功。确实需要先更新 xcode
flowerains
2015-12-09 10:58:00 +08:00
xcode 这哪叫更新啊 每次都更新 4 个 g
完全就是重新下一遍
cheny95
2015-12-09 11:14:41 +08:00
@Havee 如何只卸载 command line tools? 我没有安装 xcode.
@maemual 我没有安装 xcode 啊,所以单独更新好像会出问题,我不想装啊..那么大的编辑器,我又用不到...
IgniteWhite
2015-12-09 11:16:00 +08:00
我更新正常,前来报到。
ffffwh
2015-12-09 11:20:59 +08:00
xcode-select --install (好象是这个命令)试试
cheny95
2015-12-09 11:21:17 +08:00
@IgniteWhite 请问你是安装了 xcode,然后更新 xcode 之后更新系统正常是吗
cheny95
2015-12-09 11:22:44 +08:00
@ffffwh 这个是安装,而且没有 uninstall

xcode-select: error: no command option given
Usage: xcode-select [options]

Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).

Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
jzk
2015-12-09 11:24:34 +08:00
一样问题 试了 3 次搞定,感觉是网络问题 没有下载完整
ffffwh
2015-12-09 11:31:49 +08:00
@cheny95
pkgutil --pkgs
pkgutil --files
手动删除试试
cheny95
2015-12-09 11:50:12 +08:00
@all 成功更新了
Troevil
2015-12-09 11:52:07 +08:00
@maemual thanks 刚想问来着就看到这帖子了 lol

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/242180

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX