use actual ios sdk for reset.sh instead of hard-coding it

This commit is contained in:
Jonathan Lipps
2014-03-10 14:18:37 -07:00
parent e15ab3e680
commit bcc2649d1f
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -162,7 +162,7 @@ reset_ios() {
run_cmd cp -R submodules/udidetect/udidetect build/udidetect/
if $ios7_active ; then
echo "* Cleaning/rebuilding WebViewApp"
run_cmd $grunt buildApp:WebViewApp
run_cmd $grunt buildApp:WebViewApp:iphonesimulator$sdk_ver
run_cmd rm -rf build/WebViewApp
run_cmd mkdir build/WebViewApp
run_cmd cp -R sample-code/apps/WebViewApp/build/Release-iphonesimulator/WebViewApp.app \
@@ -189,10 +189,10 @@ reset_ios() {
run_cmd popd
fi
echo "* Cleaning/rebuilding iOS test app: UICatalog"
run_cmd $grunt buildApp:UICatalog
run_cmd $grunt buildApp:UICatalog:iphonesimulator:$sdk_ver
fi
echo "* Cleaning/rebuilding iOS test app: TestApp"
run_cmd $grunt buildApp:TestApp
run_cmd $grunt buildApp:TestApp:iphonesimulator:$sdk_ver
fi
echo "* Setting iOS config to Appium's version"
run_cmd $grunt setConfigVer:ios
+1
View File
@@ -6,3 +6,4 @@ Here's a list of things that aren't tested in this suite:
* unexpected instruments crash mid-test
* different locations of node on system (for appium-instruments)
* node install in appium.app (for appium-instruments)
* android with --udid (even if emulator)