Xcode distributed build failure

人走茶凉 提交于 2019-12-05 02:44:39
Josh Knauer

Your milage may vary with this solution, but we've had to hack the distcc that comes with Xcode to force pump mode to be off to fix this problem.

  1. Remove pump from /Developer/usr/bin and /usr/bin, just write out an empty file named pump in its place
  2. Don't forget to chmod a+x your pump and distcc (in the next step)
  3. In /Developer/usr/bin, rename distcc to distcc.bin and write out this distcc

    #!/bin/bash
    hosts=$DISTCC_HOSTS
    hosts=${hosts//\,cpp/}
    export DISTCC_HOSTS=$hosts
    echo Modified DISTCC_HOSTS=\"$DISTCC_HOSTS\"
    /Developer/usr/bin/distcc.bin $@

Apologies, this is a quick and dirty solution. There is probably a cleaner way to do this.

Please restart the build server and your own computer. That usually does the trick for me, also, update to the latest xcode 4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!