iOSSDKStreaming-one2one Audio/Video Call
- Xcode 14.3 or latest version
- Click here to download Xcode on your Macbook
- MacOS as compatible with xcode version
- 8GB of RAM memory
Open Terminal and type command pod --version
and hit Enter.
If command is not found then you don’t have Cocoapods installed on your system. To install Cocoapods, follow the below steps:
- Type the following command in Terminal
sudo gem install cocoapods
and hit Enter - If you face this issue ERROR: Failed to build gem native extension, then run
brew install cocoapods
. Click here to install brew - After installation is complete, type command
pod --version
and hit Enter to confirm installation is successful
- On VdoTok Github repo,click on Code button
- From HTTPS section, copy repo URL
- Open Terminal
- Go to Desktop Directory by typing
cd Desktop
and hit Enter - And then type
git clone https://github.com/vdotok/IOS-one2one.git
and hit Enter - After cloning is complete, go to Cloned project’s root directory by typing
cd path_to_ cloned_project
and hit Enter - Once inside the project’s root directory type
ls
(LS in small letters) and hit Enter. You should be able to see a file named Podfile - Type command
pod install
> hit Enter and wait until the process is complete - Once the process is completed it should look like following
- If you face issue below,execute this command in terminal
gem install --user-install ffi -- --enable-libffi-alloc
,then runpod install
- Register at VdoTok HomePage to get TENANT TESTING SERVER and PROJECT ID
- Double-click to open .xcworkspace file in Xcode
Ways To Add Project ID and Tenant Server
- In struct AuthenticationConstants (One-to-one-call-demo -> common -> constants),replace the values for PROJECTID and TENANTSERVER with your values
- You can use the QR code scanner provided on the Login and Signup screens once you have BUILD the application on your device.
Please be noted that iOSSDKStreaming does not work for iOS Simulator
To run on a real device:
- Go to your Main Target->Signing and Capabilities
- Select your Team and setup your bundle identifier like
com.company.appname
- Connect your device with MacBook
- Select your device from the run destination menu in toolbar
- Click on play button on xcode toolbar
For details on how to run application on a real device, please click here to follow instructions.