forked from RocketChat/Rocket.Chat.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
100 lines (79 loc) · 2.07 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_frameworks!
inhibit_all_warnings!
def database_pods
pod 'RealmSwift'
pod 'SwiftyJSON'
end
def ui_pods
pod 'MBProgressHUD', '~> 1.1.0'
end
def diff_pods
pod 'DifferenceKit', '~> 1.0'
end
def jitsi_pods
pod 'JitsiMeetSDK'
end
def shared_pods
# Analytics
pod 'Firebase/Core'
# Crash Report
pod 'Fabric'
pod 'Crashlytics'
# Code utilities
pod 'semver'
# UI
pod 'RocketChatViewController', :git => 'https://github.com/RocketChat/RocketChatViewController'
pod 'MobilePlayer', :git => 'https://github.com/RocketChat/RCiOSMobilePlayer'
pod 'SimpleImageViewer', :git => 'https://github.com/cardoso/SimpleImageViewer.git'
pod 'SwipeCellKit'
ui_pods
# Text Processing
pod 'RCMarkdownParser', :git => 'https://github.com/RocketChat/RCMarkdownParser.git'
# Database
database_pods
# Network
pod 'Nuke', '~> 7.6'
pod 'Nuke-FLAnimatedImage-Plugin'
pod 'Starscream', '~> 3'
pod 'ReachabilitySwift'
# Authentication SDKs
pod 'OAuthSwift'
pod '1PasswordExtension'
# Debugging
pod 'SwiftLint', :configurations => ['Debug']
pod 'FLEX', '~> 2.0', :configurations => ['Debug', 'Beta']
end
target 'Rocket.Chat.ShareExtension' do
pod 'Nuke-FLAnimatedImage-Plugin'
database_pods
ui_pods
diff_pods
end
target 'Rocket.Chat' do
shared_pods
jitsi_pods
end
target 'Rocket.ChatTests' do
shared_pods
end
post_install do |installer|
swift42Targets = ['RCMarkdownParser', 'MobilePlayer']
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
config.build_settings['ENABLE_BITCODE'] = 'NO'
if config.name == 'Debug'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
else
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
end
if swift42Targets.include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
end
end