Sinch Integration in swift project

前端 未结 2 950
情歌与酒
情歌与酒 2021-01-25 09:02

I\'m trying to integrate sinch into my Swift project using cocoapods

#platform :ios, \'9.0\'
use_frameworks!

target \'auxilium\' do
  pod \'Alamof         


        
相关标签:
2条回答
  • 2021-01-25 09:45

    The problem that was that I didn't add the Bridging-Header.h

    #import <Sinch/Sinch.h>
    
    0 讨论(0)
  • 2021-01-25 09:48

    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

    0 讨论(0)
提交回复
热议问题