Skip to content

Commit

Permalink
update device names
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent committed Jan 8, 2014
1 parent 61c63eb commit eb07af4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui-screen-shooter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eb07af4

Please sign in to comment.