Integration
-
LiveDigitalSDK is not listed in public CocoaPods repo. Make sure you (and your CI build agent) have access to the SDK repo itself and to our private specs repo.
-
Specify the specs repo in your project’s Podfile:
source 'https://github.com/VLprojects/cocoapods-specs.git'
-
LiveDigitalSDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LiveDigitalSDK', '0.17.13'
Remeber, it’s always a good practice to keep dependency versions freezed and upgrade them only on intent.
-
LiveDigitalSDK depends on a binary version of WebRTC, which is built without bitcode support. It may cause issues while building your application. If Xcode says
ld: '.../WebRTC.framework/WebRTC' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '.../WebRTC.framework/WebRTC' for architecture arm64
Disabling bitcode is the only currently available solution.
Add this post install routine to the end of your Podfile:
post_install do |pi| pi.pods_project.targets.each do |target| if ['LiveDigitalSDK'].include? target.name target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end end end end
Go to your app target settings, select “Build Settings” tab and set “Enable Bitcode” to “No”.