4

I have an issue with dependencies included in Class RTCCVPixelBuffer.

I am using OpenTok SDK in my iOS App. When I try to run the app, I get a console full of error like :

Class RTCCVPixelBuffer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x11d0aa160) and /Users/PrakharBhardwaj/Library/Developer/CoreSimulator/Devices/973561FB-0A4E-4D10-82C8-BC447940DD34/data/Containers/Bundle/Application/786DB5B1-EC67-49EF-B6A9-FFC7E2FFEC90/EvueMe.app/EvueMe (0x109690c70). One of the two will be used. Which one is undefined.

Here are the contents of my podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'evueme' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for evueme
pod 'OpenTok'
end
Ronan Boiteau
  • 9,608
  • 6
  • 34
  • 56

1 Answers1

3

This is probably related to this WebRTC bug.

Alessandro
  • 686
  • 12
  • 19
  • So what we do now? – Juan P. Ortiz Jun 04 '19 at 17:33
  • We currently have an app in production and everything works fine (even if the console prints these errors) but in the next weeks I will try to use a newer version of the WebRTC framework. – Alessandro Jun 10 '19 at 17:15
  • The problem is also tracked here https://bugs.chromium.org/p/webrtc/issues/detail?id=10560 – Alessandro Jun 11 '19 at 12:37
  • 1
    In the end I kind of solved it: I've changed the prefix for every classes defined in the iOS sdk and then compiled the WebRTC framework; no more console errors. – Alessandro Feb 12 '20 at 22:42