-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Fix CocoaPods integration without DevSupport subspec #19265
Fix CocoaPods integration without DevSupport subspec #19265
Conversation
I think this should also be backported to |
0.55 has been out for a while, this can probably wait for 0.56, but best to discuss over in https://github.com/react-native-community/react-native-releases |
b397bcf
to
4e70d62
Compare
What should I do for the test failures? Those are apparently unrelated to the changes in this PR. |
Could you please review this, maintainers? |
This is the thing which is handled in https://github.com/orta/cocoapods-fix-react-native today.
4e70d62
to
ed6b8ff
Compare
@orta, can you take a look at this PR? |
Yep, this PR does what I'd expect it to - moving some of the headers and imports to be hidden behind compiler flags that are only set when the dev web socket is included 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Also, want to emphasize that you can always ping me on any of these kind of issues 👍 |
Thanks @orta! |
Summary: This is the thing which is handled in https://github.com/orta/cocoapods-fix-react-native today. https://github.com/orta/cocoapods-fix-react-native/blob/89a78ad34950b5d6b3de657914c8ced8bf37ee8e/lib/cocoapods-fix-react-native/versions/0_55_3-post.rb#L140-L164 This should be the correct fix for facebook#17799. <!-- Required: Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos! --> Integrating React Native into an existing iOS project using CocoaPods without `DevSupport` subspec and seeing if the project successfully compiles. <!-- Required. Help reviewers and the release process by writing your own release notes. See below for an example. --> [IOS] [BUGFIX] [DevSupport] - Fix CocoaPods integration without DevSupport subspec Closes facebook#19265 Differential Revision: D8149786 Pulled By: hramos fbshipit-source-id: c665e463b76aacdfb2022e82e36eb381d2d9ff2b
This is the thing which is handled in https://github.com/orta/cocoapods-fix-react-native today.
https://github.com/orta/cocoapods-fix-react-native/blob/89a78ad34950b5d6b3de657914c8ced8bf37ee8e/lib/cocoapods-fix-react-native/versions/0_55_3-post.rb#L140-L164
This should be the correct fix for #17799.
Test Plan
Integrating React Native into an existing iOS project using CocoaPods without
DevSupport
subspec and seeing if the project successfully compiles.Release Notes
[IOS] [BUGFIX] [DevSupport] - Fix CocoaPods integration without DevSupport subspec