Sinch Integration in swift project
The problem that was that I didn't add the Bridging-Header.h
#import <Sinch/Sinch.h>
Can sinch api be used with swift
Use CocoaPod to install your framework, might be easier.
how to install Pod
in your podfile
target 'YourApp' do
pod 'SinchRTC ', '~> 3.1.0'
end
open the YourApp.xcworkspace with xcode.
Now, In your file you will just have to import something like
import Sinch
and it might be good.
CocoaPod is really usefull for dependencies. it help you to install / uninstall framework very easily. it's also very nice when you work in team.
Note : change YourApp by your target name
No Such Module Sinch Xcode 9.1 Swift 4
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.
Sinch integration with chat bot platform
I can answer your query on behalf of Kore.ai & as well can give you insights regarding Watson & DialogFlow
Kore.ai- currently has a very vast library of API integrations available for most of the IVR services available in the market. Kore.ai also has an inbuilt ASR engine & the best TTS feature. This will help the incoming voice to be converted to text & the response can be automated based on the learning you impart to the bot. - I tried a similar one like this for personal use.
In perspective of IBM & Dialogflow - there are some of the integrations missing , since they do not actively collaborate with all vendors in the market (due to their size & presence) - and also, they have their own internal softwares which they'd ideally want to push for public use.
The TTS is IBM Watson & DialogFlow is not state-of the art there are many missing elements in how the voice is intepreted to text. Just the other day I was trying to compare the ASR of DialogFlow & Kore.ai - and I had visible differences. I will soon blog with the transcripts I received from both platforms.
To my view I'd suggest trying out Kore.ai platform & then comparing the same with others.
Related Topics
Sharing Image and Text to Facebook Messenger with Uiactivityviewcontroller Failing
Checkbox Uitableview with Different Sections
Storyboard Localization in Swift 4.0
Video with Gpuimagechromakeyfilter Has Tint When Played in Transparent Gpuimageview
Didoutputsamplebuffer Delegate Not Called
Swift iOS Record Video and Audio with Avfoundation
Admob Interstitial Alway Returns False
How to Draw a Simple Rounded Rect in Swift (Rounded Corners)
Swift - Uitableview Didselectrowatindexpath & Diddeselectrowatindexpath Add & Remove Indexpath Ids
Mysterious "Cryptographic Verification Failure" Error on MACos Sierra, Xcode 8
Square Video Using Avfoundation
Scrolling in Uicollectionview Selects Wrongs Cells - Swift
How to Convert Base64 into Nsdata in Swift
Expand Uitextview and Uitableview When Uitextview's Text Extends Beyond 1 Line