Integrate with your app


Contents

1. Required frameworks

2. Add iOS library to your project

3. SDK footprint

4. Required permissions

5. Deployment

After having some hands-on experience with our SDK, the next step is to integrate our Zoom iOS SDK with your own applications.

1. Required frameworks

Using our iOS SDK requires the following frameworks:

  • MobileRTC.framework
  • MobileRTCResource.bundle

Some of these frameworks are built-in with the installation of Xcode, and the frameworks that are related to Zoom SDK, they are located in the lib folder of the downloaded files:

lib
├── MobileRTC.framework
├── MobileRTCResources.bundle
└── MobileRTCScreenShare.framework

2. Add iOS library to your project

In your project setting, navigate to the General section:

Since our Zoom iOS SDK is a dynamic library, which requires importing into the following:

  • Embedded Binaries
  • Linked Frameworks and Libraries

Then navigate to Build Phases > Copy Bundle Resources, and add MobileRTCResources.bundle:

After importing the framework and bundle, now you can start using Zoom services inside your own applications.

3. SDK footprint

The version of Zoom iOS SDK that includes device and simulator framework is provided to facilitate easy debugging. At the time you would like to move to production, we would suggest using device framework to build. To build without the simulator framework, the overall size of the output will reduce to 14MB by selecting General iOS Device.

Bitcode

Please be advised that we do not support Bitcode. Our SDK library is heavily optimized and we will not be able to provide Bitcode builds.

Please set Enable Bitcode in Build Settings > Build Options to No when you are trying to build your application.

4. Required permissions

Our video conferencing requires the following permissions:

  • Microphone
  • Camera
  • Bluetooth
  • Photo Library

You need to specify these permissions in your project settings Info.plist.

  1. Open your Info.plist, right click at the empty space, and select Add Row.
  2. A new row will be added, for key, select “Privacy - Camera Usage Description”, input any descriptions for your permission request in the value column.
  3. Add other rows for “Microphone, Bluetooth, and Photo Library”.

You can also refer to the following xml code:

info.plist

<key>NSBluetoothPeripheralUsageDescription</key>
	
<string>We will use your Bluetooth to access your Bluetooth headphones.</string>
	
<key>NSCameraUsageDescription</key>
	
<string>For people to see you during meetings, we need access to your camera.</string>
	
<key>NSMicrophoneUsageDescription</key>
	
<string>For people to hear you during meetings, we need access to your microphone.</string>
	
<key>NSPhotoLibraryUsageDescription</key>
	
<string>For people to share, we need access to your photos</string>

5. Deployment

If you are ready to put your application that integrated our Zoom SDK in production, here are some suggested configurations:

  1. Set Targeted Device Family to iPhone/iPad.
  2. Set iOS Deployment Target to iOS 8.0 or later.
  3. Add -ObjC in Other Linker Flags of the Build settings.
"Unsupported Architecture. Your executable contains unsupported architecture '[x86_64, i386]'"

As the answer on StackOverflow(https://stackoverflow.com/questions/42641806/check-and-remove-unsupported-architecture-x86-64-i386-in-ipa-archive) says:

Apple has started complaining if app contains simulator architectures during distribution.

So if you are going to publish your application through App Store, please use the device-only version(which is the version in the master branch of our Github repo or the one you downloaded from our SDK documentation). Zoom iOS SDK device only version: https://github.com/zoom/zoom-sdk-ios