When using Twilio iOS sdk and building Cordova app openssl crashes

北慕城南 提交于 2019-12-01 21:17:53

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.

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!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!