Build, Run & Play


Contents

1. Build & Run

2. Play with your app

1. Build & Run

Next, we will build & run our demo on a real device and feel your application in life. In Xcode, look for the Big Triangle in the upper left corner. (The one next to the close, minimize & zoom buttons). On the right-handside of the Run button (MobileRTCSample > ________) , you can select the environment that you would like to run your app on.

Once you selected your running environment, there is one more setting that you need to configure before you can successfully build your app. Navigate to the project configuration page. In General, there is a section called Signing. You will need to use your own team to sign your developer certificate:

1.1 Emulator

Xcode provides rich features in using emulators to run and test iOS application. Please ensure you have the version of demo that supports emulator downloaded from our GitHub repo.

Please use the version (ios-mobilertc-all-*.zip) from release page to run on emulator: https://github.com/zoom/zoom-sdk-ios/releases;

Wrong version

If you build the demo on iOS emulator with the wrong version, you will run into errors like this: ignoring file …missing required architecture x86_64 in file …/lib/MobileRTC.framework/MobileRTC (2 slices)

  • The file size of the zip file that does not support emulator is: 23.4MB
  • The file size of the zip file that supports emulator is: 43MB

1.2 Device

To educe the full power of Zoom SDK, running and testing on a real device is preferred.

  1. Connect your iOS device with your computer.
Trust the computer

When you connect your iOS device to your computer and try to build and run applications on your device, a pop-up asking whether you would like to trust this computer will show up on your device. Please press “Trust this computer” to enable debug mode.

  1. Press Run.
  2. The demo app will be installed on your device.

2. Play with your app

Now let’s play around with the application. Next, you will need:

  1. Another device that can host a Zoom meeting, such as Zoom desktop clients, Zoom mobile clients. (We will use Zoom Mac OS client)

  2. Your application with Zoom SDK (the example app)

Step 1

On your Zoom Mac OS client, log in with your Zoom account, and Start a meeting.

Once the meeting room is ready, you will see a 9-digits Meeting ID like 123-456-789.

Step 2

Now switch to your iOS device. If you try to run the application for the first time, you would probably run into “Untrusted Developer” error.

You will need to go to “Settings > General > Profiles & Device Management” and press the item under “Developer App”. By pressing “Trust”, you will be able to run your own app on your iOS device.

When you launch your Zoom SDK sample app, the first screen that you will see is:

Press "Join a Meeting, and enter the Meeting ID that you got from the Mac client. Then press “Ok”. If you have not entered your display name in the previous section, a pop-up will ask your display name.

Press “Participants”, the name you changed the previous section is there.

You can now browse around each button, each corner in the meeting room. Our Zoom SDK offers a lot of hands-on features to enrich your video conferencing experience, such as photo sharing, bookmark sharing, etc..

This is what our Zoom iOS SDK feels like in an iOS application. Now that you have seen the basic setups and essentials of a Zoom iOS SDK application, continue with the following introductory contents:

  1. Integrate with your app: If you have an existing iOS application, how do we add Zoom SDK into your app? This instruction shows the steps to easily integrate Zoom SDK with you app.
  2. Build your first Zoom app: Do you want to build a Zoom app from scratch and have deeper understanding of our Zoom SDK? Let’s build your first Zoom app together.
  3. Mastering Zoom SDK: Our tutorial is not enough and you are eager for more detail? The Mastering Zoom SDK provides detailed instructions of each major features that we currently offer in our SDK.