-
Notifications
You must be signed in to change notification settings - Fork 3
Getting the SDK
There are several ways to install our SDK. We publish it on CocoaPods, Swift Package Manager and Carthage.
If you want to add it as a CocoaPods dependency, add the following to your Podfile
:
pod 'InfobipRTC'
To install newly added dependencies, simply run pod install
.
If you want to install our SDK using Swift Package Manager, add the GitHub repository
https://github.com/infobip/infobip-rtc-ios/
as a Swift Package.
If you want to use Carthage dependency manager, add these dependencies to your Cartfile
:
github "infobip/infobip-rtc-ios" ~> 2.0.0
binary "https://rtc.cdn.infobip.com/webrtc/ios/releases.json" >= 1.0.37785
When using it for the first time, run carthage bootstrap --use-xcframeworks
. Otherwise,
run carthage update --use-xcframeworks
to update dependencies.
Find InfobipRTC.xcframework
in the Carthage/Build
folder and drag and drop it in
the Frameworks, Libraries, and Embedded Content
section of your application target's General settings.
Once the SDK is installed, it is available for use in your project as:
import InfobipRTC