无法为 FacebookSDK 4 构建模块“FBSDKCoreKit" [英] Could not build module 'FBSDKCoreKit' For FacebookSDK 4

查看:26
本文介绍了无法为 FacebookSDK 4 构建模块“FBSDKCoreKit"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将 Facebook SDK 3 更新到 4 时遇到问题

I am having issue while updating Facebook SDK 3 to 4

当我添加框架时,它已成功添加.但是当我添加头文件时,它出现无法构建模块'FBSDKCoreKit'"的错误.不知道原因.

when I add the framework it was added successfully. but when i add header file it's having the error that " Could not build module 'FBSDKCoreKit' ". Don't know the reason.

推荐答案

在构建设置中将允许非模块化包含在框架模块中"设置为YES为我解决了这个问题.但不知道是否有任何问题或问题或它的任何副作用.

In setting the "Allow Non-modular Includes in Framework modules" setting to YES in Build settings solved the problem for me. but don't know if is there any problem or issue or any side effects of it.

它的 Facebook 错误,您可以在此链接中查看他们提供的解决方案.

Its Facebook Bug you can check the solution they are providing in this link.

更新 1

Facebook 表示他们已经修复并将在下一次更新中应用解决方案,请参阅此链接

Facebook said that they have fixed and will apply solution in next update see this link

更新 2

FaceBook 在最新版本(即 4.1.0)中修复它,请参阅此链接链接.

FaceBook Fixed It in Version Latest version (i.e. 4.1.0) see this link link.

这篇关于无法为 FacebookSDK 4 构建模块“FBSDKCoreKit"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆