-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
58 lines (46 loc) · 1.79 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
platform :osx, '10.10'
use_frameworks!
target 'Criollo Web' do
pod 'Criollo', '1.0.1'
pod 'CSFeedKit', '0.3.0'
pod 'CSOddFormatters', '1.1.1'
pod 'CSSystemInfoHelper', '1.4.2'
pod 'JSONModel', '1.8.0'
pod 'JWT', '3.0.0-beta.12'
pod 'MMMarkdown', '0.5.5'
pod 'Realm', '10.0.0-beta.3'
pod 'STTwitter', '0.2.6'
end
post_install do |installer|
# Change settings per build config
installer.pods_project.targets.each do |target|
if target.name == "JWT"
`git apply Patches/JWT-3.0.0-beta.12.diff 2> /dev/null`
end
if target.name == "MMMarkdown"
`git apply Patches/MMMarkdown-0.5.5.diff 2> /dev/null`
end
if target.name == "STTwitter"
`git apply Patches/STTwitter-0.2.6.diff 2> /dev/null`
end
# Change settings per target, per build configuration
target.build_configurations.each do |config|
# Xcode 11.5 recommended settings
config.build_settings.delete("ARCHS")
if target.name == "JWT"
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = "10.10"
config.build_settings["GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS"] = "NO"
config.build_settings["CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS"] = "NO"
end
if target.name == "MMMarkdown"
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = "10.10"
end
if target.name == "STTwitter"
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = "10.10"
config.build_settings["CLANG_WARN_STRICT_PROTOTYPES"] = "NO"
config.build_settings["CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF"] = "NO"
config.build_settings["CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS"] = "NO"
end
end
end
end