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

[RN][iOS] autolinked package scripts use absolute path #46186

Closed
wants to merge 1 commit into from

Conversation

blakef
Copy link
Contributor

@blakef blakef commented Aug 23, 2024

Summary:

A previous attempt at fixing this issue used a relative path (#45208),
this doesn't work if the user runs bundle install outside of the ios/
folder, using the --project-directory=ios argument.

Changelog:

[iOS][Fixed] - support bundle install from outside the ios folder using --project-directory

Test Plan:

Ran the command in a project with @react-native-firebase/app using the
--project-directory, confirmed that it's fixed when using the absolute
path.

closes: reactwg/react-native-releases#341

Summary:

A previous attempt at fixing this issue used a relative path (facebook#45208),
this doesn't work if the user runs bundle install outside of the ios/
folder, using the --project-directory=ios argument.

Changelog:
[iOS][Fix] support bundle install from outside the ios folder using --project-directory

Test Plan:
Ran the command in a project with @react-native-firebase/app using the
--project-directory, confirmed that it's fixed when using the absolute
path.

closes: reactwg/react-native-releases#341
@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. p: Facebook Partner: Facebook Partner labels Aug 23, 2024
@react-native-bot
Copy link
Collaborator

Fails
🚫

📋 Verify Changelog Format - See Changelog format

Generated by 🚫 dangerJS against 03a9c4f

1 similar comment
@react-native-bot
Copy link
Collaborator

Fails
🚫

📋 Verify Changelog Format - See Changelog format

Generated by 🚫 dangerJS against 03a9c4f

@facebook-github-bot
Copy link
Contributor

@blakef 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 Aug 23, 2024
@facebook-github-bot
Copy link
Contributor

@blakef merged this pull request in b22970e.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @blakef in b22970e

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

cipolleschi pushed a commit that referenced this pull request Sep 11, 2024
Summary:
A previous attempt at fixing this issue used a relative path (#45208), this doesn't work if the user runs bundle install outside of the `ios/`
folder, using the `--project-directory=ios` argument.

## Changelog:
[iOS][Fixed] support bundle install from outside the ios folder using --project-directory

Pull Request resolved: #46186

Test Plan:
Ran the command in a project with `react-native-firebase/app` using the
`--project-directory`, confirmed that it's fixed when using the absolute
path.

closes: reactwg/react-native-releases#341

Reviewed By: cipolleschi

Differential Revision: D61719821

Pulled By: blakef

fbshipit-source-id: d83429dd29c9e8cc066ab9843ad95fdfc0af8dea
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. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[0.75.0-rc.2]: regression on linking iOS dependencies with script phase (e.g. RN Firebase):
3 participants