Crash static Date.<=infix on iOS 27.2 beta

I have a device with iOS 27.2 beta, and I am getting crashes when I do comparison between two Date objects in swift.

This doesn't happen on other devices : iOS 27.2 release, and other iOS versions, only on the device with beta version

Answered by DTS Engineer in 915640022
Written by ostafi1010 in 856370021

I have a device with iOS 27.2 beta …

Given that iOS 27.2 has been released, why not update the affected device to that version? This is a useful diagnostic for two reasons:

  • If the problem goes away, you can be reasonably confident that it was an issue with the beta.
  • If it doesn’t, you’ve ruled out the beta and can continue to investigate the underlying cause.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I had to switch ot NSComparisonResult and compare from ObjectiveC to pass the crash. This happens anywhere in code I do Date comparisons

Written by ostafi1010 in 856370021

I have a device with iOS 27.2 beta …

Given that iOS 27.2 has been released, why not update the affected device to that version? This is a useful diagnostic for two reasons:

  • If the problem goes away, you can be reasonably confident that it was an issue with the beta.
  • If it doesn’t, you’ve ruled out the beta and can continue to investigate the underlying cause.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Will do , for sure. Wasn't there other reports like this? If not, then probably this is some unique case

Thanks

-- Ion

Written by ostafi1010 in 915651022

Wasn't there other reports like this?

It’s not something I remember seeing during the beta cycle, and beyond that it’s hard to tell without seeing a full crash report. While writing my previous reply I originally included a request for that, but then I reconsidered. IMO it only make sense to dig into this if it reproduces on a non-beta OS.

OTOH, if that does happen, so the second bullet in my previous reply, I would love to see a crash report. See Posting a Crash Report for advice on how to post one.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"