forked from parse-community/Parse-SDK-iOS-OSX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Parse.podspec
181 lines (162 loc) · 7.91 KB
/
Parse.podspec
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
Pod::Spec.new do |s|
s.name = 'Parse'
s.version = '1.17.3'
s.license = { :type => 'BSD', :file => 'LICENSE' }
s.homepage = 'http://parseplatform.org/'
s.summary = 'A library that gives you access to the powerful Parse cloud platform from your iOS/OS X/watchOS/tvOS app.'
s.authors = 'Parse Community'
s.social_media_url = 'https://twitter.com/ParsePlatform'
s.source = { :git => 'https://github.com/parse-community/Parse-SDK-iOS-OSX.git', :tag => s.version.to_s }
s.platform = :ios, :osx, :tvos, :watchos
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.2'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '2.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |s|
s.requires_arc = true
s.source_files = 'Parse/Parse/*.{h,m}',
'Parse/Parse/Internal/**/*.{h,m}'
s.public_header_files = 'Parse/Parse/*.h'
s.private_header_files = 'Parse/Parse/Internal/**/*.h'
s.ios.exclude_files = 'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
s.osx.exclude_files = 'Parse/Parse/PFNetworkActivityIndicatorManager.{h,m}',
'Parse/Parse/PFProduct.{h,m}',
'Parse/Parse/PFPurchase.{h,m}',
'Parse/Parse/Internal/PFAlertView.{h,m}',
'Parse/Parse/Internal/Product/**/*.{h,m}',
'Parse/Parse/Internal/Purchase/**/*.{h,m}',
'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
s.tvos.exclude_files = 'Parse/Parse/PFNetworkActivityIndicatorManager.{h,m}',
'Parse/Parse/Internal/PFAlertView.{h,m}'
s.watchos.exclude_files = 'Parse/Parse/PFNetworkActivityIndicatorManager.{h,m}',
'Parse/Parse/PFProduct.{h,m}',
'Parse/Parse/PFPurchase.{h,m}',
'Parse/Parse/PFPush.{h,m}',
'Parse/Parse/PFPush+Synchronous.{h,m}',
'Parse/Parse/PFPush+Deprecated.{h,m}',
'Parse/Parse/PFInstallation.{h,m}',
'Parse/Parse/Internal/PFAlertView.{h,m}',
'Parse/Parse/Internal/PFReachability.{h,m}',
'Parse/Parse/Internal/Product/**/*.{h,m}',
'Parse/Parse/Internal/Purchase/**/*.{h,m}',
'Parse/Parse/Internal/Push/**/*.{h,m}',
'Parse/Parse/Internal/Installation/Controller/*.{h,m}',
'Parse/Parse/Internal/Installation/Constants/*.{h,m}',
'Parse/Parse/Internal/Installation/CurrentInstallationController/*.{h,m}',
'Parse/Parse/Internal/Installation/PFInstallationPrivate.h',
'Parse/Parse/Internal/Commands/PFRESTPushCommand.{h,m}',
'Parse/Parse/Internal/PFMemoryEventuallyQueue.{h,m}'
s.resource_bundle = { 'Parse' => 'Parse/Parse/Resources/en.lproj' }
s.ios.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'StoreKit',
'SystemConfiguration'
s.ios.weak_frameworks = 'Accounts',
'Social'
s.osx.frameworks = 'ApplicationServices',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'SystemConfiguration'
s.tvos.frameworks = 'CoreLocation',
'StoreKit',
'SystemConfiguration',
'Security'
s.libraries = 'z', 'sqlite3'
s.dependency 'Bolts/Tasks', '~> 1.9'
end
s.subspec 'FacebookUtils' do |s|
s.platform = :ios
s.ios.deployment_target = '8.0'
s.public_header_files = 'ParseFacebookUtils/ParseFacebookUtils/*.h'
s.source_files = 'ParseFacebookUtils/ParseFacebookUtils/**/*.{h,m}'
s.exclude_files = 'ParseFacebookUtils/ParseFacebookUtils/ParseFacebookUtilsV4.h',
'ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/tvOS/**/*.{h,m}'
s.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'SystemConfiguration'
s.ios.weak_frameworks = 'Accounts',
'Social'
s.libraries = 'z', 'sqlite3'
s.dependency 'Parse/Core'
s.dependency 'Bolts/Tasks', '~> 1.9'
s.dependency 'FBSDKLoginKit', '~> 5.x'
end
s.subspec 'FacebookUtils-tvOS' do |s|
s.platform = :tvos
s.tvos.deployment_target = '10.0'
s.public_header_files = 'ParseFacebookUtils/ParseFacebookUtils/*.h'
s.source_files = 'ParseFacebookUtils/ParseFacebookUtils/**/*.{h,m}'
s.exclude_files = 'ParseFacebookUtils/ParseFacebookUtils/ParseFacebookUtilsV4.h',
'ParseFacebookUtils/ParseFacebookUtils/Internal/AuthenticationProvider/iOS/**/*.{h,m}'
s.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'SystemConfiguration'
s.libraries = 'z', 'sqlite3'
s.dependency 'Parse/Core'
s.dependency 'Bolts/Tasks', '~> 1.9'
s.dependency 'FBSDKTVOSKit', '~> 5.x'
s.dependency 'FBSDKShareKit', '~> 5.x'
end
s.subspec 'TwitterUtils' do |s|
s.platform = :ios
s.public_header_files = 'ParseTwitterUtils/ParseTwitterUtils/*.h'
s.source_files = 'ParseTwitterUtils/ParseTwitterUtils/**/*.{h,m}'
s.exclude_files = 'ParseTwitterUtils/ParseTwitterUtils/ParseTwitterUtils.h'
s.resource_bundle = { 'TwitterUtils' => 'ParseTwitterUtils/Resources/en.lproj' }
s.frameworks = 'AudioToolbox',
'CFNetwork',
'CoreGraphics',
'CoreLocation',
'QuartzCore',
'Security',
'StoreKit',
'SystemConfiguration'
s.weak_frameworks = 'Accounts',
'Social'
s.libraries = 'z', 'sqlite3'
s.dependency 'Parse/Core'
end
s.subspec 'UI' do |s|
s.platform = :ios
s.requires_arc = true
s.ios.deployment_target = '9.0'
s.source_files = 'ParseUI/**/*.{h,m}'
s.exclude_files = 'ParseUI/ParseUIDemo/**/*', 'ParseUI/Other/ParseUI.h'
s.public_header_files = 'ParseUI/Classes/LogInViewController/*.h',
'ParseUI/Classes/SignUpViewController/*.h',
'ParseUI/Classes/QueryTableViewController/*.h',
'ParseUI/Classes/QueryCollectionViewController/*.h',
'ParseUI/Classes/ProductTableViewController/*.h',
'ParseUI/Classes/Views/*.h',
'ParseUI/Classes/Cells/*.h',
'ParseUI/Other/*.h'
s.resource_bundles = { 'ParseUI' => ['ParseUI/Resources/Localization/*.lproj'] }
s.frameworks = 'Foundation',
'UIKit',
'CoreGraphics',
'QuartzCore'
s.dependency 'Parse/Core'
end
# prepare command for parseUI
s.prepare_command = <<-CMD
ruby ParseUI/Scripts/convert_images.rb \
ParseUI/Resources/Images/ \
ParseUI/Generated/PFResources
CMD
end