-
-
Notifications
You must be signed in to change notification settings - Fork 532
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 0.72.1 use_frameworks fix for pod spec #1826
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
Hi @billnbell, would you mind describing what the issue is? |
Hi @billnbell, as we didn't received any response for the past two weeks, we cannot provide any help for your issue. Thank you 👍 |
@tboba hi I've faced with ‘react/debug/react_native_expect.h' file not found issue after upgrading React Native to 0.72.3 and installing pods with USE_FRAMEWORKS=static RCT_NEW_ARCH_ENABLED=1. This patch seems to fix that issue. My react-native-screens version is 3.22.1. I can give you more info about my configs if you wish. |
Yeah it literally fixed the issues!!! :) |
That's interesting 🤔 @billnbell if you think this issue occurs also in react-native-screens, would you mind creating a pull request with this patch? Have you also tested if this change is compatible with older versions of React Native and if it impacts old architecture? |
It does impact older RN. You need to only apply
|
@billnbell After looking on it further I can say this change looks promising. However, as we discussed it with @kkafar we won't introduce that for now, as we want to keep control on the dependencies that are being injected. However, we will consider replacing those lines in the future. Thanks for suggesting that! 🙏 |
Of the 40 libraries I'm using, only this one specified the version in RCT-Folly, creating an error when installing New Arch |
Description
react-native-screens+3.22.1.patch
fix for new arch and 0.72.1Test with
cd ios && NO_FLIPPER=1 USE_FRAMEWORKS=static RCT_NEW_ARCH_ENABLED=1 pod install --repo-update && cd .. && yarn ios
Steps to reproduce
See above
Snack or a link to a repository
none
Screens version
3.22.1
React Native version
0.72.1
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: