I understand this is an xcode warning/error, however, it happens when I try to run gitk --all from the command line.
gitk --all
YuFei-Zhus-MacBook-Pro:test phi
$ alias gitk='gitk 2>/dev/null'
I have same problem here. This is quick tip until someone answers this solution.