mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
538446e755
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/30250 Upgrade the version of Xcode used in Circle CI to Xcode 12.1.0, and target iOS 14.1 in tests. Reference: * Circle CI Xcode 12.1 container manifest (new version): https://circle-macos-docs.s3.amazonaws.com/image-manifest/v3985/index.html * Circle CI Xcode 11.6.0 container manifest (previous version): https://circle-macos-docs.s3.amazonaws.com/image-manifest/v3299/index.html > Source: https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions The default version of CocoaPods used in the Xcode 12.1 container image has changed. Use `bundle exec` with `pod install` to ensure we use the same version of CocoaPods as prescribed in the Gemfile. Changelog: [iOS][Changed] - Update iOS project template for Xcode 12.1.0 [iOS][Changed] - Bump CocoaPods 1.10.0 [Internal] Bump Xcode version used for iOS tests. Reviewed By: fkgozali Differential Revision: D24545010 fbshipit-source-id: 4a39781352bc5a85dae55ed5cd4e1ed6043a4aeb
31 lines
800 B
Bash
31 lines
800 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="21"
|
|
# Android Virtual Device name
|
|
export AVD_NAME="testAVD"
|
|
# ABI to use in Android Virtual Device
|
|
export AVD_ABI=x86
|
|
|
|
## IOS ##
|
|
export IOS_TARGET_OS="14.1"
|
|
export IOS_DEVICE="iPhone 8"
|
|
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
|