I'm working for VideoChat app. for IOS. And It's working fine for Old OpenTok sdk, but when I replace latest WebRTC IOS sdk in my Xcode project. I have deleted old framework and bundle from xcode project folder and added new one for WebRTC sdk. I received so many errors like:
ld: warning: duplicate symbol __ZN7cricket22DeviceManagerInterface18kDefaultDeviceNameE originally in /Users/developer/Desktop/VideoCall_15nov/Opentok.framework/Opentok(devicemanager.o) now lazily loaded from /Users/developer/Desktop/VideoCall_15nov/Opentok.framework/Opentok(dummydevicemanager.o) Undefined symbols for architecture armv7: "_objc_setProperty_nonatomic", referenced from: -[OTWebRtcCapture setCaptureSession:] in Opentok(video_capture_ios-A2EFFA6292F27C8E.o) -[OTWebRtcCapture setVideoInput:] in Opentok(video_capture_ios-A2EFFA6292F27C8E.o) -[OTWebRtcCapture setVideoOutput:] in Opentok(video_capture_ios-A2EFFA6292F27C8E.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried to resolve them by Build Settings in Xcode project,but unable to get the solution for this. Please help me on this and provide me solution ASAP.
Also I have tried Hello World tutorial from https://github.com/opentok/OpenTok-iOS-Hello-World. but every time it shows opentok framework error.I have checked there is framework available in project folder, It's seems like some files are missing during download.
I followed instruction from your docs and try to resolve with my efforts but i think there is problem comes from opentok framework.
I just did this myself (used the webrtc framework in the hello world app) and it built just fine. Are you sure you're doing this with a clean project and framework from github? What are the steps you're taking? Screenshots?
Yes it would be better if you send me Zip of Framework. As I said earlier framework is not properly downloading from your github. I have downloaded it so many times from github but when I execute it on Xcode it gives <Opentok/Opentok.h> file not found error. even Opentok.framework is available in project folder. you can see screen shot of framework icon and i think its wrong.
so if you zip me your hello-world on mail then may be my issue will resolve. Also I have downloaded your "OpenTok-iOS-Basic-Tutorial-master" tutorial for Basic. In this example all files of framework is available but when I execute it then same issues appear and to resolving them i have posted here.
That linker warning right before the undefined symbol errors is the culprit I'd recommend looking at. Try running the application on an iOS device, as ld appears to be unable to find i386 symbols in that framework.
Can you please let me know How can i get a fresh copy of OpenTok framework for webrtc sdk. I have tried it to download from github by "HelloWorld" and "Basic", but every time some files are missing during download from github.
It would be better if you send me fresh copy of framework via mail or provide me direct link by where I can get complete copy of framework.