本文介绍了CFURLCopyResourcePropertyForKey失败,因为它传递此URL没有方案:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我理解这是一个xcode警告/错误,但是,当我尝试从命令行运行 gitk --all
时发生。
I understand this is an xcode warning/error, however, it happens when I try to run gitk --all
from the command line.
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和更新到山狮,安装x11和xcode。任何建议为什么会发生这种情况?
I just replaced a new disk and did a fresh install of osx and updated to mountain lion, installed x11 and xcode. Any suggestions why this happens?
推荐答案
alias gk ='gitk --all 2> / dev / null&' am on mac)
alias gk='gitk --all 2> /dev/null &' (I am on mac)
我在〜/ .bash_login文件中有它,它解决了它:D
I have it in the ~/.bash_login file, and it solves it :D
你也可以把它.bashrc文件
you can also put it the .bashrc file
这篇关于CFURLCopyResourcePropertyForKey失败,因为它传递此URL没有方案:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!