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

Don't use the internal native_modules.rb script yet #35531

Closed
wants to merge 1 commit into from

Conversation

tido64
Copy link
Collaborator

@tido64 tido64 commented Dec 1, 2022

Summary

Revert the template Podfile to using @react-native-community/cli-platform-ios/native_modules. The new internal script currently has a hard-coded path to @react-native-community/cli-platform-ios which may not work in monorepos. The path in the Podfile is also hard-coded, but this is a file that the user has access to and can fix themselves if necessary.

Changelog

[iOS] [Fixed] - Don't use the internal native_modules.rb script yet, as it hides a hard-coded path

Test Plan

n/a

@tido64 tido64 requested a review from cortinico December 1, 2022 19:11
@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: Microsoft Partner: Microsoft Partner labels Dec 1, 2022
@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Dec 1, 2022
@cortinico
Copy link
Contributor

I'll leave to @kelset to merge this

@tido64 tido64 changed the base branch from 0.71-stable to main December 2, 2022 09:55
@tido64 tido64 removed the request for review from mhorowitz December 2, 2022 09:57
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

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

Base commit: 759056b
Branch: main

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,102,194 +0
android hermes armeabi-v7a 6,470,977 +0
android hermes x86 7,520,401 +0
android hermes x86_64 7,378,759 +0
android jsc arm64-v8a 8,969,947 +0
android jsc armeabi-v7a 7,701,347 +0
android jsc x86 9,032,663 +0
android jsc x86_64 9,510,145 +0

Base commit: 759056b
Branch: main

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

This pull request was successfully merged by @tido64 in 4df793f.

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

@github-actions github-actions bot added the Merged This PR has been merged. label Dec 2, 2022
@kelset kelset deleted the tido/fix-template-0.71 branch December 2, 2022 12:20
kelset pushed a commit that referenced this pull request Dec 13, 2022
Summary:
Revert the template `Podfile` to using `react-native-community/cli-platform-ios/native_modules`. The new internal script currently has a hard-coded path to `react-native-community/cli-platform-ios` which may not work in monorepos. The path in the `Podfile` is also hard-coded, but this is a file that the user has access to and can fix themselves if necessary.

## Changelog

[iOS] [Fixed] - Don't use the internal `native_modules.rb` script yet, as it hides a hard-coded path

Pull Request resolved: #35531

Test Plan: n/a

Reviewed By: rshest

Differential Revision: D41682119

Pulled By: cortinico

fbshipit-source-id: 1822fcd20a794dc9df6e8d6f36615e90b42c1a94
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Revert the template `Podfile` to using `react-native-community/cli-platform-ios/native_modules`. The new internal script currently has a hard-coded path to `react-native-community/cli-platform-ios` which may not work in monorepos. The path in the `Podfile` is also hard-coded, but this is a file that the user has access to and can fix themselves if necessary.

## Changelog

[iOS] [Fixed] - Don't use the internal `native_modules.rb` script yet, as it hides a hard-coded path

Pull Request resolved: facebook#35531

Test Plan: n/a

Reviewed By: rshest

Differential Revision: D41682119

Pulled By: cortinico

fbshipit-source-id: 1822fcd20a794dc9df6e8d6f36615e90b42c1a94
@cipolleschi cipolleschi mentioned this pull request Oct 11, 2023
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. p: Microsoft Partner: Microsoft Partner Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants