Failed to create Objective-C module 'JSQMessagesViewController'

I have two projects that use the JSQMessagesViewController, however in one of them I get an error: "Could not build the Objective-C module" JSQMessagesViewController ", while the other works fine ... There is practically no difference between the two projects, as I I can make JSQMessagesViewController work because it is important for my application. Thank you.

+4
source share
3 answers

I fixed the problem by following these steps:

  • Clear the project, including the build cache (Command-Option-Shift-K)
  • pod.lock pods.xcodeproj
  • Xcode
  • .
+23

JSQMessagesViewController, (pod 'JSQMessagesViewController',: git = > 'https://github.com/jessesquires/JSQMessagesViewController.git',: branch = > 'develop') ..

0

, . :

  • "Pods-NameOfYourApp"
  • (⌘B)
  • Run

Xcode:

Product - Scheme - Scheme Management - Select the "Pods-NameOfYourApp" Scheme

0
source

All Articles