Ashok
Ashok

Reputation: 5655

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?

Upvotes: 4

Views: 1191

Answers (2)

Vittal Pai
Vittal Pai

Reputation: 3563

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.

Upvotes: 1

Neil
Neil

Reputation: 320

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

Upvotes: 5

Related Questions