title: xcode replaces tabs by spaces after a branch merge
body: <p>After a merge of two branches, and resolving conflicts, Xcode modifies two files: the .plist and the .pbxproj of the project. In both cases, the <strong>leading tabs of every line are replaced by spaces</strong>. </p>
  
  <p>Also after finishing the merge and creating the corresponding commit, Xcode leaves all the files that had conflicts without adding them to the commit, forcing us to make a second commit with the resolved files (including .plist and .pbxproj). Only happens with those two files and only if they have conflicts on the merge, other file types (.h, .m) not affected.</p>
  
  <p><strong>Xcode Version 9.2 (9C40b)</strong></p>
  
  <ul>
  <li>The number of spaces added, corresponds to the number of tabs present: 4 spaces per tab.</li>
  <li>In the Xcode Preferences, all the team have selected "Spaces" in "Prefer indent using: under Indentation.</li>
  </ul>
  
  <p>We would like to know how to avoid this behaviour?</p>