Should I commit ios/Runner.xcworkspace/xcshareddata/?

806

The xcshareddata folder does not contain any user sensitive data, or even machine sensitive data.

That directory, as the name implies, is used to store shared settings, e.g: Schemes. In my experience, it is best to add it to version control, as there seems to be no good reason to keep it from being versioned.

Share:
806
Ted Henry
Author by

Ted Henry

Struggling along building mobile apps.

Updated on December 08, 2022

Comments

  • Ted Henry
    Ted Henry over 1 year

    After running my new Flutter app for a first time on iOS, git status is reporting untracked files

    ios/Runner.xcworkspace/xcshareddata/
    

    Should I add this to version control or add them to .gitignore?

    • Günter Zöchbauer
      Günter Zöchbauer over 5 years
      If you shouldn't it were listed in .gitignore. It also doesn't seem to contain machine or user-dependent information.