The SkylinkSDK for iOS lets you build real time webRTC applications with voice calling, video chat, P2P file sharing or data and messages exchange. Go multi-platform with our Web and Android SDKs.


Prerequisites

Your project should use ARC


Minimum iOS version required

iOS 9 or higher.


How to install the SkylinkSDK for iOS on your app


Step-by-step guide


STEP 1

It is recommended to install the SkylinkSDK for iOS via cocoapods. If you do not have it installed, follow the below steps:


INSTALLING COCOAPODS

Check that you have Xcode command line tools installed (Xcode > Preferences > Locations > Command line tools(?). 

If not, open the terminal and run 

xcode-select --install


Install cocoa pods in the terminal:

$ sudo gem install cocoapods


STEP 2

Add the following line to your Podfile:

pod "SKYLINK"
STEP 3

Follow the instructions here to create an App and a key on the Temasys Console.

STEP 4

To create a Swift project using Teamsys iOS SDK, follow these steps:

  • Create new Xcode project
  • Run the below:
pod init
  • Your Podfile should look like this:
    use_frameworks!
    target 'MyTarget' do
    pod "SKYLINK"
    end
  • Run the below:
pod install


  • Create the Project-Bridging-Header.h and refer to it in build settings (swift compiler section)
  • Add the below to the newly created file You should be able to run your project after this, and use Temasys iOS SDK with Swift.
#import <SKYLINK/SKYLINK.h>


Configuring Settings

  • After running 'pod install', use the .xcworkspace file. Do not work with the .xcodeproj file.
  • For each target planned for use with the SkylinkSDK for iOS:
    go to Build settings (make sure “all” is selected) >
    Build Options >
    Enable bit code and set it to NO.
    This will avoid the “…does not contain bitcode” message

  • Optionally, if you want your app to be able to process audio even when the users leaves the app or locks the device, just enable the VoIP background capability or the audio background capability in the target’s “capabilities” tab.

  • You may need to specify the Swift language version in some pod targets. Use Swift 5.


Start coding!

The SkylinkSDK for iOS is designed to be simple to use. The main idea when using it is to prepare and create a connection to a "room" via the Temasys platform. After that, you will be able to send messages to the connection and implement the desired protocols to control what happens between the local device and the peers connected to the same "room".


Resources


References

See our Swift and Objective C Sample apps for usage instructions and examples.


Documentation, Guides and FAQs

SDK Documentation
Getting started with Temasys iOS SDK for iOS
Handle the video view stretching
FAQs


Subscribe

Star to the Swift or Objective C Sample app repos to be notified of new release tags. You can also view release notes on our support portal


Feedback

Please do not hesitate to reach get in touch with us if you encounter any issue or if you have any feedback or suggestions on how we can improve the Skylink SDK for iOS or Sample Applications. You can raise tickets on our support portal.