<div dir="ltr">Hello Max and Dmitri, thank you very much for the response.<div><br></div><div>I'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"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></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>
<<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>> wrote:<br>
> So, first, I would like to know if there is a way to compile xcode projects<br>
> (and all classes within it) using the Swift version that I built from<br>
> sources.<br>
><br>
><br>
> Hi Marcel,<br>
><br>
> I actually do this.<br>
><br>
> What I did is:<br>
><br>
> 1. Make a recursive copy of a xctoolchain.<br>
> 2. Replace all the parts in that new toolchain with symlinks to the built<br>
> versions<br>
> 3. Edit the Info.plist to give the toolchain a unique name<br>
><br>
> It’s a hack, but currently it is otherwise quite problematic to build your<br>
> own toolchain. There is a ticket open to make the build-script capable of<br>
> 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<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</font></span></blockquote></div><br></div>