Fix ios simulator failure

pull/19410/head
Muxi Yan 6 years ago
parent 7eb8bac696
commit 07728ed01c
  1. 8
      src/objective-c/tests/run_one_test.sh

@ -45,12 +45,12 @@ set -o pipefail
XCODEBUILD_FILTER='(^CompileC |^Ld |^ *[^ ]*clang |^ *cd |^ *export |^Libtool |^ *[^ ]*libtool |^CpHeader |^ *builtin-copy )' XCODEBUILD_FILTER='(^CompileC |^Ld |^ *[^ ]*clang |^ *cd |^ *export |^Libtool |^ *[^ ]*libtool |^CpHeader |^ *builtin-copy )'
if [ $PLATFORM == ios ]; then if [ -z $PLATFORM ]; then
DESTINATION="name='iPhone 8'" DESTINATION='name=iPhone 8'
elif [ $PLATFORM == ios ]; then
DESTINATION='name=iPhone 8'
elif [ $PLATFORM == macos ]; then elif [ $PLATFORM == macos ]; then
DESTINATION='platform=macOS' DESTINATION='platform=macOS'
else
DESTINATION="name='iPhone 8'"
fi fi
xcodebuild \ xcodebuild \

Loading…
Cancel
Save