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

Use NODE_BINARY from .xcode.env when running packager from Xcode #34121

Closed

Conversation

elsurudo
Copy link
Contributor

@elsurudo elsurudo commented Jul 3, 2022

Summary

Before this change, during the "Start Packager" Xcode build step that runs the packager, packager.sh was using my system node version and not the one from nvm that is meant to be used with the project.

Changelog

[iOS] [Fixed] - Use NODE_BINARY from .xcode.env when running packager from Xcode

Test Plan

Perform a build using Xcode and confirm that the packager is using the correct version of node.

@facebook-github-bot
Copy link
Contributor

Hi @elsurudo!

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 Jul 3, 2022
@analysis-bot
Copy link

analysis-bot commented Jul 3, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,821,558 +0
android hermes armeabi-v7a 7,214,646 +0
android hermes x86 8,135,405 +0
android hermes x86_64 8,113,182 +0
android jsc arm64-v8a 9,697,835 +0
android jsc armeabi-v7a 8,452,903 +0
android jsc x86 9,648,521 +0
android jsc x86_64 10,246,427 +0

Base commit: bb46046
Branch: main

@analysis-bot
Copy link

analysis-bot commented Jul 3, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: bb46046
Branch: main

@react-native-bot react-native-bot added the No CLA Authors need to sign the CLA before a PR can be reviewed. label Jul 4, 2022
@facebook-github-bot facebook-github-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 Jul 10, 2022
@facebook-github-bot
Copy link
Contributor

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

@react-native-bot react-native-bot removed the No CLA Authors need to sign the CLA before a PR can be reviewed. label Jul 10, 2022
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jul 10, 2022
@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.

@cipolleschi
Copy link
Contributor

Hi @elsurudo, thanks for the PR. Can I ask you to rebase it on the latest commit on main?
There is a job that is red and it could be related to something that we did last week. Probably a rebase will fix it. If that the case, I'll proceed merging the PR!

Thank you so much for your patience!

@elsurudo elsurudo force-pushed the use-node-binary-from-xcode-env branch from c6fcade to 1ae909e Compare July 11, 2022 16:06
@elsurudo
Copy link
Contributor Author

@cipolleschi rebased – you're good to go :)

@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.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @elsurudo in ff785db.

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 Jul 12, 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.

5 participants