I’m working in the simulator and my app is GPS enabled. So naturally I get a little alert when I run the app that just says I have to have GPS enabled.
But today, randomly(and without a code change to my knowledge) the Close button on the alert just disappeared!
This is an iOS generated alert/error that fires on app launch. There is no code associated with it to post.

I’ve reset the simulator, closed/re-opened xCode, changing target iOS versions, restarted the machine, etc. I can’t figure it out! (And obviously cannot test the app since I’m stuck with this thing open)
Apparently I had changed the base URL for my service layer, and it was throwing some sort of silent exception and somehow causing this issue. The issue went away when I changed the URL back to the working one.
That said, I have NO idea how or why this actually happened.