Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not build Objective-C module 'JSQMessagesViewController'

I have two projects which both use JSQMessagesViewController, however in one of them I am getting the error: "Could not build Objective-C module 'JSQMessagesViewController'", whereas the other one works fine...There is virtually no difference between the two projects, how do I get JSQMessagesViewController to work because it is essential to my application. Thanks.

like image 954
Ahad Sheriff Avatar asked Jun 28 '16 12:06

Ahad Sheriff


Video Answer


1 Answers

I fixed the problem by going through the following steps:

  • Clean the project, including the build cache (Command-Option-Shift-K)
  • Removing the pod.lock file and the pods.xcodeproj files
  • And then closing Xcode and running pod update again
  • Then building again.
like image 116
Ahad Sheriff Avatar answered Sep 27 '22 19:09

Ahad Sheriff