简体   繁体   中英

No Such Module “Sinch” Xcode 9.1 Swift 4

This question may be duplicate of this " Sinch Integration in swift project " But i am doing all these steps But getting same error " No such module 'Sinch'. Below steps i have followed please check and let me know if i missed any steps or need to add??

I have Added this in my podfile: pod 'SinchRTC'

Pod installed successfully with no warning: 在此输入图像描述

Added this in Bridge-Header file:

#import<Sinch/Sinch.h>

Note: Update pod more then 10 times and restarted xcode multiple times. 在此输入图像描述

I have done same thing with cocoapod and Bridge-Header and what I found is you don't need to import Sinch in your header.

You can directly use it without importing. Check below screenshot:

在此输入图像描述

Pod File:

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

Bridge-Header File:

#import <Sinch/Sinch.h>

Check Example Project for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM