-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathSPTDataLoader.podspec
45 lines (36 loc) · 1.55 KB
/
SPTDataLoader.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
Pod::Spec.new do |s|
s.name = "SPTDataLoader"
s.version = "2.2.0"
s.summary = "SPTDataLoader is Spotify’s HTTP library for Objective-C"
s.description = <<-DESC
Authentication and back-off logic is a pain, let’s do it
once and forget about it! This is a library that allows you
to centralise this logic and forget about the ugly parts of
making HTTP requests.
DESC
s.ios.deployment_target = "10.0"
s.osx.deployment_target = "10.12"
s.tvos.deployment_target = "10.0"
s.watchos.deployment_target = "3.0"
s.homepage = "https://github.com/spotify/SPTDataLoader"
s.social_media_url = "https://twitter.com/spotifyeng"
s.license = "Apache 2.0"
s.author = {
"Will Sackfield" => "[email protected]"
}
s.source = { :git => "https://github.com/spotify/SPTDataLoader.git", :tag => s.version }
s.swift_version = "5.1"
s.default_subspec = "Core"
s.subspec "Core" do |sp|
sp.source_files = "include/SPTDataLoader/*.h", "Sources/SPTDataLoader/*.{h,m}"
sp.public_header_files = "include/SPTDataLoader/*.h"
sp.framework = "Security"
sp.xcconfig = {
"OTHER_LDFLAGS" => "-lObjC"
}
end
s.subspec "Swift" do |sp|
sp.dependency "SPTDataLoader/Core"
sp.source_files = "Sources/SPTDataLoaderSwift/**/*.swift"
end
end