Skip to content

Store prebuilt versions of our custom iOS React Native artifacts #86437

Description

@mateuuszzzzz

Background

Build times for standalone NewDot and HybridApp significantly impact developer productivity and CI efficiency. Faster builds enable quicker iterations and shorten the feedback loop when testing changes. Despite previous optimizations, build times remain high, affecting both local development and CI runs.

Problem

When engineers push new changes, long build times delay feedback, which slows down development and reduces overall efficiency.

Solution

We will introduce a system for storing and reusing build artifacts for our patched React Native versions instead of rebuilding React Native from source every time.

For Android, this approach is already in place and working.
For iOS, this capability is not yet implemented.

Artifacts will be regenerated only when patches on main or the React Native version change, which happens infrequently. The solution includes:

  • Adding a mechanism to store and retrieve prebuilt artifacts, for example through a Maven repository (Meta also stores iOS artifacts on Maven)
  • Automating version tracking to detect changes in patches and trigger artifact regeneration

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions