'Xcode randomly modifies my schemes content

Whenever I switch branch or trigger a build, I'm getting my xschemes modified by Xcode, it seemed to happens since the last OS version. My schemes are shared amongst different target. Anyone has an idea how to fix this?

It goes from:

<BuildableProductRunnable
     runnableDebuggingMode = "0">

To:

<RemoteRunnable
         runnableDebuggingMode = "2"
         BundleIdentifier = "com.apple.Carousel"
         RemotePath = "/$(PRODUCT_NAME)">

Here is a screenshot of the whole change in git: enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source