[英]Sinch Integration in swift project
I'm trying to integrate sinch into my Swift project using cocoapods
我正在尝试使用cocoapods
将sinch集成到我的Swift项目中
#platform :ios, '9.0'
use_frameworks!
target 'auxilium' do
pod 'Alamofire', '~> 4.0'
pod 'SinchRTC'
end
The pod installation work fine but when I try to import the library import Sinch
I get this error pod安装工作正常,但是当我尝试导入库import Sinch
我收到此错误
No such module "Sinch" 没有这样的模块“Sinch”
Any helps here what I've missed !!! 在这里有任何帮助,我错过了! thanks 谢谢
Plus I've noticed that my pod doesn't exist in targets : 另外我注意到目标中不存在我的吊舱:
问题是我没有添加Bridging-Header.h
#import <Sinch/Sinch.h>
There is no need to import 无需导入
#import<Sinch/Sinch.h>
You can directly access example for below code Without importing like below code: 您可以直接访问以下代码的示例而不导入如下代码:
let config = Sinch()
for reference you can check here: No Such Module "Sinch" Xcode 9.1 Swift 4 供参考,你可以在这里查看: 没有这样的模块“Sinch”Xcode 9.1 Swift 4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.