I need to lauch iOS Simulator that uses specific language using command line. So I found that I can use
instruments -w <device>
and it is working great, I can set specific device. But how can I run simulator with specific language? I've tried adding
-AppleLanguages -AppleLocale
but there are some warnings:
Instruments Usage Error : Specified target process is invalid: -AppleLanguage
thanks!
~/Library/Developer/CoreSimulator/Devices/${YOURID}/data/Library/Preferences
since Xcode 8 I believe... (Changed path from previous Xcode versions) Correct me if I am wrong, but I think you can edit the plist file right now and leave the language key for your desired and delete the others and it will work. Also I believe you can just edit it for once with classic plist editor and you are okay... – Tertullian