Hi
I was looking at Data.swift and noticed that 2 of the init methods
were different in corelibs-foundation v swift stdlib
https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/Data.swift
has
public init?(capacity: Int)
public init?(count: Int)
ift-corelibs-foundation API to match the
> overlay over the next few weeks.
>
> - Tony
>
>> On Aug 2, 2016, at 9:27 AM, Simon Evans via swift-corelibs-dev
>> <swift-corelibs-dev@swift.org> wrote:
>>
>> Hi
>>
>> I was looking at Data.swift and
Looks like timezone files are in the ‘tzdata’ package. Maybe it got uninstalled
or was never installed as part of the base. An ‘apt-get install tzdata’ might
fix it.
Simon
> On 6 Jul 2017, at 20:20, Youming Lin via swift-corelibs-dev
> wrote:
>
> That's odd.
Ian
I also saw this error, I think its because the TZDIR is different in the
headers shipped with Xcode 9. Maybe the location of the timezone directory was
moved between Sierra and High Sierra. What version of macOS are you testing on?
If it has indeed moved between 10.12 and 10.13 it may
The issue looks to be the TZDIR (Time zoneinfo directory) has changed between
10.12 and 10.13
On 10.12 (Sierra), /usr/include/tzfile.h defines:
$ grep TZDIR /usr/include/tzfile.h
#ifndef TZDIR
#define TZDIR "/usr/share/zoneinfo" /* Time zone object file directory */
#endif /* !defined TZDIR
Yes I was also seeing this issue, the Xcode project needs the swift-version 3
set and some files were moved around during a URLSession change
See if these 2 PRs fix it for you, they worked for me
https://github.com/apple/swift-corelibs-foundation/pull/1017