Facebook error Enable unmodular header inside frame module

I get the following error when I try to integrate Parse.com and the Facebook SDK.

The error is as follows:

enter image description here

Library files that I added.

enter image description here

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

enter image description here

+8
ios objective-c facebook facebook-javascript-sdk
source share
2 answers

Go to the "Build Settings" section and search for "Allow non-modular inclusions in Framework modules" and change it to YES

+13
source share

If you are developing Swift, you need to delete the “.modulemap” file in the “Modules” folder in each Facebook structure that you have included. It worked for me.

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

+7
source share

All Articles