[0.85] Cache prebuilt iOS binaries in ~/Library/Caches/ReactNative

Open
#1,301 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
ios, react-native

Research direction

Review PR #56845 first, then trace the pod install flow for the Hermes, ReactNativeDependencies, and ReactNativeCore tarballs. Confirm the shared ~/Library/Caches/ReactNative/ cache is populated on download and reused when local Pods artifacts are missing, avoiding another Maven download.

Written by the indexing model from the issue text.

Description

Type Pick Request
Target Branch

0.85

Link to commit or PR to be picked

https://github.com/facebook/react-native/pull/56845

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
Dominant language
No language data
Stars
428
Forks
11
Avg merge
13m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reactwg/react-native-releases

All issues in reactwg/react-native-releases

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.