I am working on a chat app using Swift, and cocoa pods and I keep getting this issue. It says no such module JSQMessagesViewController, and the pod file is set up just like
Once you installed your Pods, close xCode. Then open it back using the following command line:
$ open App.xcworkspace
I had the same issue than you and it worked for me. Took this info from https://cocoapods.org/.