我知道这是一个 xcode 警告/错误,但是,当我尝试从命令行运行 gitk --all
时会发生这种情况。
YuFei-Zhus-MacBook-Pro:test phil88530$ gitk --all
2012-08-02 21:14:49.246 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:49.252 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:49.293 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:49.295 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:49.474 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:49.476 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:50.731 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
2012-08-02 21:14:50.734 Wish[33464:707] CFURLCopyResourcePropertyForKey failed because it was passed this URL which has no scheme:
YuFei-Zhus-MacBook-Pro:test phil88530$
我刚刚更换了一个新磁盘并重新安装了 osx 并更新到 mountain lion,安装了 x11 和 xcode。有什么建议为什么会这样吗?
最佳答案
$ alias gitk='gitk 2>/dev/null'
我这里也有同样的问题。在有人回答此解决方案之前,这是快速提示。
关于xcode - CFURLCopyResourcePropertyForKey 失败,因为它传递了这个没有方案 : 的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11785126/