Swift:不能将facebook和G +整合到同一个项目中

时间:2015-07-13 12:40:20

标签: facebook swift google-plus

我创建了一个示例项目,用于在单独的项目中集成(登录)Swift中的Facebook和G +。它工作正常。 但, 当我试图将G +和Facebook包含在同一个Sample项目中时, 设置"其他链接器标记" :" -ObjC"(对于G +集成)并运行我收到此错误 enter image description here

如果我删除"其他链接器标记"然后我收到这个错误: enter image description here

请提供解决方案如何在同一个项目中将swift和G +集成在swift中? enter image description here

enter image description here

enter image description here enter image description here enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

问题是,我在项目中添加了所有框架。当我从我的项目中删除FBAudienceNetwork.framework时,所有错误都消失了,并且工作正常。但我认为如果我们和G +一起使用它可能会有问题。