通过 pods 的 MessageKit 将导致 iOS 应用程序崩溃

MessageKit through pods will crash iOS application

我正在使用 Swift 开发一个应用程序,并试图集成一个应用程序内消息系统。我计划使用 'MessageKit',但在将它添加到我的 podfile 后,运行 'pod update' 并重新 运行 我的应用程序,它在启动时崩溃。命令行中没有打印错误。一些规范:Swift 4.2,MessageKit 2.0。我确定是 MessageKit 造成的,但我不知道为什么。有帮助吗?

for Swift 4.2 使用以下版本

    pod 'MessageKit',          '~> 2.0.0'
    pod 'MessageInputBar',     '~> 0.4.1'