react-native-google-place-picker icon indicating copy to clipboard operation
react-native-google-place-picker copied to clipboard

Error Redefinition of RCTMethodInfo

Open antTony00 opened this issue 5 years ago • 2 comments

I have intsalled and linked the google place picker dependancy in my react native application.

the commands are, react-native-google-place-picker react-native link react-native-google-place-picker ,

When i run by executing react-native run-ios, it fails to build and produces the following error on node_modules/react-native/React/Base/RCTBridgeModule.h file.

Redefinition of 'RCTMethodInfo'

Typedef redefinition with different types ('struct (anonymous struct at /Users/mobdev/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h:52:16)' vs 'struct RCTMethodInfo')

you can see the error reports in the following image. reacterror

When i run on android, it builds successfully but ios its is not.

Environment details, react-native-cli : 2.0.1 react-native : 0.59.8 react-native-google-place-picker : 1.2.1 npm : 6.7.0 node : 11.9.0 xcode : 10.1 pod : 1.6.0

antTony00 avatar May 15 '19 12:05 antTony00

sane issue in RCTBridgeModule.h File

https://user-images.githubusercontent.com/34228088/62934916-6ae30700-bde3-11e9-9f82-827383038109.png

SaGaR1084 avatar Aug 13 '19 10:08 SaGaR1084