Skip to content

[CI] Improve CocoaPods installation step in buildIOS workflow and remove duplication with Rock #99331

Closed

Description

@MelvinBot

Updated 2026-08-24: Corrected based on feedback from mateuuszzzzz.

Problem

The CocoaPods installation step in the iOS build workflow (.github/workflows/buildIOS.yml:147-153) is outdated and has a few issues:

  • Missing GitHub token context — the step doesn't have the GitHub token available, so it can't install pods properly.
  • Duplication with Rock — pods are also installed by Rock, so this step duplicates that work.
  • Caching doesn't account for the iOS artifacts feature — Rock doesn't have any Pods caching of its own. What we have is our custom step caching, which doesn't take the new iOS artifacts feature (prebuilt iOS React Native artifacts) into consideration. The same applies to the dSYMs switch.

Proposed follow-up

Improve the current pods installation and disable the equivalent step in Rock to remove the duplication, so there's a single pods installation path whose caching accounts for the iOS artifacts feature.

Context

Split out from a discussion on #98853 — see the review thread: #98853 (comment)

Possibly related: #86437 (prebuilt iOS React Native artifacts).

Activity

  1. mateuuszzzzz commented on Aug 24, 2026

    @mateuuszzzzz
    Contributor

    @MelvinBot

    No advanced caching — this step installs pods correctly but lacks the advanced caching logic that Rock has.

    Rock doesn’t have any Pods caching. It’s just our custom step caching that doesn’t take the new iOS artifacts feature into consideration. The same applies to the dSYMs switch. Fix that description

  2. MelvinBot commented on Aug 24, 2026

    @MelvinBot
    ContributorAuthor

    Fixed the description. Updated the third bullet to reflect that Rock doesn't have any Pods caching — what we have is our custom step caching, which doesn't take the new iOS artifacts feature into consideration, and the same applies to the dSYMs switch. Also tweaked the proposed follow-up to match.


    view run

  3. melvin-bot commented on Nov 9, 2026

    @melvin-bot

    @MelvinBot, this Monthly task hasn't been acted upon in 6 weeks; closing.

    If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions