You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libraries collision in iOS, React Native and AWS Iot
I am trying to developing an App with React Native and with private native SDK that use AWSIoT.
When I am trying to run this project, the build is failed duo to 12 duplicate codes in classes For example:
❌ duplicate symbol 'OBJC_IVAR$_SRIOConsumer._scanner' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRIOConsumer.o)
duplicate symbol 'OBJC_CLASS$_SRIOConsumerPool' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRIOConsumerPool.o)
❌ duplicate symbol '_SRHTTPResponseErrorKey' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRWebSocket.o)
AWSSRWebSocket include @interface SRIOConsumer and SocketRocket also has @interface SRIOConsumer Do you have any idea how to resolve this issue?
Environment:
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
AWSIoT 2.33.4
Dependency Manager: Cocoapods
Swift Version : 5.0
Device Information:
Device: iPhone 12
iOS Version: 16.6.1
The text was updated successfully, but these errors were encountered:
Libraries collision in iOS, React Native and AWS Iot
I am trying to developing an App with React Native and with private native SDK that use AWSIoT.
When I am trying to run this project, the build is failed duo to 12 duplicate codes in classes For example:
❌ duplicate symbol 'OBJC_IVAR$_SRIOConsumer._scanner' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRIOConsumer.o)
duplicate symbol 'OBJC_CLASS$_SRIOConsumerPool' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRIOConsumerPool.o)
❌ duplicate symbol '_SRHTTPResponseErrorKey' in
┌─ libAWSIoT.a(AWSSRWebSocket.o)
└─ libSocketRocket.a(SRWebSocket.o)
AWSSRWebSocket include @interface SRIOConsumer and SocketRocket also has @interface SRIOConsumer Do you have any idea how to resolve this issue?
Environment:
installed: 18.2.0
wanted: 18.2.0
installed: 0.72.3
wanted: 0.72.3
AWSIoT 2.33.4
Dependency Manager: Cocoapods
Swift Version : 5.0
Device Information:
Device: iPhone 12
iOS Version: 16.6.1
The text was updated successfully, but these errors were encountered: