mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5fdb558104
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
32 lines
830 B
Bash
32 lines
830 B
Bash
# These should match the recommended versions listed in
|
|
# https://reactnative.dev/docs/environment-setup
|
|
|
|
|
|
## ANDROID ##
|
|
# Android SDK Build Tools revision
|
|
export ANDROID_SDK_BUILD_TOOLS_REVISION=29.0.3
|
|
# Android API Level we build with
|
|
export ANDROID_SDK_BUILD_API_LEVEL="28"
|
|
# Google APIs for Android level
|
|
export ANDROID_GOOGLE_API_LEVEL="23"
|
|
# Minimum Android API Level we target
|
|
export ANDROID_SDK_TARGET_API_LEVEL="19"
|
|
# Android Virtual Device name
|
|
export AVD_NAME="testAVD"
|
|
# ABI to use in Android Virtual Device
|
|
export AVD_ABI=x86
|
|
|
|
## IOS ##
|
|
export IOS_TARGET_OS="13.6"
|
|
export IOS_DEVICE="iPhone 8"
|
|
export TVOS_DEVICE="Apple TV"
|
|
export SDK_IOS="iphonesimulator"
|
|
|
|
## CI OVERRIDES ##
|
|
# Values to override when running in CI
|
|
# $CI is set by Circle CI
|
|
if [ $CI ]; then
|
|
# Use ARM on Circle CI
|
|
export AVD_ABI=armeabi-v7a
|
|
fi
|