<div dir="ltr">Thats weird, you should be able to import Foundation from the toolchain</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 4:28 PM, Robert Atkins <span dir="ltr"><<a href="mailto:ratkins+swift-users@fastmail.fm" target="_blank">ratkins+swift-users@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><span class=""><div style="font-family:Arial">On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote:<br></div>
<blockquote type="cite"><div dir="ltr">Might be, please file a JIRA with a minimal test case!<br></div>
</blockquote><div style="font-family:Arial"><br></div>
</span><div style="font-family:Arial">As a first step I'm attempting to see if I get the same behaviour with the latest Swift snapshot release but I'm having difficulty there too. Simply downloading and un-tarring the Jan 4th snapshot and adding it to my path (as described in <a href="https://swift.org/download/#using-downloads" target="_blank">https://swift.org/download/#<wbr>using-downloads</a>) gets me a running swift 3.1-dev REPL but I can't import Foundation because it doesn't know where to find its libs. I can't add them to the library search paths with -F/-I/-L via the command line and invoke spm at the same time to build Result either (see upthread).<br></div>
<div style="font-family:Arial"><br></div>
<div style="font-family:Arial">Is there another environment variable I can use to set swift's framework search path?<br></div>
<div style="font-family:Arial"><br></div>
<div style="font-family:Arial">Cheers, Robert.</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ankit<br><br></div>
</div>