Nexmo / stitch-ios-quickstart

A repository containing everything you need when getting started with the Nexmo Stitch API and the iOS SDKs
MIT License
1 stars 3 forks source link

Error: Class RTC is implemented in both. One of the two will be used. Which one is undefined. #27

Open semeruk opened 6 years ago

semeruk commented 6 years ago

I've used repo from here: https://github.com/Nexmo/stitch-ios-quickstart/tree/master/examples/convenience-calling



And guide from the following: https://developer.nexmo.com/stitch/in-app-voice/guides/2-calling-users

Both got me these errors:

objc[356]: Class RTCUIApplicationStatusObserver is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414750) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af94b0). One of the two will be used. Which one is undefined. objc[356]: Class RTCCodecSpecificInfoH264 is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414480) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af95c8). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoEncoderFactoryH264 is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x2384144d0) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9618). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoDecoderFactoryH264 is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414520) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9668). One of the two will be used. Which one is undefined. objc[356]: Class RTCEncodedImage is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414278) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9870). One of the two will be used. Which one is undefined. objc[356]: Class RTCRtpFragmentationHeader is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414368) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9c80). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoCodecInfo is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x2384143b8) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9e60). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoEncoderQpThresholds is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414408) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101af9eb0). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoEncoderSettings is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x2384145e8) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101afa040). One of the two will be used. Which one is undefined. objc[356]: Class RTCVideoFrame is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414638) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101afa090). One of the two will be used. Which one is undefined. objc[356]: Class RTCWrappedNativeVideoDecoder is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414688) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101afa1d0). One of the two will be used. Which one is undefined. objc[356]: Class RTCWrappedNativeVideoEncoder is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x2384146d8) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101afa220). One of the two will be used. Which one is undefined. objc[356]: Class RTCCVPixelBuffer is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x238414228) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70-490DBEBB2D76/convenience-calling.app/Frameworks/WebRTC.framework/WebRTC (0x101afa270). One of the two will be used. Which one is undefined. objc[356]: Class RTCI420Buffer is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x2384142c8) and /private/var/containers/Bundle/Application/29C08AEF-388B-467E-AF70

I use:

pod 'Nexmo-Stitch'
import Stitch

Any ideas of what I am missing?

ericgiannini commented 6 years ago

Thanks, @Semeruk! May you send us an email at ea-support@nexmo.com?

ericgiannini commented 6 years ago

@Semeruk n/m I figured out the problem: https://bugs.webkit.org/show_bug.cgi?id=187653 Please do not send an email to ea-support@nexmo.com?

ericgiannini commented 6 years ago

It is a WebRTC bug. Since the SDK has not been updated to the latest WebRTC version, no apps in iOS 12 work.

ericgiannini commented 6 years ago

Please checkout the following ticket from the WebRTC team for further details: https://bugs.webkit.org/show_bug.cgi?id=187653

ericgiannini commented 6 years ago

@Semeruk We are in the process of resolving this issue. Unfortunately we don't have a timeframe of when the issue will be resolved. If you experience any additional problems with libwebrtc.dylib or iOS 12 while building apps with the Swift iOS SDK, please let us know. We'll share an update in the Nexmo community slack when the issues have been resolved. You have already joined us @Semeruk there. However, for anyone else please feel free to join here: https://developer.nexmo.com/community/slack

mozeryansky commented 4 years ago

@ericgiannini Any update on this?

kornerr commented 4 years ago

Any updates?

Vadivel-Muniswamy commented 4 years ago

Any fix for this issue..??