Last active
June 14, 2017 17:25
-
-
Save ahcode0919/bc54a948a6536ef726f8f26d5bd8e1d7 to your computer and use it in GitHub Desktop.
Get current iOS Simulator version from command line
This file contains 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
read SIMVERSION <<< $(xcrun simctl list | awk '/^iOS[[:space:]][0-9\.]+/ { print $2 }') | |
#echo $SIMVERSION | |
#Output: 10.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment