Permalink
Browse files

update device names

  • Loading branch information...
1 parent 61c63eb commit eb07af4dd429ab2971b83c1c4b54226d52a2be12 @fulldecent fulldecent committed Jan 8, 2014
Showing with 6 additions and 6 deletions.
  1. +6 −6 ui-screen-shooter.sh
View
@@ -34,8 +34,8 @@ languages="en-US cmn-Hans"
# The iOS version we want to run the script against
ios_version="7.0"
-# The iOS devices we want to run, can include: iphone4 iphone5 ipad
-ios_devices="iphone4 iphone5 ipad"
+# The iOS devices we want to run, can include: iOS-3.5-in, iOS-4-in and/or iOS-iPad
+ios_devices="iOS-3.5-in iOS-4-in iOS-iPad"
function main {
_check_destination
@@ -49,21 +49,21 @@ function main {
# We have to build and explicitly set the device family because otherwise
# Instruments will always launch a universal app on the iPad simulator.
- if [[ "$ios_devices" == *iphone* ]]
+ if [[ "$ios_devices" == *in* ]]
then
_xcode clean build TARGETED_DEVICE_FAMILY=1
- if [[ "$ios_devices" == *iphone4* ]]
+ if [[ "$ios_devices" == *3.5-in* ]]
then
bin/choose_sim_device "iPhone Retina (3.5-inch)" $ios_version
_shoot_screens_for_all_languages
fi
- if [[ "$ios_devices" == *iphone5* ]]
+ if [[ "$ios_devices" == *4-in* ]]
then
bin/choose_sim_device "iPhone Retina (4-inch)" $ios_version
_shoot_screens_for_all_languages
fi
fi
- if [[ "$ios_devices" == *ipad* ]]
+ if [[ "$ios_devices" == *iPad* ]]
then
_xcode build TARGETED_DEVICE_FAMILY=2
bin/choose_sim_device "iPad Retina" $ios_version

0 comments on commit eb07af4

Please sign in to comment.