尝试在我的项目中安装MessageKit。我收到以下错误-
中没有这样的模块'InputBarAccessoryView'MessagesViewController+Keyboard.swift:26:8: No such module 'InputBarAccessoryView'
我曾尝试安装Pod,更新Pod并解体。
import Foundation
import InputBarAccessoryView
应正常编译。只有错误仍然存在。
答案 0 :(得分: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