Your project should use ARC
Minimum iOS version required
iOS 9 or higher.
How to install the SkylinkSDK for iOS on your app
It is recommended to install the SkylinkSDK for iOS via cocoapods. If you do not have it installed, follow the below steps:
Check that you have Xcode command line tools installed (Xcode > Preferences > Locations > Command line tools(?).
If not, open the terminal and run
Install cocoa pods in the terminal:
$ sudo gem install cocoapods
Add the following line to your Podfile:
Follow the instructions here to create an App and a key on the Temasys Console.
To create a Swift project using Teamsys iOS SDK, follow these steps:
- Create new Xcode project
- Run the below:
- Your Podfile should look like this:
use_frameworks! target 'MyTarget' do pod "SKYLINK" end
- Run the below:
- Create the
Project-Bridging-Header.hand refer to it in build settings (swift compiler section)
the belowto the newly created file You should be able to run your project after this, and use Temasys iOS SDK with Swift.
- 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.
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".
Documentation, Guides and FAQs
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.