Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
29 Views

iOS 3.1SDK error:duplicate symbol _RTCErrorDomain

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

Tags (2)
0 Kudos
2 Replies
Highlighted
Beginner
29 Views

Now it is ok.

RTCErrors.h

From :

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

change to:

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

 

0 Kudos
Highlighted
29 Views

Hi Allen,

Great to see it solved!

Thanks!

0 Kudos