Xcode snapshot fails when using git lfs -
i have git set git-lfs extension. when using xcode 6 search , replace uses git internally take snapshot of project before doing replace. using lfs snapshot fails message:
error: copy-fd: write returned broken pipe error: cannot feed input external filter git lfs clean %f error: external filter git lfs clean %f failed 1 error: external filter git lfs clean %f failed fatal: xxxx: clean filter 'lfs' failed
is possible configure xcode use version of git lfs extension installed? or update version of git used xcode add lfs extension?
i tried installing git-lfs in same directory git used xcode not help.
cp git-lfs /applications/xcode.app/contents/developer/usr/bin
i'm guessing you've installed git-lfs via homebrew, it's in /usr/local/bin
, , updated path
match. problem gui apps don't inherit updated path
shell, because parent process launchd
. when xcode tries run git
, git fails because can't locate git-lfs
.
this answer talks various ways os x apps pick environment, , how can modify defaults in os x 10.9 , earlier.
for yosemite, seems /etc/launchd.conf
no longer supported, , fix different: https://apple.stackexchange.com/questions/106355/setting-the-system-wide-path-environment-variable-in-mavericks.
Comments
Post a Comment