Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update device names

  • Loading branch information...
commit eb07af4dd429ab2971b83c1c4b54226d52a2be12 1 parent 61c63eb
@fulldecent fulldecent authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 ui-screen-shooter.sh
View
12 ui-screen-shooter.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.