I have a custom UIStoryboardSegue that crossfades between my view controllers. For some reason, using the iPhone 5 or iPhone 5s simulator creates a nil error on this line:
let window = UIApplication.shared.keyWindow!
fatal error: unexpectedly found nil while unwrapping an Optional value