I am trying to figure out if my code is causing the problem or if I should submit a bug report to Apple.
In a new project, I have this code: