forked from RocketChat/Rocket.Chat.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
70 lines (57 loc) · 1.67 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
def shared_pods
# Crash Report
pod 'Fabric'
pod 'Crashlytics'
pod 'Instabug'
# Code utilities
pod 'SwiftyJSON'
pod 'semver', :git => 'https://github.com/rafaelks/Semver.Swift.git', :branch => 'chore/swift4'
# UI
pod 'SideMenuController', :git => 'https://github.com/rafaelks/SideMenuController.git'
pod 'SlackTextViewController', :git => 'https://github.com/rafaelks/SlackTextViewController.git'
pod 'MobilePlayer'
pod 'SimpleImageViewer', :git => 'https://github.com/cardoso/SimpleImageViewer.git'
pod 'TagListView', '~> 1.0'
pod 'SearchTextField'
# Text Processing
pod 'RCMarkdownParser', :git => 'https://github.com/RocketChat/RCMarkdownParser.git'
# Database
pod 'RealmSwift'
# Network
pod 'SDWebImage', '~> 4'
pod 'SDWebImage/GIF'
pod 'Starscream'
pod 'ReachabilitySwift'
# Authentication SDKs
pod 'OAuthSwift'
pod '1PasswordExtension'
pod 'GoogleSignIn'
# Debugging
pod 'SwiftLint', :configurations => ['Debug']
pod 'FLEX', '~> 2.0', :configurations => ['Debug', 'Beta']
end
target 'Rocket.Chat' do
# Shared pods
shared_pods
end
target 'Rocket.ChatTests' do
# Shared pods
shared_pods
end
post_install do |installer|
swift4Targets = ['OAuthSwift', 'TagListView', 'SearchTextField']
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.1'
end
if swift4Targets.include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end