We are trying to make a build of React Native app in iOS and everything goes fine when we run the app on the iOS device whether it is in debug mode or release mode.
But for uploading when we try to make the archive of the app in Xcode then it throws an peculiar error that : Duplicate interface definition for class 'RCTEventEmitter'
We are really struck solving this, if someone could please help us. React Native version is 0.59.10
https://share.getcloudapp.com/7KuyKmAn This is the error.
Any help regarding this is really appreciated.