Libraries collision in iOS, React Native and AWS Iot


I’m making an attempt to creating an iOS App with React Native and with AWSIoT library. (AWSIoT library embody 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 embody @interface SRIOConsumer and SocketRocket (from ReactNative) additionally has the identical @interface SRIOConsumer .
Do you might have any thought the way to resolve this concern?

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

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles