Webex Meetings
Integrating the SDK
The easiest way to integrate the Webex iOS SDK into your app is to add it to your project with CocoaPods.
Follow the steps in this article to create a new Xcode workspace that will use CocoaPods to install the SDK.
Assuming you already have an Xcode project, for example, MyWebexApp
, here are the steps to integrate the Webex iOS SDK into your Xcode project using CocoaPods:
Install CocoaPods:
gem install cocoapods
Setup CocoaPods:
pod setup
The Mobile iOS SDK comes in multiple flavors. If your use case requires only Webex meeting flows, consider using the size-optimized
WebexSDK/Meeting
SDK. If you need features beyond Meetings, consider using the full SDK,WebexSDK
. Add the required library as a dependency for your app in thePodfile
. Create a new file,Podfile
, with the following content in yourMyWebexApp
project directory:source 'https://github.com/CocoaPods/Specs.git'
Full SDK:
WebexSDK
target 'WebexDemoApp' do platform :ios, '13.0' pod 'WebexSDK' end
Meetings SDK:
WebexSDK/Meeting
target 'WebexDemoApp' do platform :ios, '13.0' pod 'WebexSDK/Meeting' end
Broadcast Extension:
WebexBroadcastExtensionKit
(Required for screen sharing)target 'MyWebexAppBroadcastExtension' do platform :ios, '13' pod 'WebexBroadcastExtensionKit' end
Install the Webex iOS SDK from your
MyWebexApp
project directory:pod install
Add an entry
GroupIdentifier
to your app’sInfo.plist
with the value set to your app'sGroupIdentifier
. This is required to obtain a path for storing the local data warehouse.If you'll be using WebexBroadcastExtensionKit, you also need to add an entry
GroupIdentifier
with the value as your app'sGroupIdentifier
to your Broadcast Extension target. This is required so that your app can communicate with the main app for screen sharing.Modify the Signing & Capabilities section in your Xcode project as follows:
A sample app that implements this SDK, along with its source code, can be found at https://github.com/webex/webex-ios-sdk-example. This app is intended to showcase how to use the SDK methods and is not meant to be a production-grade application.