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

Henry Betts henry.betts at btconnect.com
Wed Sep 7 05:12:18 CDT 2016


Dan,

You need the latest development snapshot - these are usually updated everyday. The preview 6 snapshot that you are using is a few weeks old.

Henry

> On 7 Sep 2016, at 07:53, Dan Tugendraich <tugendraich at ustwo.com <mailto:tugendraich at ustwo.com>> wrote:
> 
> Hi Henry,
> 
> I’m using, Xcode 8 beta 6 and swift 3.0 preview 6 snapshot. Those are the latest ones on swift.org <http://swift.org/> that I can find.
> 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/>
>> 6 sep. 2016 kl. 16:25 skrev Henry Betts <henry.betts at btconnect.com <mailto:henry.betts at btconnect.com>>:
>> 
>> 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 <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/20160907/fbd62d1f/attachment.html>


More information about the swift-corelibs-dev mailing list