'JSQSystemSoundPlayer/JSQSystemSoundPlayer.h' 找不到文件
'JSQSystemSoundPlayer/JSQSystemSoundPlayer.h' file not found
我的应用程序中有 'JSQSystemSoundPlayer.h':
但是,此错误仍然存在:
和 PodFile:
platform :ios, ‘9.3’
use_frameworks!
target 'MyApp' do
pod 'Firebase'
pod 'JSQMessagesViewController'
pod ‘JSQSystemSoundPlayer’
end
我认为您不需要添加 pod 'JSQSoundPlayer'
它包含在 JSQMessagesViewController
pod 中,但您在 JSQSoundPlayer 周围使用了错误的引号,这就是为什么它需要不同的颜色`单引号不是勾号'。它们看起来非常相似。抱歉,如果您找不到它会造成混淆,只需复制上一行并更改内容即可。祝你好运。
尝试替换行
#import JSQSystemSoundPlayer/JSQSystemSoundPlayer.h
和
@import JSQSystemSoundPlayer;
我的应用程序中有 'JSQSystemSoundPlayer.h':
但是,此错误仍然存在:
和 PodFile:
platform :ios, ‘9.3’
use_frameworks!
target 'MyApp' do
pod 'Firebase'
pod 'JSQMessagesViewController'
pod ‘JSQSystemSoundPlayer’
end
我认为您不需要添加 pod 'JSQSoundPlayer'
它包含在 JSQMessagesViewController
pod 中,但您在 JSQSoundPlayer 周围使用了错误的引号,这就是为什么它需要不同的颜色`单引号不是勾号'。它们看起来非常相似。抱歉,如果您找不到它会造成混淆,只需复制上一行并更改内容即可。祝你好运。
尝试替换行
#import JSQSystemSoundPlayer/JSQSystemSoundPlayer.h
和
@import JSQSystemSoundPlayer;