4

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?

2 Answers 2

5

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

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for the screenshot. Actually I know this solution but the problem was, I was changing this setting in myproject's tab instead of 'Pods' tab. But I wonder why I'm getting this error in Xcode7.3 suddenly where there was no error in previous Xcode version. Anyway, Thank you.
1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.