5

我刚刚升级到 Xcode 5,现在 Gitbox 似乎无法找到 FileMerge 作为 diff 工具,并且没有手动设置路径的选项。有谁知道重新链接的方法吗?

4

4 回答 4

5

尝试通过终端更改活动的 Xcode:

   xcode-select --print-path
           Prints the path of the active Xcode folder
   or: xcode-select --switch <xcode_path>
           Sets the path for the active Xcode folder
   or: xcode-select --version
           Prints the version of xcode-select

如果这不起作用,Xcode 允许您选择可以使用哪一组命令行工具(它隐藏在 Xcode 的“位置”首选项窗格中。

于 2013-09-19T14:23:39.510 回答
4

失败。失败。失败。问题是我显然只需要启动 Xcode :) 哎呀。

于 2013-09-19T14:34:00.763 回答
4

在 Xcode 8.3.3 中,我转到首选项并在选项卡位置下选择为空的 CommandLineTools 下拉菜单,然后应用 Xcode 8.3.3

现在我的 Gitbox 在比较文件时会打开 FileMerge,就像以前一样。

于 2018-05-17T16:13:20.100 回答
1

发生这种情况正是因为您的 Xcode 仍在引用旧版本。打开Xcode > Go to preferences > Then click on "Locations" Tab. 您将看到一个标有“命令行工具”的下拉菜单。选择您的最新版本,瞧!

于 2020-02-20T19:03:43.933 回答