easemob / sdk-ios-cocoapods-integration

MIT License
18 stars 11 forks source link

Problems with VideoCall and third-side static lib #5

Open mrsnow-git opened 8 years ago

mrsnow-git commented 8 years ago

Hi.

I now use your sdk for video calls. But I also must use another third party sdk, as static lib (PortSIPLib, portsip.com) . All is ok if I dont use portsiplib, but if I only include it in build (without even any usage code) I got a lot of linking problems if I build it for simulator, and no linking problems if built for real device - but in this case I have problems with video calls - if I call someone and other side accept call (and in other direction) - app crash.

linking issues is for duplicate symbols for '_av__' and '_ff__' methods....

I'm now searching the ways I can use it both without any problems, so if you can help me in any ways - it'l be great..

lizilong1989 commented 8 years ago

@mrsnow-git try this Xcode->Build Settings->Don't Dead-strip Inits and Terms->YES

mrsnow-git commented 8 years ago

I tried this, it doesn't help.