Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not build module and include of non-modular header inside framework module error in Xcode 7.3

I’m using Facebook login authentication in my application and used CocoaPods to add framework. Everything was fine until I upgraded to Xcode7.3.

Getting the following Error:

enter image description here

Pod Configuration:

pod 'Parse'
pod 'ParseFacebookUtilsV4'
pod 'ParseTwitterUtils'

It suddenly showing the error when I open the project with Xcode 7.3.
Anyone knows what is causing the issue?

like image 287
Ashok Avatar asked Oct 30 '25 18:10

Ashok


2 Answers

Change the "Allow Non-modular includes in Framework Modules" to "Yes" in the Build Settings for your pod

like image 177
Neil Avatar answered Nov 02 '25 09:11

Neil


I solved it removing Modules folder from the framework.

  • Browse to your framework location which is present in the App Project using finder

  • Go inside Test.framework folder (In the above case it will be 'FBSDKCorekit.framework) & Delete Modules folder.

  • Clean and Re Build the app, it will solve the problem.

like image 22
Vittal Pai Avatar answered Nov 02 '25 07:11

Vittal Pai



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!