Created
August 28, 2022 23:23
-
-
Save sunnyy02/a1f8435ceabb73e05656eeb78fb7710c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a simulator | |
xcrun simctl create "my first simulator" "iPhone X" com.apple.CoreSimulator.SimRuntime.iOS-14–5 | |
# boot a simulator | |
xcrun simctl boot 64B94C27-A5BB-4B2A-8E6B-C48B1AFEF298 | |
# shutdown | |
xcrun simctl shutdown 64B94C27-A5BB-4B2A-8E6B-C48B1AFEF298 | |
# show content of a plist file | |
plutil -p "[HOME]/Library/Developer/CoreSimulator/Devices/[DEVICE_NAME]/data/Library/Preferences/.GlobalPreferences.plist" | |
# Set locale to be Australia | |
plutil -replace AppleLocale -string "en_AU" "$HOME/Library/Developer/CoreSimulator/Devices/64B94C27-A5BB-4B2A-8E6B-C48B1AFEF298/data/Library/Preferences/.GlobalPreferences.plist" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment