Skip to content

Prebuilt iOS Artifacts #87123

Closed as duplicate
Closed as duplicate

Description

@roryabraham

Problem

When we build our React Native project, if we have custom patches of React Native iOS code, then we must build React Native iOS from source on every full native build, which takes ~10-15 minutes, lengthening our feedback loop and slowing our development velocity.

Solution

Set up prebuilt React Native artifacts on iOS, just as we have on Android.

Issue OwnerCurrent Issue Owner: @mateuuszzzzz

Activity

  1. roryabraham commented on Apr 4, 2026

    @roryabraham
    ContributorAuthor

    Chatted with @mateuuszzzzz about this 1:1. let's gooooooo

  2. roryabraham commented on Apr 6, 2026

    @roryabraham
    ContributorAuthor

    whoops, this is a dupe

  3. mateuuszzzzz commented on Apr 8, 2026

    @mateuuszzzzz
    Contributor

    Small update:

    I’ve been working on two areas:

    1. Build workflow
      This is similar to the existing Android workflow. It’s about 99% ready just needs some cleanup. It is strongly inspired by the upstream workflow, which publishes iOS artifacts to a Maven repository. We could take advantage of this and reuse our existing GitHub Packages Maven repository.

    2. Podfile scripts for custom artifacts
      This is the next step. I looked into how React Native handles this, and it’s easy to apply our modifications there because Ruby classes are open, which lets us override methods to fit our needs.

    One issue I ran into: when prebuilt artifacts are enabled, Xcode’s HMAP leaks Boost’s list header globally. This creates conflicts with another library that also includes own list header file. I’m currently looking for an elegant solution that requires minimal changes to the Xcode project and Podfile setup.

    It’s a bit surprising, because when we build from source, this kind of leak doesn’t occur, which suggests that CocoaPods handles prebuilt binaries differently.

  4. mateuuszzzzz commented on Apr 8, 2026

    @mateuuszzzzz
    Contributor

    I’ll share all my findings on HMAP conflicts here once I’ve gathered a set of suitable solutions

  5. mateuuszzzzz commented on Apr 8, 2026

    @mateuuszzzzz
    Contributor

    Ah, now I noticed this one was closed, I'll paste my updates to another issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ImprovementItem broken or needs improvement.WeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions