I'm trying to integrate sinch into my Swift project using cocoapods
#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
No such module "Sinch"
Any helps here what I've missed !!! thanks
The problem that was that I didn't add the 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
来源:https://stackoverflow.com/questions/41146336/sinch-integration-in-swift-project