gpt4 book ai didi

ios - 没有这样的模块 "Sinch"Xcode 9.1 Swift 4

转载 作者:搜寻专家 更新时间:2023-11-01 06:30:41 26 4
gpt4 key购买 nike

这个问题可能与“Sinch Integration in swift project”重复还是需要添加??

我在我的 podfile 中添加了这个: pod 'SinchRTC'

Pod 安装成功且没有警告:enter image description here

在 Bridge-Header 文件中添加:

#import<Sinch/Sinch.h>

注意:更新 pod 超过 10 次并多次重启 xcode。 enter image description here

最佳答案

我对 cocoapod 和 Bridge-Header 做了同样的事情,我发现你不需要在你的标题中import Sinch

无需导入即可直接使用。检查下面的屏幕截图:

enter image description here

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com