尝试在框架目标中导入 Sinch 时获取 'Include of non-modular header'

Getting 'Include of non-modular header' while try to import Sinch in framework target

我正在尝试将 Sinch 导入我在 Xcode 中的框架目标。

配合使用效果很好
pod 'SinchRTC'

#import <Sinch/Sinch.h>

在 Project-Bridging-Header.h 在我的主要项目 target

但是当我尝试对框架目标做同样的事情时 添加

#import <Sinch/Sinch.h> 

框架伞头而不是桥接头。

我收到这条消息

"Include of non-modular header inside framework module 'MyFramework': "

我确实尝试将允许模块化框架设置设置为 TRUE,但仍然不起作用。

谢谢,

SinchRTC cocoapod 3.12.5 已于近期发布,Sinch Framework 现已被打包为pod 内部的模块框架。请尝试3.12.5(及以后版本),看看问题是否解决。谢谢。