-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetworkingServiceKit.podspec
More file actions
52 lines (44 loc) · 2.38 KB
/
Copy pathNetworkingServiceKit.podspec
File metadata and controls
52 lines (44 loc) · 2.38 KB
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
#
# Be sure to run `pod lib lint NetworkingServiceKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'NetworkingServiceKit'
s.version = '1.8.2'
s.summary = 'A service layer of networking microservices for iOS.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
NetworkingServiceKit is the reincarnation of the standard iOS monolith api client. Using a modular approach to services, the framework enables the user to select which services they will need to have running. Also, NetworkingServiceKit takes a different approach when it comes to using Network Clients like AFNetworking/Alamofire. All requests are routed through a protocol, which makes the library loosely coupled from the networking implementation.
DESC
s.homepage = 'https://github.com/makingspace/NetworkingServiceKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'darkzlave' => 'phillipe@makespace.com' }
s.source = { :git => 'https://github.com/makingspace/NetworkingServiceKit.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/darkzlave'
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS[config=Debug]' => '-D DEBUG',
'OTHER_SWIFT_FLAGS[config=Staging]' => '-D STAGING'
}
s.ios.deployment_target = '10.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'NetworkingServiceKit/Classes/**/*'
core.dependency 'Alamofire'
core.dependency 'SwiftyJSON'
end
s.subspec 'ReactiveSwift' do |reactive_swift|
reactive_swift.source_files = 'NetworkingServiceKit/Classes/**/*', 'NetworkingServiceKit/ReactiveSwift/*'
reactive_swift.dependency 'Alamofire'
reactive_swift.dependency 'AlamofireImage'
reactive_swift.dependency 'CryptoSwift'
reactive_swift.dependency 'SwiftyJSON'
reactive_swift.dependency 'ReactiveSwift'
end
end