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 */
HelloCommand-Click shows the Swift representation of Objective-C API in Xcode. I understand that Darwin overlay which defines the Foundation APIs is here: https://github.com/apple/swift/tree/master/stdlib/public/SDK/FoundationAlso, there is: https://github.com/apple/swift/blob/master/apinotes/Found
Hi guys, I want to contribute to swift-corelibs-foundation, but I met some
problems when testing my code. I got some fatalErrors ( e.g. in
test_gettingDatesOnGregorianCalendar(), TimeZone(identifier: "UTC") returns
a nil before being unwrapped). Do you have the same problems?
I'm using Xcode 9 bet