I work on an xcode project with multiple people. Every time someone switches between running on device and simulator, this adds a change in xcshareddata/scschemes/{schemename}
to the next commit.
It is extremely annoying to have each commit stuffed with those scheme changes. Whilst it is convenient to be able to continue with the scheme that you have just been working on when cloning the repo, a fresh clone is not something you perform numerous times a day so I would much prefer the following situation:
Have a "static" set of schemes in the repo so whenever someone clones the repository they will start out with an {App Name} -> "Any iOS Device"
scheme. Once they change this to their personal iPhone or Simulator, Xcode's versioning should ignore that file so it doesn't clutter up commits.
What's a bit annoying about this setup is that you have to select your target device after each clone but again I would rather how to set the target device every once in a while than read through the "changes" in commits and pull requests where 80% of the additions and deletions consist of someone iterating through simulators.
How would I got about setting up our repository/ git/ .gitignore
to achieve this state?