[swift-corelibs-dev] Swift compiler errors in clean build.

Henry Betts henry.betts at btconnect.com
Tue Sep 6 09:25:24 CDT 2016


Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from https://swift.org/download/#snapshots <https://swift.org/download/#snapshots> and then enable it in Xcode (Preferences -> Components -> Toolchains) in order to build the most recent versions of foundation.

Henry

> On 6 Sep 2016, at 14:04, Dan Tugendraich via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
> 
> 
> I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors? 
> 
> "/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
> and 
> "/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"
> 
> There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?
> 
> Thank you.
> 
> Dan Tugendraich
> 
> <ustwo_dad_navy.png> <http://www.ustwo.com/>
> 
> 
> Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
> +46 (0) 40 330 480 <http://www.ustwo.com/>
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160906/9693a337/attachment.html>


More information about the swift-corelibs-dev mailing list