Use Xcode 11.6.0 and CocoaPods 1.9.3 (#28837)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/28837

CocoaPods 1.9.3 is the version that is distributed by Circle CI to macOS machines alongside Xcode 11.6.0.

The upgrade to CocoaPods and Xcode is therefore tightly coupled due to our dependency on Circle for our open source CI.

With the upgrade to Xcode 11.6.0, we also bump our target OS to ensure iOS tests use an iOS Simulator that is part of the image.

Reference:
* Circle CI macOS Xcode 11.6.0 image manifest (new version): https://circle-macos-docs.s3.amazonaws.com/image-manifest/v3299/index.html
* Circle CI macOS Xcode 11.3.1 image manifest (previous version): https://circle-macos-docs.s3.amazonaws.com/image-manifest/v2244/index.html

> Source: https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions

Changelog:
[Internal] Bump Xcode version used for iOS tests.

Reviewed By: fkgozali

Differential Revision: D21415049

fbshipit-source-id: 7a5532e69cfef25999a5b31a09d844f48be9827c
This commit is contained in:
Héctor Ramos 2020-09-02 14:25:06 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 7465239230
Коммит 5fdb558104
9 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -50,7 +50,7 @@ executors:
reactnativeios:
<<: *defaults
macos:
xcode: &_XCODE_VERSION "11.3.1"
xcode: &_XCODE_VERSION "11.6.0"
# -------------------------
# COMMANDS

Просмотреть файл

@ -1,4 +1,4 @@
# Gemfile
source 'https://rubygems.org'
gem 'cocoapods', '= 1.8.4'
gem 'cocoapods', '= 1.9.3'

Просмотреть файл

@ -50,7 +50,7 @@ def frameworks_pre_install(installer)
installer.pod_targets.each do |pod|
if static_frameworks.include?(pod.name)
def pod.build_type
Pod::Target::BuildType.static_library
Pod::BuildType.static_library
end
end
end

Просмотреть файл

@ -528,6 +528,6 @@ SPEC CHECKSUMS:
Yoga: f7fa200d8c49f97b54c9421079e781fb900b5cae
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
PODFILE CHECKSUM: 3045d3456f0f2268f15db9a527839e6a19e6071c
PODFILE CHECKSUM: c38c19657f5aaa2d604f5f4c607f030b60452997
COCOAPODS: 1.8.4
COCOAPODS: 1.9.3

Просмотреть файл

@ -164,7 +164,7 @@
E7DB215F22B2F3EC005AC45F /* RCTUIManagerScenarioTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTUIManagerScenarioTests.m; sourceTree = "<group>"; };
E7DB216022B2F3EC005AC45F /* RNTesterSnapshotTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNTesterSnapshotTests.m; sourceTree = "<group>"; };
E7DB216122B2F3EC005AC45F /* RCTRootViewIntegrationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTRootViewIntegrationTests.m; sourceTree = "<group>"; };
E7DB218B22B41FCD005AC45F /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
E7DB218B22B41FCD005AC45F /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = XCTest.framework; sourceTree = DEVELOPER_DIR; };
E9618482EC8608D4872A6E28 /* Pods-RNTesterUnitTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNTesterUnitTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNTesterUnitTests/Pods-RNTesterUnitTests.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -454,7 +454,7 @@
83CBB9F71A601CBA00E9B192 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1140;
LastUpgradeCheck = 1160;
ORGANIZATIONNAME = Facebook;
TargetAttributes = {
E7DB209E22B2BA84005AC45F = {

Просмотреть файл

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1160"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"

Просмотреть файл

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1160"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"

Просмотреть файл

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1160"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"

Просмотреть файл

@ -17,7 +17,7 @@ export AVD_NAME="testAVD"
export AVD_ABI=x86
## IOS ##
export IOS_TARGET_OS="13.3"
export IOS_TARGET_OS="13.6"
export IOS_DEVICE="iPhone 8"
export TVOS_DEVICE="Apple TV"
export SDK_IOS="iphonesimulator"