我的应用程序中有'JSQSystemSoundPlayer.h':
但是,此错误仍然存在:
PodFile:
platform :ios, ‘9.3’
use_frameworks!
target 'MyApp' do
pod 'Firebase'
pod 'JSQMessagesViewController'
pod ‘JSQSystemSoundPlayer’
end
答案 0 :(得分:1)
我不相信您需要添加pod 'JSQSoundPlayer'
它包含在JSQMessagesViewController
窗格中,但您在JSQSoundPlayer周围使用了错误的引号,这就是它与众不同的原因颜色你需要`单引号而不是勾号' 。它们看起来很相似。很抱歉,如果您无法找到它,只需复制上一行并更改内容即可。祝你好运。
答案 1 :(得分:0)
尝试替换
行#import JSQSystemSoundPlayer/JSQSystemSoundPlayer.h
带
@import JSQSystemSoundPlayer;