Skip to content

Fix HERMES_ENABLED check in scripts/react-native-xcode.sh#34675

Closed
nvojnovic wants to merge 1 commit into
facebook:mainfrom
nvojnovic:fix/xcode-script-hermes-detection
Closed

Fix HERMES_ENABLED check in scripts/react-native-xcode.sh#34675
nvojnovic wants to merge 1 commit into
facebook:mainfrom
nvojnovic:fix/xcode-script-hermes-detection

Conversation

@nvojnovic
Copy link
Copy Markdown
Contributor

@nvojnovic nvojnovic commented Sep 13, 2022

Summary

Checking if Hermes is enabled is failing because there is no podfile.lock file in the directory where this script is executed and USE_HERMES will be set to false which will prevent building Hermes binary jsbundle.

Changelog

[iOS] [Fixed] - HERMES_ENABLED check fixed in react-native-xcode.sh

Test Plan

  1. Enable Hermes
  2. Make a release build
  3. Verify the main.jsbundle file is Hermes binary bundle

@facebook-github-bot
Copy link
Copy Markdown
Contributor

Hi @nvojnovic!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Sep 13, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@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 Sep 13, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @nvojnovic in 8745a14.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug 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. Platform: iOS iOS applications. 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