When using Twilio iOS sdk and building Cordova app openssl crashes

前端 未结 2 411

I am building a cordova app for iOS and I am using Twilio Plugin with the corresponding Twilio iOS SDK. For some reason, after calling the setup method from Twilio plugin (

相关标签:
2条回答
  • 2021-01-20 07:20

    Problem Solved. Here is what was going on. I was using OpenTok plugin as well in my project. OpenTok also uses openssl which conflicts with the one used by twilio ( differente version). I partialy solved this by removing openTok. Eventually Ill need to find a way to use both plugins.

    0 讨论(0)
  • 2021-01-20 07:21

    The solution is simple. Just remove libssl references from project. That way, twilio will use opentok openssl libraries. In my case, I delete libssl from twilio folder. I was using xCode and was not that simple to exclude it from project, since There is "search libraries path" which looks for all libraries. Then if you are using Pods, make sure to do not use Pods.config, because it will also look for libssl library. Hope that helps!

    0 讨论(0)
提交回复
热议问题