mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34884 Xcode 14 is now stable. Updating CI to use latest Xcode command line tools. The Circle CI 14.0.1 container ships with Ruby 2.7.6 and CocoaPods 1.11.3, see full manifest here: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v8824/index.html Changelog: [iOS][Changed] Bump to Ruby 2.7.6 and CocoaPods 1.11.3 Reviewed By: mdvacca Differential Revision: D40148796 fbshipit-source-id: b1eab68e159ec3237ff2ef596163b73fc1e511e4
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
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=31.0.0
|
|
# Android API Level we build with
|
|
export ANDROID_SDK_BUILD_API_LEVEL="31"
|
|
# Google APIs for Android level
|
|
export ANDROID_GOOGLE_API_LEVEL="23"
|
|
# Minimum Android API SDK Level we target
|
|
export ANDROID_SDK_MINIMUM_API_LEVEL="21"
|
|
# Target API SDK level to build for
|
|
export ANDROID_SDK_TARGET_API_LEVEL="31"
|
|
# Android Image SDK level to install on the emulator
|
|
export ANDROID_SYSTEM_IMAGE_API_LEVEL="21"
|
|
|
|
# Android Virtual Device name
|
|
export AVD_NAME="testAVD"
|
|
# ABI to use in Android Virtual Device
|
|
export AVD_ABI=x86
|
|
# Temporarily disabling AVD related tests until newer system images can be installed.
|
|
export ANDROID_DISABLE_AVD_TESTS=1
|
|
|
|
## IOS ##
|
|
export IOS_TARGET_OS="latest"
|
|
export IOS_DEVICE="iPhone 14"
|
|
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
|