1

试图在我的项目中设置 MessageKit。我收到以下错误 - 'No such module 'InputBarAccessoryView' inside

MessagesViewController+Keyboard.swift:26:8: No such module 'InputBarAccessoryView'

我尝试过安装 pod、更新 pod 和解构。

import Foundation
import InputBarAccessoryView

应该可以正常编译。只有错误仍然存​​在。

4

1 回答 1

1

在我的情况下,我将更新 pod 文件 Ios 版本

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

target 'Messanger' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Messanger

pod 'InputBarAccessoryView'

end
于 2021-04-15T03:57:33.497 回答