Libraries collision in iOS, React Native and AWS Iot


I’m making an attempt to growing an iOS App with React Native and with AWSIoT library. (AWSIoT library embrace in different pod for iOS)
When I’m making an attempt to run this venture, the construct is failed duo to 12 duplicate codes in lessons For instance:
❌ duplicate image ‘OBJC_IVAR$_SRIOConsumer._unmaskBytes’ in ┌─ libAWSIoT.a(AWSSRWebSocket.o) └─ libSocketRocket.a(SRIOConsumer.o)

AWSSRWebSocket embrace @interface SRIOConsumer and SocketRocket (from ReactNative) additionally has the identical @interface SRIOConsumer .
Do you’ve got any concept resolve this difficulty?

I attempted to rename SRIOConsumer in AWS to AWSSRIOConsumer.
The code compiled however the app crashed with SIGABORD.

I cant transfer the AWS library to react native code as a result of it in iOS native library