Just found a workaround for this nasty bug while waiting for it to be fixed.
I can't believe a bug that big got out in an XCode release...
https://www.reddit.com/r/iOSProgramming/comments/qr5bwb/comment/hl4ab0f/?utm_source=share&utm_medium=web2x&context=3