<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">There are two toolchains under Xcode-beta.app/<span style="font-family:arial,sans-serif">Contents/<wbr>Developer/Toolchains/. </span><br></div><div class="gmail_default" style="font-family:georgia,serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Swift_2.3.xctoolchain/<br>XcodeDefault.xctoolchain/</blockquote></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:arial,sans-serif">So in a terminal. input </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">export PATH=/Applications/Xcode-beta.<wbr>app/Contents/Developer/<wbr>Toolchains/Swift_2.3.<wbr>xctoolchain/usr/bin:"${PATH}"</blockquote><div><br></div><div><div class="gmail_default" style="display:inline">After I did that, when I input swift, it would be 2.3, but when I type xcrun swift, it was still 3.0 or 2.2.</div></div><div><div class="gmail_default" style="font-family:georgia,serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:georgia,serif;display:inline">Any idea?</div></div><div><div class="gmail_default" style="font-family:georgia,serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:georgia,serif;display:inline">Zhaoxin</div><div class="gmail_default" style="font-family:georgia,serif;display:inline"></div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 11, 2016 at 12:44 PM, Zhao Xin <span dir="ltr"><<a href="mailto:owenzx@gmail.com" target="_blank">owenzx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">I try to change command line tool from Xcode 8.0(8S193k) to Xcode 7.3.1(7D1014), who lead me to swift 3.0 or swift 2.2. I need Swift 2.3 to build Realm Cocoa from its source.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Any idea?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Zhaoxin</div></div>
</blockquote></div><br></div>