mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
332be0f0c8
Summary: Currently, we ask users to reinstall the pods using the `PRODUCTION` flag when they want to either profile their app or prepare a release. This way of working with the Release mode is not standard. One of the reason why we introduced it was to provide a different binary for Hermes and reinstalling the pods was the quickest way. With this change, we are deferring the decision on when Hermes should be installed for apps to the moment where the app is actually build by the system. These changes are not applied to Nightlies, when a specific tarball is passed to the cocoapods using the `HERMES_ENGINE_TARBALL_PATH` env var, and when hermes is built from source as in these scenarios we are usually not interested in building for Release. The system is also smart enough not to redownload the tarball if the configuration does not change. It assumes that the default configuration when the pods are installed for the first time is Debug. ## Changelog: [IOS] [CHANGED] - Download the right `hermes-engine` configuration at build time. Pull Request resolved: https://github.com/facebook/react-native/pull/37850 Test Plan: - CircleCI green for the Release template jobs - Tested locally modifying the `hermes-utils` to force specific versions. - Tested locally with RNTestProject Reviewed By: dmytrorykun Differential Revision: D46687390 Pulled By: cipolleschi fbshipit-source-id: 375406e0ab351a5d1f5d5146e724f5ed0cd77949
148 lines
3.5 KiB
Plaintext
148 lines
3.5 KiB
Plaintext
# Xcode
|
|
!**/*.xcodeproj
|
|
!**/*.pbxproj
|
|
!**/*.xcworkspacedata
|
|
!**/*.xcsettings
|
|
!**/*.xcscheme
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
project.xcworkspace
|
|
**/.xcode.env.local
|
|
/poackages/react-native/sdks/downloads/
|
|
|
|
# Gradle
|
|
/build/
|
|
/packages/react-native-gradle-plugin/build/
|
|
/packages/rn-tester/build
|
|
/packages/rn-tester/android/app/.cxx/
|
|
/packages/rn-tester/android/app/build/
|
|
/packages/rn-tester/android/app/gradle/
|
|
/packages/rn-tester/android/app/gradlew
|
|
/packages/rn-tester/android/app/gradlew.bat
|
|
/packages/react-native/ReactAndroid/build/
|
|
/packages/react-native/ReactAndroid/.cxx/
|
|
/packages/react-native/ReactAndroid/gradle/
|
|
/packages/react-native/ReactAndroid/gradlew
|
|
/packages/react-native/ReactAndroid/gradlew.bat
|
|
/packages/react-native/ReactAndroid/external-artifacts/build/
|
|
/packages/react-native/ReactAndroid/external-artifacts/artifacts/
|
|
/packages/react-native/ReactAndroid/hermes-engine/build/
|
|
/packages/react-native/ReactAndroid/hermes-engine/.cxx/
|
|
/packages/react-native/template/android/app/build/
|
|
/packages/react-native/template/android/build/
|
|
|
|
# Buck
|
|
.buckd
|
|
buck-out
|
|
/.lsp.buckd
|
|
/.lsp-buck-out
|
|
/packages/react-native/ReactAndroid/src/main/jni/prebuilt/lib/
|
|
/packages/react-native/ReactAndroid/src/main/gen
|
|
|
|
# Android Studio
|
|
.project
|
|
.settings
|
|
.classpath
|
|
|
|
# Watchman
|
|
.watchmanconfig
|
|
|
|
# Android
|
|
.idea
|
|
.gradle
|
|
local.properties
|
|
*.iml
|
|
/packages/react-native/android/*
|
|
!/packages/react-native/android/README.md
|
|
|
|
# Node
|
|
node_modules
|
|
*.log
|
|
.nvm
|
|
package-lock.json
|
|
|
|
# OS X
|
|
.DS_Store
|
|
|
|
# Test generated files
|
|
/packages/react-native/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
|
|
*.js.meta
|
|
|
|
/coverage
|
|
/third-party
|
|
|
|
# Test Reports
|
|
/reports
|
|
|
|
# Stack Dumps generated when programs crash (Ex. bash.exe.stackdump on Win)
|
|
*.stackdump
|
|
|
|
# Root dir shouldn't have Xcode project
|
|
/*.xcodeproj
|
|
|
|
# ReactCommon subdir shouldn't have Xcode project
|
|
/packages/react-native/ReactCommon/**/*.xcodeproj
|
|
|
|
# Libs that shouldn't have Xcode project
|
|
/packages/react-native/Libraries/FBLazyVector/**/*.xcodeproj
|
|
/packages/react-native/Libraries/RCTRequired/**/*.xcodeproj
|
|
/packages/react-native/React/CoreModules/**/*.xcodeproj
|
|
/packages/react-native/React/FBReactNativeSpec/**/*.xcodeproj
|
|
/packages/react-native-codegen/**/*.xcodeproj
|
|
|
|
# Ruby Gems (Bundler)
|
|
/packages/react-native/vendor
|
|
/packages/react-native/template/vendor
|
|
.ruby-version
|
|
/**/.ruby-version
|
|
|
|
# iOS / CocoaPods
|
|
/packages/react-native/template/ios/build/
|
|
/packages/react-native/template/ios/Pods/
|
|
/packages/react-native/template/ios/Podfile.lock
|
|
/packages/rn-tester/Gemfile.lock
|
|
|
|
# Ignore RNTester specific Pods, but keep the __offline_mirrors__ here.
|
|
/packages/rn-tester/Pods/*
|
|
!/packages/rn-tester/Pods/__offline_mirrors_hermes__
|
|
!/packages/rn-tester/Pods/__offline_mirrors_jsc__
|
|
|
|
# @react-native/codegen
|
|
/packages/react-native/React/FBReactNativeSpec/FBReactNativeSpec
|
|
/packages/react-native-codegen/lib
|
|
/packages/react-native-codegen/tmp/
|
|
/packages/react-native/ReactCommon/react/renderer/components/rncore/
|
|
/packages/rn-tester/NativeModuleExample/ScreenshotManagerSpec*
|
|
/**/RCTThirdPartyFabricComponentsProvider.*
|
|
|
|
# @react-native/codegen-typescript-test
|
|
/packages/react-native-codegen-typescript-test/lib
|
|
|
|
# Additional SDKs
|
|
/packages/react-native/sdks/download
|
|
/packages/react-native/sdks/hermes
|
|
/packages/react-native/sdks/hermesc
|
|
|
|
# Visual studio
|
|
.vscode
|
|
.vs
|
|
|
|
# Android memory profiler files
|
|
*.hprof
|
|
|
|
# Temporary files created by Metro to check the health of the file watcher
|
|
.metro-health-check*
|