`Calendar` API crashes Swift Playground

Viewed 195

Simple Playground:

import Foundation

// let c1 = Calendar.shared
let c2 = Calendar(identifier: .gregorian)

I've toggled between the two, and both give the same error when running the playground:

error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=EXC_I386_GPFLT).

I am running Xcode 9 beta 2

1 Answers

It's working in Xcode 9.0 GM.

Like Hamish said, beta software is buggy. :)

Related