<div dir="ltr">Hello Max and Dmitri, thank you very much for the response.<div><br></div><div>I&#39;ll try those steps/commands later tonight. I believe this will work for me.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-22 15:13 GMT-03:00 Dmitri Gribenko <span dir="ltr">&lt;<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Feb 22, 2016 at 10:08 AM, Max Howell via swift-users<br>
&lt;<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>&gt; wrote:<br>
&gt; So, first, I would like to know if there is a way to compile xcode projects<br>
&gt; (and all classes within it) using the Swift version that I built from<br>
&gt; sources.<br>
&gt;<br>
&gt;<br>
&gt; Hi Marcel,<br>
&gt;<br>
&gt; I actually do this.<br>
&gt;<br>
&gt; What I did is:<br>
&gt;<br>
&gt; 1. Make a recursive copy of a xctoolchain.<br>
&gt; 2. Replace all the parts in that new toolchain with symlinks to the built<br>
&gt; versions<br>
&gt; 3. Edit the Info.plist to give the toolchain a unique name<br>
&gt;<br>
&gt; It’s a hack, but currently it is otherwise quite problematic to build your<br>
&gt; own toolchain. There is a ticket open to make the build-script capable of<br>
&gt; this however, so hopefully this will be implemented.<br>
<br>
</span>build-script can do this.  See my last comment in<br>
<a href="https://github.com/apple/swift/pull/1267" rel="noreferrer" target="_blank">https://github.com/apple/swift/pull/1267</a> for an example.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j&lt;i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf(&quot;%d\n&quot;,i);}}} /*Dmitri Gribenko &lt;<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>&gt;*/<br>
</font></span></blockquote></div><br></div>