Skip to content

Fix hermes rolling tag mismatch on SPM - #57931

Open
ospfranco wants to merge 1 commit into
react:mainfrom
ospfranco:ospfranco/fix-pinned-hermes-with-SPM
Open

Fix hermes rolling tag mismatch on SPM#57931
ospfranco wants to merge 1 commit into
react:mainfrom
ospfranco:ospfranco/fix-pinned-hermes-with-SPM

Conversation

@ospfranco

Copy link
Copy Markdown
Contributor

Summary:

The SPM script uses a v1 tag for Hermes. But this tag is a rolling tag, if a new version of hermes is published, then the app compilation fails. This PR aims to implement the same mechanism as Cocoapods where the expected NPM version is first read and then tell SPM to download that specific version.

Changelog:

[IOS] [FIXED] - Fixes SPM downloading hermes V1 rolling tag

Test Plan:

Tests have been adjusted. Disclosure: Mostly AI PR, again I guided it through the necessary changes, but it copied the cocoapods logic on it's own.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2026
@ospfranco ospfranco changed the title Fix hermes rolling tag mismatch Fix hermes rolling tag mismatch on SPM Aug 12, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant