Xcode and git-lfs

I installed git-lfs using homebrew, and it works fine from the command line. I can still add text files in Xcode as well, but whenever I try in Xcode to add a file which should be tracked by git-lfs, there is no effect (the file stays “?” in Xcode’s file list, and the command line confirms that the file was not, in fact, added). After some research, I tried adding ~/Library/LaunchAgents/my.startup.plist to setenv PATH /usr/local/bin but it had no effect.

How can I get Xcode to play nice with git-lfs?

  • How to do add a fix in the release branch using git flow / hubflow
  • Squash all commits in branch in git
  • What's the difference between “git fetch <url>” and “git add remote upstream <url>” followed by “git fetch upstream”?
  • git subtree push changes back to subtree project
  • What is the base branch when a new one is created?
  • How do your developers work using Git?
  • How to checkout a tag with GitPython
  • Merging git branch A into branch B once again after the first merge has been reverted
  • Commit to gerrit approach
  • How do I produce every possible git-status?
  • How does the Bittorrent Sync secret work?
  • git Permission denied (publickey)
  • One Solution collect form web for “Xcode and git-lfs”

    There seem to be a problem with using git-lfs with Xcode. See this article:
    http://gopalkri.com/2016/05/17/git-lfs-xcode-asset-catalogs/

    Might be better off to stick with Git to commit your changes instead of doing it via Xcode.

    Git Baby is a git and github fan, let's start git clone.