2020-06-23 21:16:00 +08:00
|
|
|
# Uncomment the next line to define a global platform for your project
|
|
|
|
platform :ios, '11.0'
|
|
|
|
source "https://gitlab.linphone.org/BC/public/podspec.git"
|
2020-07-24 21:55:28 +08:00
|
|
|
source "https://github.com/CocoaPods/Specs.git"
|
2020-06-23 21:16:00 +08:00
|
|
|
|
|
|
|
def basic_pods
|
|
|
|
if ENV['PODFILE_PATH'].nil?
|
2021-10-15 23:43:56 +08:00
|
|
|
pod 'linphone-sdk', '~> 5.0.48'
|
2020-07-24 21:55:28 +08:00
|
|
|
else
|
2020-06-23 21:16:00 +08:00
|
|
|
pod 'linphone-sdk', :path => ENV['PODFILE_PATH'] # local sdk
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-24 21:55:28 +08:00
|
|
|
target 'Helloworld' do
|
2020-06-23 21:16:00 +08:00
|
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
|
|
use_frameworks!
|
|
|
|
|
2020-07-24 21:55:28 +08:00
|
|
|
# Pods for Helloworld
|
2020-06-23 21:16:00 +08:00
|
|
|
basic_pods
|
|
|
|
|
|
|
|
end
|