No such module JSQMessagesViewController
perhaps you tried to import the file and the file is missing by any chance,
a few things you can do.
you can clean the project from cocoapods and re-install cocoapod(this helped me onetime i got the same problem the file were missing) you can do that by
run this code on the terminal
[sudo] gem install cocoapods-deintegrate
once done
cd your file
and then run thispod deintegrate
then you're all set! and re install it
---- another solution ---
try these
1-Adding all of the .frameworks to the Projects Build Phases -> Link Binary With Libraries
2-Selecting each framework and building it. You can do this by selecting your project name next to the run arrow.
3-Cleaning the project and restarting my computer.
hope it helps
JSQMessagesViewController/JSQMessages.h' file not found after update/installing new pode
I fix the issue by removing the '~> 7.2.0’ in my Podfile at the
pod 'JSQMessagesViewController’, '~> 7.2.0’ line
maybe it will help somebody
https://github.com/jessesquires/JSQMessagesViewController/issues/1586
Can't use module I just install using cocoaPods (Swift)
In order to use CocoaPods written in Swift, you must explicitly include use_frameworks! to opt into using frameworks. If you forget to include this, and CocoaPods detects you’re trying to use a Swift CocoaPod,
for ex :
platform :ios, "9.0"
use_frameworks!
pod 'JSQMessagesViewController'
for more information see this tutorial
Swift Error - Cannot load underlying module for 'MessageKit'
According to the OP, the fix for the issue was to clean the project with (Cmd + Shift + K) before building the project.
JSQMessages.h not found
try #import "JSQMessagesViewController/JSQMessages.h", it might be in a subfolder since the icon in your sidebar is blue.
Related Topics
Array Extension Called from Other Module
Swift 4.1 Deinitialize and Deallocate(Capacity:) Deprecated
How to Print Escape Sequence Characters in Swift
Checking Conforms Protocol with Associatedtype in Swift
Make a Grid of Buttons of Same Width and Height in Swiftui
Formula to Pick Every Pixel in a Bitmap Without Repeating
How to Get the Url from Webview in Swift
Why Can't I Use Self in a Func Swift
Swift- How to Display Image Over Button
Applewatch Messages Url Works Hard Coded But Not with Variables
Avplayer Seektotime Not Working Properly
Selectively Remove and Delete Objects from a Nsmutablearray in Swift
How to Get Notification Authorization Status in Swift 3
Swift Firebase Using an Unspecified Index
Integrate Existing Aws Cognito User Pool into iOS Project with Amplify