在xamarin表单中进行聊天,当我运行它时,我得到一个Foundation.MonoTouchException错误

时间:2016-02-07 13:26:43

标签: c# xamarin xamarin.forms chat

我正在尝试按照本指南https://github.com/rlingineni/Xamarin.Forms-ChatMessenger进行聊天。 复制/粘贴几乎全部但是当我运行我的版本时,当我尝试将其作为IOS进行调试时,我得到以下错误:

已抛出Foundation.MonoTouchException。 抛出Objective C异常。名称:NSInternallconsistencyException原因:无法在Bundle“NSBundle中加载NIB 用户/ Carl / Library / Developer / CoreSimulator / Devices / -random number / data / Containers / Bundle / Application / -random number / Project.iOS.App(loaded),名称为“JSQMessagesViewController。

有什么想法可能是什么?我认为这是我的资源文件中的一些东西,我错过了一些东西,但我有我所关注的项目中的“BubbleIncoming.imageset”文件。

1 个答案:

答案 0 :(得分:0)

Readme所述,它使用Component Store中的JSQmessages组件。双击项目中的“组件”节点,找到该组件,然后将其添加到项目中。