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' #52

Closed
Tam opened this issue Mar 14, 2017 · 3 comments
Closed

Duplicate interface definition for class 'RCTBridge' #52

Tam opened this issue Mar 14, 2017 · 3 comments

Comments

@Tam
Copy link

Tam commented Mar 14, 2017

I'm getting the following error when trying to build to IOS, everything works great on Android.

Using React Native 0.41.2, PDF View ^0.3.2.

Duplicate interface definition for class 'RCTBridge'
In file included from /node_modules/react-native-pdf-view/RNPDFView/RNPDFViewManager.m:11:
In file included from /node_modules/react-native-pdf-view/RNPDFView/RNPDFViewManager.h:9:
In file included from ../react-native/React/Views/RCTViewManager.h:15: /react-native/React/Base/RCTEventDispatcher.h:12:9: 
In file included from /Library/Developer/Xcode/DerivedData/App-ckzthjkwdguomaavfzoksbbpuojh/Build/Products/Debug-iphoneos/include/React/RCTEventDispatcher.h:12:
/react-native/React/Base/RCTBridge.h:65:12: Previous definition is here

There are additional errors but they all appear to stem from (or be similar to) this one, so I've only included this one. A quick look around brings up this, which might be useful?

@Tam
Copy link
Author

Tam commented Mar 15, 2017

I've tried pulling the latest codebase and everything compiles fine. A version bump (#51) would be useful!

@Tam Tam closed this as completed Mar 15, 2017
@richardgillzdev
Copy link

Yep, +1 to this, had the same issue

@andrey-shostik
Copy link

+1

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