WebRTC-iOS: GoogleWebRTC library conflict on IOS 12 to 13.3
GoogleWebRTC
ios 12.2
objc[287]: Class RTCCVPixelBuffer is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x1c29eaf98) and /private/var/containers/Bundle/Application/3057B118-2044-4852-8672-13C9DF6DEC00/WebRTC-Demo.app/Frameworks/WebRTC.framework/WebRTC (0x101604a10). One of the two will be used. Which one is undefined. objc[287]: Class RTCWrappedNativeVideoDecoder is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x1c0863458) and /private/var/containers/Bundle/Application/3057B118-2044-4852-8672-13C9DF6DEC00/WebRTC-Demo.app/Frameworks/WebRTC.framework/WebRTC (0x101604a60). One of the two will be used. Which one is undefined. objc[287]: Class RTCWrappedNativeVideoEncoder is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x1c08634a8) and /private/var/containers/Bundle/Application/3057B118-2044-4852-8672-13C9DF6DEC00/WebRTC-Demo.app/Frameworks/WebRTC.framework/WebRTC (0x101604ab0). One of the two will be used. Which one is undefined. objc[287]: Class RTCVideoDecoderVP8 is implemented in both /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib (0x1c08631b0) and /private/var/containers/Bundle/Application/3057B118-2044-4852-8672-13C9DF6DEC00/WebRTC-Demo.app/Frameworks/WebRTC.framework/WebRTC (0x101604b28). One of the two will be used. Which one is undefined.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 33 (5 by maintainers)
Temporary solution(use at your own risk):
4.2 checkout
or debug version(is_debug=true)
Ref: https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/ios/index.md
apple not solve the problem in release IOS 12.3
so, it fixed in 12.3 beta. I temporary build it from source with rename. Waiting for release ios 12.3.
Xcode 11.4 IOS 13.x has no this issue!! Congratulations!! Xcode 11.4 IOS 12.x getting this issue((
Good news. Xcode 11.4 beta 3 has no problem. But! I hope in the release version, this will completely be fixed(i know issue: beta - no problem, release - problem has present).
@iStorry copy sources with this https://webrtc.org/native-code/ios/ instructions and before you compile that, you have to rename the conflicting functions