generated from King-of-Spades/AppCenter-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-submit.sh
31 lines (27 loc) · 782 Bytes
/
app-submit.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Add a new App and define a New test run at
# https://appcenter.ms/
#
# supply app_name and devices_slug from the new test run below
#
# run with sh app-submit.sh
app_name="**APPNAME**"
devices_slug="**DEVICES**"
test_series="master"
locale="en_US"
echo "app_name="${app_name}
echo "devices_slug="${devices_slug}
echo "test_series="${test_series}
echo "locale="${locale}
rm -rf DerivedData
xcrun xcodebuild build-for-testing \
-configuration Debug \
-workspace Buttons.xcodeproj/project.xcworkspace \
-sdk iphoneos \
-scheme Buttons \
-derivedDataPath DerivedData
appcenter test run xcuitest \
--app "${app_name}" \
--devices "${devices_slug}" \
--test-series "${test_series}" \
--locale "${locale}" \
--build-dir DerivedData/Build/Products/Debug-iphoneos/