The EnableX iOS SDK is used to integrate EnableX RTC sessions with your Native iOS Applications. The SDK consists of APIs required to communicate with EnableX Signaling Server and Media Server and to listen to event-based notifications during a session.

Released: December 24 2021

Table of Contents

How to use iOS SDK?

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.

Explore iOS SDK