CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Ribbon WebRTC iOS SDK into your Xcode project using CocoaPods, specify it in your Podfile
:
...
use_frameworks!
target 'YOUR_TARGET_NAME' do
pod 'RibbonWebRTCSDK', '~> 6.32.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
installer.aggregate_targets.each do |aggregate_target|
aggregate_target.user_project.native_targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)', '$(inherited)']
end
end
aggregate_target.user_project.save()
end
end
...
- File > Swift Packages > Add Package Dependency
- Add https://github.com/RibbonCommunications/webrtc-ios-sdk.git
- Select "Branch" with "master"
Alternatively Ribbon WebRTC iOS SDK can be manually integrated to your project with the followed steps.
The information about tutorials and documents can be found in the links below
Compatible iOS versions :
- iOS 13.x+
Compatible XCode Versions :
- XCode 13.x+
Compatible Ribbon WebRTC Gateway Server versions :
-
WebRTC Gateway 4.10.0
-
WebRTC Gateway 4.9.1
Tested on :
- iPhone 6S, 7, 7+, 8, X, 11, 11 Pro, iPad mini, and iPad Air