Target Branch
0.81
Link to commit or PR to be picked
facebook/react-native#56842
Description
This adds a shared cache layer at ~/Library/Caches/ReactNative/ for prebuilt iOS tarballs (Hermes, ReactNativeDependencies, ReactNativeCore). On first download, tarballs are saved to both the local Pods artifacts dir and the shared cache. On subsequent pod install runs, if the local Pods cache is empty but the shared cache has the tarball for that version, it is copied locally instead of re-downloaded from Maven.
This avoids redundant downloads when:
- The Pods directory is deleted between installs
- Multiple projects use the same React Native version
- CI environments have a persistent home directory
Target Branch
0.81
Link to commit or PR to be picked
facebook/react-native#56842
Description
This adds a shared cache layer at
~/Library/Caches/ReactNative/for prebuilt iOS tarballs (Hermes, ReactNativeDependencies, ReactNativeCore). On first download, tarballs are saved to both the local Pods artifacts dir and the shared cache. On subsequentpod installruns, if the local Pods cache is empty but the shared cache has the tarball for that version, it is copied locally instead of re-downloaded from Maven.This avoids redundant downloads when: