<div dir="ltr">Hello all,<div><br></div><div>I have two copies of Xcode on my development machine: /Applications/Xcode-7.3.1.app and /Applications/Xcode.app (which is Xcode 8.0).<br><br>I have `Xcode &gt; Preferences... &gt; Locations &gt; Command Line Tools` set to /Applications/Xcode-7.3.1.app, since I need Xcode 7.3.1 to build a different project that I&#39;m working on.<br><br>However, apple/swift only builds using Xcode 8. I could change my `Locations &gt; Command Line Tools` whenever I build apple/swift, but that&#39;s inconvenient -- I build both apple/swift and my other project several times per day, so I would have to switch very often.<br><br>Is it possible to specify an Xcode command line tools location when building Swift? So far I&#39;m doing this, and it appears to be working:<br><br>    DEVELOPER_DIR=/Applications/Xcode.app utils/build-script -R<br><br>Is this a good way to build using a specific version of Xcode? Or is there a better way? Should we support this via an additional option to utils/build-script, such as `utils/build-script --xcode=/Applications/Xcode.app`?<br><br>Thoughts and feedback appreciated!</div><div><br></div><div>- Brian Gesiak</div></div>