Crash API `Calendar` Swift Playground

Simple playground:

import Foundation

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

      

I switched between them and both give the same error when starting the playground:

Error: execution aborted, reason: EXC_BAD_ACCESS (Code = EXC_I386_GPFLT).

I am running Xcode 9 beta 2

+3


source to share


1 answer


Works in Xcode 9.0 GM.



As Hamish said, the beta version of the software is flawed. :)

0


source







All Articles