Could not build Objective-C module 'JSQMessagesViewController'

前端 未结 2 519
臣服心动
臣服心动 2021-01-02 02:00

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

相关标签:
2条回答
  • 2021-01-02 02:51

    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.
    0 讨论(0)
  • 2021-01-02 02:53

    try to install the latest version of JSQMessagesViewController which is on develop right now through (pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop') it worked for me ..

    0 讨论(0)
提交回复
热议问题