Integrate with your app
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:
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
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
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.
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:
- Photo Library
You need to specify these permissions in your project settings
- Open your
Info.plist, right click at the empty space, and select Add Row.
- A new row will be added, for key, select “Privacy - Camera Usage Description”, input any descriptions for your permission request in the value column.
- Add other rows for “Microphone, Bluetooth, and Photo Library”.
You can also refer to the following xml code:
<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>
If you are ready to put your application that integrated our Zoom SDK in production, here are some suggested configurations:
- Set Targeted Device Family to iPhone/iPad.
- Set iOS Deployment Target to iOS 8.0 or later.
- Add -ObjC in Other Linker Flags of the Build settings.
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