-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPodfile
36 lines (28 loc) · 998 Bytes
/
Podfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
source 'https://cdn.cocoapods.org/'
source 'https://gitlab.linphone.org/BC/public/podspec.git'
platform :ios, '12.0'
inhibit_all_warnings!
$PODFILE_PATH = 'liblinphone'
target 'Simlar' do
use_frameworks!
pod 'libPhoneNumber-iOS', git: 'https://github.com/iziz/libPhoneNumber-iOS', tag: '1.1'
pod 'CocoaLumberjack', '3.8.5'
if File.exist?($PODFILE_PATH)
pod 'linphone-sdk', :path => $PODFILE_PATH
else
pod 'linphone-sdk', '5.3.63'
end
target 'SimlarTests' do
inherit! :search_paths
end
end
install! 'cocoapods', :disable_input_output_paths => true
post_install do | installer |
require 'fileutils'
FileUtils.cp_r('Pods/Target Support Files/Pods-Simlar/Pods-Simlar-acknowledgements.plist', 'Simlar/Settings.bundle/PodsAcknowledgements.plist', :remove_destination => true)
installer.pods_project.targets.each do | target |
target.build_configurations.each do | config |
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end