RealityKit fails with EXC_BAD_ACCESS at CMClockGetAnchorTime in the simulator

Starting with iOS 18.0 beta 1, I've noticed that RealityKit frequently crashes in the simulator when an app launches and presents an ARView.

I was able to create a small sample app with repro steps that demonstrates the issue, and I've submitted feedback: FB16144085

I've included a crash log with the feedback.

If possible, I'd appreciate it if an Apple engineer could investigate and suggest a workaround. It's awkward to be restricted to the iOS 17 simulator, which does not exhibit this behavior.

Please let me know if there's anything I can do to help.

Thank you.

Hi, any updates on this issue? I'm concerned that when Xcode 17 is released, the new iOS 19 simulator won't support RealityKit reliably either, and supporting iOS 17 just so the simulator is useful for development will become problematic.

Thank you.

RealityKit fails with EXC_BAD_ACCESS at CMClockGetAnchorTime in the simulator
 
 
Q