Skip to content

Commit

Permalink
Fix test-ios by bumping Xcode version (#27356)
Browse files Browse the repository at this point in the history
Summary:
iOS tests have been failing due to iOS 12.4 not being supported by Xcode 10.2.1. Bumping to 10.3 solves it.

Ideally, we'd bump to Xcode 11.2.1 and iOS 13.2.2. We can do this once all of our internal CI machines have Xcode 11.2.1 available.

## Changelog

[iOS] [Fixed] - Fix CI iOS tests by bumping Xcode version used in Circle CI
Pull Request resolved: #27356

Test Plan: Circle

Differential Revision: D18765501

Pulled By: hramos

fbshipit-source-id: 1a1ca78c5d8f8596476b0e56740ea1bdf7422161
  • Loading branch information
hramos authored and facebook-github-bot committed Dec 2, 2019
1 parent 60b4ba1 commit 7e6fae2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Expand Up @@ -34,7 +34,7 @@ executors:
reactnativeios:
<<: *defaults
macos:
xcode: "10.2.1"
xcode: "10.3.0"

# -------------------------
# COMMANDS
Expand Down Expand Up @@ -109,13 +109,13 @@ commands:
steps:
- restore_cache:
keys:
- v1-brew
- v2-brew
- steps: << parameters.steps >>
- save_cache:
paths:
- /usr/local/Homebrew
- ~/Library/Caches/Homebrew
key: v1-brew
key: v2-brew

with_pods_cache_span:
parameters:
Expand Down
3 changes: 1 addition & 2 deletions RNTester/RNTesterIntegrationTests/RNTesterSnapshotTests.m
Expand Up @@ -38,9 +38,8 @@ -(void)test##name \
RCT_TEST(ScrollViewExample)
RCT_TEST(TextExample)
#if !TARGET_OS_TV
// No switch or slider available on tvOS
// No switch available on tvOS
RCT_TEST(SwitchExample)
RCT_TEST(SliderExample)
#endif

- (void)testZZZNotInRecordMode
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-ci-e2e-tests.js
Expand Up @@ -212,12 +212,12 @@ try {
if (
tryExecNTimes(
() => {
let destination = 'platform=iOS Simulator,name=iPhone 6s,OS=12.2';
let destination = 'platform=iOS Simulator,name=iPhone 6s,OS=12.4';
let sdk = 'iphonesimulator';
let scheme = 'HelloWorld';

if (argv.tvos) {
destination = 'platform=tvOS Simulator,name=Apple TV,OS=11.4';
destination = 'platform=tvOS Simulator,name=Apple TV,OS=12.4';
sdk = 'appletvsimulator';
scheme = 'HelloWorld-tvOS';
}
Expand Down

0 comments on commit 7e6fae2

Please sign in to comment.