Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add tvOS support to Hermes artifacts #46865

Closed
wants to merge 1 commit into from

Conversation

douglowder
Copy link
Contributor

@douglowder douglowder commented Oct 7, 2024

Summary:

Adds tvOS to the list of Apple platforms supported by the Hermes artifacts. After this, the React Native TV builds will be able to use the same Hermes artifacts as those used by RN core.

Added some code in hermes-utils.rb so that the Hermes podspec can use a local Maven repo (/tmp/maven-local).

Note: This PR should not be merged until the corresponding Hermes PR facebook/hermes#1529 is merged. (facebook/hermes#1529 has been merged)

Changelog:

[iOS][Added] tvOS support for Hermes artifacts

Test Plan:

  • tvOS is also added to the build and test GitHub workflows.

@facebook-github-bot facebook-github-bot added 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. labels Oct 7, 2024
Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @douglowder, thanks for the PR. I believe we should drop the maven_local changes as there is nothing related to iOS there.

@douglowder douglowder requested a review from cipolleschi October 8, 2024 18:55
Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an issue in the hermes-utils file, aside from that it looks good to me.

packages/react-native/sdks/hermes-engine/hermes-utils.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @douglowder for working on this and for integrating tvOS in the Hermes pipeline. This will reduce the OSS fragmentation.

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 16, 2024
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in f673759.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @douglowder in f673759

When will my fix make it into a release? | How to file a pick request?

facebook-github-bot pushed a commit that referenced this pull request Oct 17, 2024
Summary:
After examining Hermes artifacts built after merging of #46865 , it was apparent that tvOS frameworks were missing from the Hermes universal framework generated by CI.

I went back and discovered additional steps that need to be added to the `build-hermes-macos` action to make CI work correctly.

## Changelog:

[Internal][Fixed] add required steps to build tvOS in build-hermes-macos action

Pull Request resolved: #47073

Test Plan: After merging, Hermes artifacts generated by CI should contain the missing tvOS bits.

Reviewed By: rshest

Differential Revision: D64528911

Pulled By: cipolleschi

fbshipit-source-id: 61db3e154767830a4726d7ceeec229a4af30d247
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. Merged This PR has been merged. 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.

4 participants