Integrate Facebook SDK inside my iOS Framework

◇◆丶佛笑我妖孽 提交于 2019-12-07 13:08:46

问题


I'm trying to integrate Facebook SDK inside my framework (which I publish to developers) but get a collision when users using my SDK already have Facebook SDK on their app. Is there any way around it?


回答1:


I suggest you to only link Facebook SDK to your Custom Framework, but should not copy Facebook Framework inside your Custom Framework, you can also ship FacebookSDK.framework separately with your Custom Framework.

So there will be no collision between two FacebookSDK as the user will only add one FacebookSDK in their project. In this case users also aware of adding both two framework in their project.



来源:https://stackoverflow.com/questions/16762553/integrate-facebook-sdk-inside-my-ios-framework

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