Workaround the iOS 16.x simulator hangs on language change issue

Recently, I updated my Xcode to version 14.1 (14B47b) and didn't notice anything disturbing until I had to test something with a simulator with the French language as default.

Obviously, there is a problem with the Intel MacBooks. So, this is what happens when I try to change the simulator's language:

Changing language to French

I waited for quite some time but nothing was happening. So obviously, it hung up.

After a bit of searching for a solution, I came to this post in the Apple forums which suggests the following solution in these steps:

1. Find the simulator's UDID and copy it:

Open the Devices and Simulators (⇧+⌘+2) window in XCode

Device and Simulators window

2. Open the simulator's config plist file

Open the terminal and enter the following command:

open ~/Library/Developer/CoreSimulator/Devices/[SIMULATOR_UDID]/data/Library/Preferences/.GlobalPreferences.plist

Open the simulator's config

3. Add your preferred language

You have to add two new properties - AppleLocale (string) and AppleLanguages (array):

The simulator's preferences plist file

4. Save and start the simulator

I hope that I saved you a few minutes wondering how to workaround this issue while it's not fixed.