forked from artsy/eigen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
182 lines (154 loc) · 5.73 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!
# Note: These should be reflected _accurately_ in the environment of
# the continuous build server.
plugin 'cocoapods-keys', {
:project => "Artsy",
:target => "Artsy",
:keys => [
"ArtsyAPIClientSecret",
"ArtsyAPIClientKey",
"ArtsyFacebookAppID",
"ArtsyTwitterKey",
"ArtsyTwitterSecret",
"ArtsyTwitterStagingKey",
"ArtsyTwitterStagingSecret",
"SegmentProductionWriteKey",
"SegmentDevWriteKey",
"AdjustProductionAppToken",
"ArtsyEchoProductionToken",
]
}
target 'Artsy' do
# Networking
pod 'AFNetworking', "~> 2.5"
pod 'AFOAuth1Client', :git => "https://github.com/lxcid/AFOAuth1Client.git", :tag => "0.4.0"
pod 'AFNetworkActivityLogger'
pod 'SDWebImage', '>= 3.7.2' # 3.7.2 contains a fix that allows you to not force decoding each image, which uses lots of memory
# Core
# This is used once on the inquiryVC, could be pulled out
pod 'ALPValidator'
pod 'ARGenericTableViewController', :git => 'https://github.com/orta/ARGenericTableViewController.git'
pod 'CocoaLumberjack', :git => 'https://github.com/CocoaLumberjack/CocoaLumberjack.git' # Unreleased > 2.0.1 version has a CP modulemap fix
pod 'FLKAutoLayout', :git => 'https://github.com/orta/FLKAutoLayout.git', :branch => 'v1'
pod 'FXBlurView'
pod 'iRate'
pod 'ISO8601DateFormatter', :git => "https://github.com/orta/iso-8601-date-formatter"
pod 'JLRoutes', :git => 'https://github.com/orta/JLRoutes.git'
pod 'JSBadgeView'
pod 'JSDecoupledAppDelegate'
pod 'Mantle', '~> 1.5.6'
pod 'MMMarkdown'
pod 'NPKeyboardLayoutGuide'
pod 'ReactiveCocoa'
pod 'UICKeyChainStore'
pod 'MARKRangeSlider'
pod 'EDColor'
pod 'SSFadingScrollView', :git => 'https://github.com/alloy/SSFadingScrollView.git', :branch => 'add-axial-support'
# Core owned by Artsy
pod 'ARTiledImageView', :git => 'https://github.com/dblock/ARTiledImageView'
pod 'ORStackView', '2.0.3'
pod 'UIView+BooleanAnimations'
pod 'NAMapKit', :git => 'https://github.com/neilang/NAMapKit'
pod 'Aerodramus', :git => 'https://github.com/artsy/Aerodramus.git', :branch => 'tests'
# Custom CollectionView Layouts
pod 'ARCollectionViewMasonryLayout', :git => 'https://github.com/ashfurrow/ARCollectionViewMasonryLayout', :branch => "modern"
# Deprecated:
# UIAlertView is deprecated for iOS8 APIs
pod 'UIAlertView+Blocks'
# Language Enhancements
pod 'KSDeferred'
pod 'MultiDelegate'
pod 'ObjectiveSugar'
# Artsy Spec repo stuff
pod 'Artsy-UIButtons'
pod 'Artsy+UIColors'
pod 'Artsy+UILabels'
pod 'Extraction'
pod 'Emission'
if ENV['ARTSY_STAFF_MEMBER'] != nil || ENV['CI'] != nil
pod 'Artsy+UIFonts', :git => "https://github.com/artsy/Artsy-UIFonts.git"
else
pod 'Artsy+UIFonts', :git => "https://github.com/artsy/Artsy-OSSUIFonts.git"
end
# Facebook
pod 'FBSDKCoreKit', '~> 4.9'
pod 'FBSDKLoginKit', '~> 4.9'
# Analytics
pod 'Analytics'
pod 'ARAnalytics', :git=> "https://github.com/orta/ARAnalytics.git", :commit => "6f31b5c7bcbd59d4dac7e92e215d3c2c22f3400e", :subspecs => ["Segmentio", "HockeyApp", "Adjust", "DSL"]
# Developer Pods
pod 'DHCShakeNotifier'
pod 'ORKeyboardReactingApplication'
pod 'VCRURLConnection'
# Easter Eggs
pod 'ARASCIISwizzle'
pod 'DRKonamiCode'
# Swift pods 🎉
pod 'Then'
pod 'Interstellar/Core', git: 'https://github.com/JensRavens/Interstellar.git', branch: 'feature/v2'
pod 'Starscream'
pod 'SwiftyJSON'
# Used in Live Auctions to hold user-state
pod 'JWTDecode'
target 'Artsy Tests' do
inherit! :search_paths
# Temporary, should be removed post CP 1.0
# https://github.com/facebook/ios-snapshot-test-case/pull/141
pod 'FBSnapshotTestCase', git: 'https://github.com/orta/ios-snapshot-test-case.git'
pod 'Expecta+Snapshots'
pod 'OHHTTPStubs'
pod 'XCTest+OHHTTPStubSuiteCleanUp'
pod 'Specta'
pod 'Expecta'
pod 'OCMock'
pod 'Forgeries/Mocks', :git => "https://github.com/ashfurrow/Forgeries.git", :branch => "application"
# Swift pods 🎉
pod 'Quick'
pod 'Nimble'
pod 'Nimble-Snapshots'
end
end
post_install do |installer|
# Disable bitcode for now. Specifically needed for HockeySDK and ARAnalytics.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
# CI was having trouble shipping signed builds
# https://github.com/CocoaPods/CocoaPods/issues/4011
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
react = installer.pods_project.targets.find { |target| target.name == 'React' }
react.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = "$(inherited) RCT_DEV=0"
end
# TODO:
# * ORStackView: Move Laura's changes into master and update
# * Send PRs for the rest
%w(
Pods/ORStackView/Classes/ios/ORStackView.h
Pods/ARAnalytics/ARAnalytics.h
Pods/ARTiledImageView/Classes/ARTiledImageViewDataSource.h
Pods/DRKonamiCode/Sources/DRKonamiGestureRecognizer.h
Pods/NAMapKit/NAMapKit/*.h
).flat_map { |x| Dir.glob(x) }.each do |header|
addition = "#import <UIKit/UIKit.h>\n"
contents = File.read(header)
unless contents.include?(addition)
File.open(header, "w") do |file|
file.puts addition
file.puts contents
end
end
end
end