forked from devMEremenko/XcodeBenchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
100 lines (84 loc) · 2.57 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
100
source = 'https://github.com/CocoaPods/Specs.git'
minimum_target = '14.5'
platform :ios, minimum_target
target 'XcodeBenchmark' do
use_frameworks!
inhibit_all_warnings!
# Firebase
pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
pod 'FirebaseFirestore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
pod 'FirebaseAuth'
pod 'FirebaseAnalytics'
pod 'FirebaseRemoteConfig'
pod 'FirebaseStorage'
pod 'FirebaseMessaging'
# pod 'Firebase'
# pod 'Firebase/Database'
# pod 'Firebase/RemoteConfig'
# pod 'Firebase/Analytics'
# pod 'Firebase/Messaging'
# pod 'FirebaseFirestoreSwift'
# pod 'Firebase/Storage'
pod 'lottie-ios'
# Networking
pod 'AFNetworking'
pod 'SDWebImage'
pod 'Moya'
pod 'Starscream'
# Core
pod 'SwiftyJSON'
pod 'Realm'
pod 'MagicalRecord', :git => 'https://github.com/magicalpanda/MagicalRecord'
pod 'RxBluetoothKit', :git => 'https://github.com/i-mobility/RxBluetoothKit.git', :tag => '7.0.4'
pod 'ReactiveCocoa'
pod 'CryptoSwift'
pod 'R.swift.Library'
pod 'ObjectMapper'
pod 'TRON'
pod 'DTCollectionViewManager'
pod 'DTTableViewManager'
pod 'Ariadne'
pod 'LoadableViews'
pod 'SwiftDate'
pod 'SwiftyBeaver'
# UI
pod 'Hero'
pod 'SVProgressHUD'
pod 'Eureka'
pod 'IQKeyboardManagerSwift'
pod 'Macaw'
# Layout
pod 'SnapKit'
pod 'Masonry'
# Google
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'Google-Mobile-Ads-SDK'
pod 'GoogleSignIn'
# Social
pod 'VK-ios-sdk'
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'FacebookShare'
end
post_install do |pi|
pi.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = minimum_target
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
if file.settings && file.settings['COMPILER_FLAGS']
flags = file.settings['COMPILER_FLAGS'].split
flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
file.settings['COMPILER_FLAGS'] = flags.join(' ')
end
end
end
end
end