Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1144 Discussions

iOS 3.1SDK error:duplicate symbol _RTCErrorDomain

allen_w_
Beginner
181 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
181 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
181 Views

Hi Allen,

Great to see it solved!

Thanks!

Reply