简体   繁体   中英

Facebook error Include of non-modular header inside framework module

I am getting the following error when i tried to integrate Parse.com and Facebook SDK.

The error is as follows:

在此输入图像描述

The library files that i added.

在此输入图像描述

Update - After changing YES to "Allow non-modular includes in Framework modules"

在此输入图像描述

转到“构建设置”并搜索“允许在Framework模块中包含非模块化包含”并将其更改为YES

If you are developing with Swift you have to remove the ".modulemap" file under the "Modules" folder in every framework from Facebook you have included. That worked for me.

See this link: https://developers.facebook.com/docs/ios/troubleshooting#xcode_link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM