SDK for adding OpenWebRTC to your iOS apps using CocoaPods
The SDK uses CocoaPods as library dependency manager. In order to set this up:
sudo gem install cocoapods
pod setup
The OpenWebRTC SDK is made up of 2 different pods:
OpenWebRTC
- Contains the pre-build frameworkOpenWebRTC.framework
.OpenWebRTC-SDK
- Contains helper classes for quickly developing native and hybrid apps.
There is currently a problem with versions of CocoaPods that are newer than 0.38.2
. If you are on a newer version, e.g. 0.39.0
, one solution is to downgrade your installation:
sudo gem install cocoapods -v 0.38.2
Example Podfile:
platform :ios, '8.0'
target 'NativeDemo' do
pod 'OpenWebRTC', '~> 0.1'
pod 'OpenWebRTC-SDK', :path => '../../../openwebrtc-ios-sdk/OpenWebRTC-SDK.podspec'
end
Apps that use the OpenWebRTC iOS SDK:
- Minor changes to view handling for hybrid apps
- Added classes for Hybrid (mixed native and WebView) app development