Skip to content

Commit 97ac01c

Browse files
committed
build objc sample in test script
1 parent 4ef9813 commit 97ac01c

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

test.sh

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
#!/usr/bin/env bash
22

3-
set -o pipefail && xcodebuild \
3+
EXIT_STATUS=0
4+
5+
(xcodebuild \
46
-workspace FirebaseUI.xcworkspace \
57
-scheme FirebaseUI \
68
-sdk iphonesimulator \
79
-destination 'platform=iOS Simulator,name=iPhone 7' \
810
build \
911
test \
1012
ONLY_ACTIVE_ARCH=YES \
11-
CODE_SIGNING_REQUIRED=NO\
12-
| xcpretty
13+
CODE_SIGNING_REQUIRED=NO \
14+
| xcpretty) || EXIT_STATUS=$?
15+
16+
cd samples/objc;
17+
pod install;
18+
19+
(xcodebuild \
20+
-workspace FirebaseUI-demo-objc.xcworkspace \
21+
-scheme FirebaseUI-demo-objc \
22+
-sdk iphonesimulator \
23+
-destination 'platform=iOS Simulator,name=iPhone 7' \
24+
build \
25+
ONLY_ACTIVE_ARCH=YES \
26+
CODE_SIGNING_REQUIRED=NO \
27+
| xcpretty) || EXIT_STATUS=$?
28+
29+
exit $EXIT_STATUS

0 commit comments

Comments
 (0)