If you upgraded to Xcode 16.3, be warned: there appears to be a simulator bug that causes network access to fail regularly. It doesn't affect devices, just the simulator. You can work around it by using URLSession(configuration: .ephemeral) rather than URLSession.shared.
