无法构建Objective-C模块"JSQMessagesViewController" [英] Could not build Objective-C module 'JSQMessagesViewController'

查看:95
本文介绍了无法构建Objective-C模块"JSQMessagesViewController"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个项目都使用JSQMessagesViewController,但是在其中一个项目中我得到了一个错误:无法构建Objective-C模块'JSQMessagesViewController'",而另一个项目工作得很好...实际上没有区别.在两个项目之间,如何使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.

推荐答案

我通过以下步骤解决了该问题:

I fixed the problem by going through the following steps:

  • 清理项目,包括构建缓存(Command-Option-Shift-K)
  • 删除pod.lock文件和pods.xcodeproj文件
  • 然后关闭Xcode并再次运行pod更新
  • 然后重新建造.

这篇关于无法构建Objective-C模块"JSQMessagesViewController"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆