The SFmeetRTCiOS
directory contains SFmeetRTCiOS.xcframework
iOS SDK. Add this framework in your project. The SFmeetiOS iOS SDK is supported in iOS 13+ and XCode 9+.
- Install CocoaPods as described in CocoaPods Getting Started.
- Open Terminal. Go to project directory and run
pod init
. - To integrate
SFmeetiOS
into your Xcode project using CocoaPods, specify pod nameSFmeetRTCiOS
. - After adding all the required libraries in PodFile, go to terminal and run
pod Install
. - Reopen your project in Xcode using the new .xcworkspace file.
Note:
- When you use
SFmeetRTCiOS
Framework through pod, it will also include Portal WebRTC Framework. - To use Portal iOS SDK
Socket.IO-Client-Swift(16.1.1)
also in your project with the following pod names:
pod 'SFmeetWebRTC'
pod 'Socket.IO-Client-Swift', '~>
16.1.1'
Error & Exceptions
When portal iOS SDK API call fails, it returns a JSON object through Callback as shown:
{
"errorCode": Number,
"msg": "String",
"desc": "String"
}
errorCode
– Number. Error Code.msg
– String. Error Message.desc
– String. Optional. A descriptive explanation of the error.