Facebook错误在框架模块中包含非模块化头文件

时间:2015-04-21 12:57:01

标签: ios objective-c facebook parse-platform facebook-javascript-sdk

当我尝试集成Parse.com和Facebook SDK时,我收到以下错误。

错误如下:

enter image description here

我添加的库文件。

enter image description here

更新 - 将YES更改为"Allow non-modular includes in Framework modules"

enter image description here

2 个答案:

答案 0 :(得分:14)

转到构建设置并搜索"允许框架模块中的非模块化包含"并将其更改为YES

答案 1 :(得分:9)

如果您正在使用Swift进行开发,则必须删除" .modulemap"文件"模块"你已经包含在Facebook的每个框架中的文件夹。 这对我有用。

查看此链接: https://developers.facebook.com/docs/ios/troubleshooting#xcode_link