Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

iOS 3.1SDK error:duplicate symbol _RTCErrorDomain

allen_w_
Beginner
108 Views

duplicate symbol _RTCErrorDomain in:

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/StreamViewController.o

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/AppDelegate.o

duplicate symbol _RTCErrorDomain in:

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/StreamViewController.o

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/PrepareViewController.o

duplicate symbol _RTCErrorDomain in:

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/StreamViewController.o

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/ConnectionViewController.o

duplicate symbol _RTCErrorDomain in:

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/StreamViewController.o

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/main.o

duplicate symbol _RTCErrorDomain in:

    /Users/allenwang/Library/Developer/Xcode/DerivedData/WoogeenChat-ghuymbjuutnjythkkxkkquxeusvt/Build/Intermediates/WoogeenChat.build/Debug-iphonesimulator/WoogeenChat.build/Objects-normal/x86_64/StreamViewController.o

    ../../libs/libwoogeen.a(woogeen_sdk_objc.RTCPeerClient.o)

ld: 5 duplicate symbols for architecture x86_64

0 Kudos
2 Replies
allen_w_
Beginner
108 Views

Now it is ok.

RTCErrors.h

From :

  • NSString* const RTCErrorDomain = @"com.intel.webrtc";

change to:

  • static NSString* const RTCErrorDomain = @"com.intel.webrtc";

 

Chunbo_H_Intel1
Employee
108 Views

Hi Allen,

Great to see it solved!

Thanks!

Reply