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
Hi,
On a React Native 0.40 project, installing and linking this project results in the following error on iOS: "Duplicate interface definition for class RCTBridge" when attempting to build.
After some Googling, I found that as of React Native 0.40 the imports need to be declared as #import <React/RCTBridge.h> instead of #import "RCTBridge.h". I believe the fix is as easy as renaming the imports! Link: facebook/react-native#11725
Note that I haven't attempted to run this on Android yet, so I am not sure if there are similar issues on that platform.
The text was updated successfully, but these errors were encountered:
Hi,
On a React Native 0.40 project, installing and linking this project results in the following error on iOS: "Duplicate interface definition for class RCTBridge" when attempting to build.
After some Googling, I found that as of React Native 0.40 the imports need to be declared as
#import <React/RCTBridge.h>
instead of#import "RCTBridge.h"
. I believe the fix is as easy as renaming the imports! Link: facebook/react-native#11725Note that I haven't attempted to run this on Android yet, so I am not sure if there are similar issues on that platform.
The text was updated successfully, but these errors were encountered: