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

Duplicate interface definition for class 'RCTBridge' #12

Open
wythe51 opened this issue Feb 7, 2018 · 2 comments
Open

Duplicate interface definition for class 'RCTBridge' #12

wythe51 opened this issue Feb 7, 2018 · 2 comments

Comments

@wythe51
Copy link

wythe51 commented Feb 7, 2018

Description

Can't build project due to the breaking change on 0.40 (See the link below).
facebook/react-native#11725

Solution

In RCTMultipeerConnectivity.h and RCTMultipeerConnectivity.m,
change codes like

#import "RCTBridgeModule.h"

into

#import <React/RCTBridgeModule.h>

@nathan815
Copy link

Does this fix make this library work?

@adamgins
Copy link

adamgins commented Jul 2, 2018

Hi this fixed it for my local emulator.. but I seem to have the old files cached when I open the workspace in Xcode and try and build for either emulator or device.

Any ideas on how I clear the cache please? I tried Product -> Clean but that did not seem to work for me.

Any help appreciated

Update: I fixed this by going into the specific Xcode project for the plugin and doing a Product-Clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants