1

我正在尝试将 MessageKit 与我的项目集成。我在尝试构建时遇到 3 个错误:1. 找不到标头“MessageKit-Swift.h” 2.:0: 错误:无法构建 Objective-C 模块“MessageKit”3.没有这样的模块“InputBarAccessoryView”

我已经在构建之前清理了项目(几次)。我还尝试了多个版本的 MessageKit。我还将我的 Swift 版本从 4.0 更改为 4.2 到 5,并且收到相同的错误。

这是我的 PodFile

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target '####' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for #####
  pod 'MessageKit',          '~> 3.0.0'
  pod 'MessageInputBar',     '~> 0.4.1'
pod 'InputBarAccessoryView'

end
4

0 回答 0