The EnxiOS directory contains EnxRTCiOS.framework iOS SDK. Add this framework in your project. The EnxRTCiOS iOS SDK is supported in iOS 10+ and XCode 9+.

  • Install CocoaPods as described in CocoaPods Getting Started.
  • Open Terminal. Go to project directory and run pod init.
  • To integrate EnxRTCiOS into your Xcode project using CocoaPods, specify pod name EnxRTCiOS.
  • 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: To use EnableXiOS SDK, add  GoogleWebRTC and Socket.IO-Client-Swift(15.0.0) in your project with the following pod names:

'GoogleWebRTC', '~> 1.1.29229’
'Socket.IO-Client-Swift', '~> 15.0.0' 

Error & Exceptions

When EnableX 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.