-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPodfile
65 lines (56 loc) · 1.23 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# PODFILE_PATH=../../../master-gitosis/linphone-sdk/ioslinhome/linphone-sdk.podspec pod install
platform :ios, '12.4'
source "https://gitlab.linphone.org/BC/public/podspec.git"
source "https://github.com/CocoaPods/Specs.git"
def linpod
if ENV['PODFILE_PATH'].nil?
pod 'linphone-sdk', '~> 5.0.0-alpha'
else
pod 'linphone-sdk', :path => ENV['PODFILE_PATH'] # loacl sdk : PODFILE_PATH=<Path to>/linphone-sdk.podspec pod install
end
end
# App
def app_pods
linpod
pod 'IQKeyboardManager'
pod 'PocketSVG'
pod 'Zip'
pod 'SVProgressHUD'
pod 'SwiftSVG'
pod 'DropDown'
pod 'SnapKit'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'MarqueeLabel'
pod 'DeviceGuru'
end
target 'Linhome' do
use_frameworks!
app_pods
end
# Extensions
def ext_pods
linpod
pod 'Zip'
pod 'PocketSVG'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'DeviceGuru'
end
target 'LinhomeContentExtension' do
use_frameworks!
ext_pods
end
target 'LinhomeServiceExtension' do
use_frameworks!
ext_pods
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'SwiftSVG'
target.build_configurations.each do |config|
config.build_settings['SWIFT_INSTALL_OBJC_HEADER'] = 'NO'
end
end
end
end