I’m sorry but I’m having trouble understanding the exact sequence of events you’re using to reproduce the problem. The sample you linked to is an iOS app with two cases:
However, you’ve said that the problem reproduces in the simulator, which means that the simulated iOS version comes into play. Xcode 13 can run apps in both the iOS 15 and iOS 14 simulator, while Xcode 12 can only run apps in the iOS 14 simulator. And the instructions in your read me don’t clarify which simulator version you’re using, that is, whether:
-
In the Xcode 13 case, you’re building with Xcode 13 but running on the iOS 14 simulator.
-
You’re using the default simulator in each case, that is, the iOS 14 simulator from Xcode 12 and the iOS 15 simulator from Xcode 13.
To offer a more a detailed answer I need a definitive set of steps that I can try here.
Notwithstanding the above, if you’re having a problem that only shows up in the simulator then that is, by definition, a bug in the simulator and I encourage you to file it as such. If you do that, make sure to be clear about the exact steps you took, because the simulator team will need the same sort of info that I’ve been trying to get here.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"