title: How to have different project structures for different git branches in Xcode?
body: <p>When developing software using the 'git flow' (<a href="https://nvie.com/posts/a-successful-git-branching-model/" rel="nofollow noreferrer">https://nvie.com/posts/a-successful-git-branching-model/</a>) model, new 'features' are based off a develop branch and when finished, merged back into the 'develop' branch. This means that often, we would be working on multiple features, and thus switching back and forth between multiple feature branches, at a time.</p>
  
  <p>Regarding switching back and forth between different feature branches in Xcode, I keep finding myself re-adjusting the Xcode targets whenever I switch branches: when adding new functionality to a target library whose source files don't exist in the other branch, these files (rightfully so) turn 'red' (meaning they can't be found) when switching to that other branch.</p>
  
  <p>In Xcode 10.0, is there a way I can have different project structures (targets, source files, ...) for each different git branch?</p>