这个问题可能与“Sinch Integration in swift project”重复还是需要添加??
我在我的 podfile 中添加了这个: pod 'SinchRTC'
在 Bridge-Header 文件中添加:
#import<Sinch/Sinch.h>
最佳答案
我对 cocoapod 和 Bridge-Header 做了同样的事情,我发现你不需要在你的标题中import Sinch
。
无需导入即可直接使用。检查下面的屏幕截图:
Pod 文件:
target 'test' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Alamofire', '~> 4.0'
pod 'SinchRTC'
# Pods for test
end
桥头文件:
#import <Sinch/Sinch.h>
检查 Example项目了解更多信息。
关于ios - 没有这样的模块 "Sinch"Xcode 9.1 Swift 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47843107/