I use Xcode 11 test plans new feature to generate my localized screenshots for the app store. As explained during the WWDC19 you can use test plan configurations to play your UI tests generating screenshots in several languages.
Unfortunately it seems that it only specifies the languages and regions for the app, and not simulator-based.
For instance, when you use this configuration:
The problem appears especially on iPad when the status bar displays the date:
So if someone knows how to force the simulator to update its language for each configuration, I would be grateful.
PS: I used to work with fastlane/snapshot
but test plans are much more efficient (5 minutes generation instead of more than 40 with fastlane
) so I'd rather not go back to fastlane
if I can do otherwise.
It seems that it's as simple as adding this to the setup:
But FWIW, I created AspirinShot because this screenshot creation process was too annoying.