-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPodfile
50 lines (41 loc) · 1.04 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
platform :ios, '12.0'
inhibit_all_warnings!
workspace 'eXo'
project 'eXo.xcodeproj'
use_frameworks!
target "eXo" do
pod 'SVProgressHUD'
pod 'SwiftyJSON'
pod 'UICKeyChainStore'
pod 'HTMLKit'
pod 'Firebase/Crashlytics'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Kingfisher'
target "eXoTests" do
inherit! :search_paths
end
target "eXoUITests" do
inherit! :search_paths
end
end
target "share-extension" do
pod 'UICKeyChainStore'
pod 'HTMLKit'
end
# Fix xcode Warning for Release config
# https://github.com/CocoaPods/CocoaPods/issues/4439
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
if config.name == 'Release'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
else
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
end
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end