Wednesday, September 13, 2023
HomeiOS DevelopmentLibraries collision in iOS, React Native and AWS Iot

Libraries collision in iOS, React Native and AWS Iot


I’m attempting to creating an iOS App with React Native and with AWSIoT library. (AWSIoT library embrace in different pod for iOS)
When I’m attempting to run this undertaking, 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 may have any thought methods to resolve this subject?

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



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments