Peerapat Atawatana
Peerapat Atawatana

Reputation: 139

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

I'm trying to import Sinch to my framework target in Xcode.

It work fine with

pod 'SinchRTC'

and

#import <Sinch/Sinch.h>

in Project-Bridging-Header.h in my main project target

but when I try to do the same thing with framework target by add

#import <Sinch/Sinch.h> 

to framework umbrella header instead of bridging header.

I get this message

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

I did try to set allow modular framework setting to TRUE, but still doesn't work.

Thank you,

Upvotes: 1

Views: 183

Answers (1)

Bo Li
Bo Li

Reputation: 181

SinchRTC cocoapod 3.12.5 has recently been released, and the Sinch Framework is now packaged as a module framework inside the pod. Please give a try for 3.12.5 (and later versions), and see if the problem is solved. Thanks.

Upvotes: 2

Related Questions