Closed cemtu closed 4 years ago
@BayCem This sounds like either library is not copied properly or not available at the location it expects. Can you try again with following the instructions on how to add TwilioVideo library in your ios xcode proejct? Thanks.
Thanks for reply @piyushtank. I was installing TwilioVideo
with using Cocoapods
.
Right now, I tried installing TwilioVideo
manually from instructions.
TwilioVideo.framework.zip
TwilioVideo.framework
in Project->General->Frameworks, Libraries, and Embeded Content
Section and I selected Embed & Sign
(am I doing correct?).TwilioVideo.framework
in Project->Build Phases->Link Binary With Libraries
.Project->Build Phases->Link Binary With Libraries
, I added all of these:
AudioToolbox.framework
VideoToolbox.framework
AVFoundation.framework
CoreTelephony.framework
GLKit.framework
CoreMedia.framework
SystemConfiguration.framework
libc++.tbd
Project->Build Settings->Other Linker Flags
with adding -ObjC
Project->Build Phases
and I addedRun Script
after the Embed Frameworks
. You can Run Script
details in image.Finally, I plug the iPhone, and still I am getting error. The error states that:
ld: framework not found TwilioVideo
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Still waiting, still not solved. @piyushtank
@BayCem Can you make sure the Xcode project has the TwilioVideo framework in embedded framework section.
Make sure, you do "copy and save" when you pull TwilioVideo.framework in to your project.
If it still doesn't work, try with some other framework other than TwilioVideo.framework and see if that works.
@piyushtank, thank you for reply. I was added into embeded section
but somehow it does not working.
After that, I deleted twiliovideo.framework
and installed as a pod
again at this time somehow it's start working.
@piyushtank
I am getting the same issue...
I am adding TwilioVideo Swift Package into a framework. Then adding the framework into my main target via linking.. it works for every other framework such as Stripe, Firebase.. but not Twilio.
How can I achieve this with Twilio?
Hi,
I am trying to use TwilioVideo in the project. I added TwilioVideo with a pod and when I am trying to install to real device(just real device), app crashes with the given error:
dyld: Library not loaded: @rpath/TwilioVideo.framework/TwilioVideo
What I tried so far:
#use_frameworks!
and/or#use_modular_headers!
from pod file.Every time error does not fixed.
Then I created different project with using different dependencies. In that dependencies I got the same error but I tried above methods and the methods fixed the issue.
When I delete TwilioVideo, problem gone but I need to use TwilioVideo.