You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In third-party native code, instead of
#import "RCTBridge.h"
use a name-spaced system import
#import <React/RCTBridge.h>
The project still throws the same errors.
If it matters this project does have podfiles.
Reproduction
We simply try to upgrade to 0.41 right now. It won't build. neither via updating the package.json, using react-native-upgrade-git nor react-native upgrade work. (Actually react-native-upgrade git made the xcode project so unstable it would not even open.)
The project is perfectly stable in v 0.39, and won't build in .40 and .41
Solution
I expect the project to build based on the migration guide.
Description
We have a project currently at 0.39. Of course the first issue we had was not being able to find RCTBridgeModule.h
RCTBridgeModule.h' file not found
After carefully switching all the imports as per the upgrade guide:
https://github.com/facebook/react-native/wiki/Breaking-Changes#namespace-all-header-imports-to-react-e1577d---javache
The project still throws the same errors.
If it matters this project does have podfiles.
Reproduction
We simply try to upgrade to 0.41 right now. It won't build. neither via updating the package.json, using react-native-upgrade-git nor react-native upgrade work. (Actually react-native-upgrade git made the xcode project so unstable it would not even open.)
The project is perfectly stable in v 0.39, and won't build in .40 and .41
Solution
I expect the project to build based on the migration guide.
Additional Information
possibly references : #11721
The text was updated successfully, but these errors were encountered: