-
Notifications
You must be signed in to change notification settings - Fork 34
/
Podfile
119 lines (99 loc) · 3.23 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
install! "cocoapods", :deterministic_uuids => false
source "https://github.com/CocoaPods/Specs.git"
inhibit_all_warnings!
use_frameworks!
project "Stepic",
"Production Debug" => :debug,
"Production Release" => :release,
"Release Debug" => :debug,
"Release Release" => :release,
"Develop Debug" => :debug,
"Develop Release" => :release
def shared_pods
pod "StepikModel", path: "./StepikModel"
pod "Alamofire", "5.4.4"
pod "Atributika", "4.10.1"
pod "SwiftyJSON", "5.0.0"
pod "SDWebImage", "5.12.1"
pod "SVGKit", :git => "https://github.com/SVGKit/SVGKit.git", :branch => "2.x"
pod "DeviceKit", "4.5.2"
pod "PromiseKit", :git => "https://github.com/mxcl/PromiseKit.git", :tag => "6.16.2"
pod "SwiftLint", "0.45.1"
if ENV["FASTLANE_BETA_PROFILE"] == "true"
pod "FLEX",
:git => "https://github.com/ivan-magda/FLEX.git",
:branch => "master"
else
pod "FLEX",
:git => "https://github.com/ivan-magda/FLEX.git",
:branch => "master",
:configurations => ["Production Debug", "Release Debug", "Develop Debug"]
end
end
def all_pods
shared_pods
pod "DownloadButton", "0.1.0"
pod "SVProgressHUD", "2.2.5"
pod "SnapKit", "5.0.1"
# Firebase
pod "Firebase/Core", "8.9.1"
pod "Firebase/Messaging", "8.9.1"
pod "Firebase/Analytics", "8.9.1"
pod "Firebase/Crashlytics", "8.9.1"
pod "Firebase/RemoteConfig", "8.9.1"
pod "YandexMobileMetrica/Dynamic", "3.17.0"
pod "Amplitude", "8.5.0"
pod "Branch", "1.40.2"
pod "BEMCheckBox", "1.4.1"
pod "IQKeyboardManagerSwift", "6.5.6"
pod "Kanna", "5.2.7"
pod "TUSafariActivity", "1.0.4"
# Social SDKs
pod "VK-ios-sdk", "1.6.2"
# pod "FBSDKCoreKit", "8.2.0"
# pod "FBSDKLoginKit", "8.2.0"
pod "GoogleSignIn", "6.1.0"
pod "Presentr", :git => "https://github.com/ivan-magda/Presentr.git", :tag => "v1.9.1"
pod "PanModal", :git => "https://github.com/ivan-magda/PanModal.git", :branch => "remove-presenting-appearance-transitions"
pod "Agrume", "5.6.13"
pod "Highlightr", :git => "https://github.com/ivan-magda/Highlightr.git", :tag => "v2.1.3"
pod "TTTAttributedLabel", "2.0.0"
pod "lottie-ios", "3.2.3"
pod "Koloda", "5.0.1"
pod "Charts", "4.1.0"
pod "EasyTipView", "2.1.0"
pod "ActionSheetPicker-3.0", "2.7.1"
pod "Nuke", "9.5.0"
pod "STRegex", "2.1.1"
pod "Tabman", "2.10.0"
pod "SwiftDate", "6.3.1"
end
def testing_pods
pod "Quick", "4.0.0"
pod "Nimble", "9.2.1"
pod "Mockingjay", :git => "https://github.com/kylef/Mockingjay.git", :branch => "master"
end
target "Stepic" do
platform :ios, "12.0"
all_pods
target "StepicTests" do
inherit! :search_paths
all_pods
testing_pods
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"].to_f < 12.0
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "12.0"
end
end
# Fix Xcode 14 bundle code signing issue
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings["CODE_SIGNING_ALLOWED"] = "NO"
end
end
end
end