[swift-users] Debugging XCTests on Linux

Ankit Agarwal ankit at ankit.im
Fri Jan 6 05:14:53 CST 2017


Thats weird, you should be able to import Foundation from the toolchain

On Fri, Jan 6, 2017 at 4:28 PM, Robert Atkins <
ratkins+swift-users at fastmail.fm> wrote:

> On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote:
>
> Might be, please file a JIRA with a minimal test case!
>
>
> 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 https://swift.org/download/#using-downloads) 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).
>
> Is there another environment variable I can use to set swift's framework
> search path?
>
> Cheers, Robert.
>



-- 
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170106/c3c78c24/attachment.html>


More information about the swift-users mailing list