always get Crashlytics is modified when doing git status, objective c, git always get Crashlytics is modified when doing git status, objective c, git git git

always get Crashlytics is modified when doing git status, objective c, git


You have two choices:

  1. Check the changes into your project, which will stop the cause of the error.
  2. Add the Crashlytics.framework to your .gitignore file which will ignore any changes to the file.


The Crashlytics Mac app used to automatically update instances of its frameworks in your projects, which caused the original confusion. With the newer Fabric app, updates are controlled manually so you shouldn’t see unexpected changes in your working copy.

If you want to be able to able to return to the exact state of your application source at any time, you should add the framework files to your version control system and update them every time the framework updates.

Alternatively, ignore changes to the framework if you want to avoid adding possibly large files to your version control system or save yourself the time it takes to commit the changes — at the expense of having a complete source history. Disk space and network speeds are going up, while discarded history is lost forever. To read more, see the answers to Binaries in source control on Programmers Stack Exchange.

A third option that has some of the advantages of each choice is to use a separate repository for tracking changes to the Crashlytics/Fabric frameworks and add it as a submodule of your main repository. For example, see CrashlyticsFramework by Bogdan Poplauschi.