generated from King-of-Spades/AppCenter-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ios.sh
18 lines (14 loc) · 808 Bytes
/
ios.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Setup & usage
# Step 0 Build the UITest project & generate an IPA using the "Debug" configuration (or use the provided IPA)
# Step 1 Generate an AppCenter upload command and paste it to the variable
AppCenter_Test_Command='paste upload command here'
# Step 2 Provide the (absolute or relative) path to the IPA
app_path='precompiledApps/UITestDemo.ipa'
# Step 3 Provide the (absolute or relative) path to the UITest project bin folder
build_dir='UITestDemo.UITest/bin/Debug'
# Step 4 run using the command "sh ios.sh"
# Script injects app_path & build_dir and executes resulting command
AppCenter_Test_Command=${AppCenter_Test_Command/'pathToFile.ipa'/$app_path}
AppCenter_Test_Command=${AppCenter_Test_Command/'pathToUITestBuildDir'/$build_dir}
echo $AppCenter_Test_Command
eval $AppCenter_Test_Command