Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit b343c60

Browse files
committed
Bump to 2.1.0
1 parent 330dc3e commit b343c60

File tree

3 files changed

+38
-9
lines changed

3 files changed

+38
-9
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. SPTDataLoad
33

44
--
55

6+
## [2.1.0](https://github.com/spotify/SPTDataLoader/releases/tag/2.1.0)
7+
_Released on 2021-02-16._
8+
9+
### Added
10+
* Added SPTDataLoaderBlockWrapper callback API
11+
* Added SPTDataLoaderSwift overlay
12+
* Added Xcode 12 support
13+
14+
### Changed
15+
* Changed Accept-Language header to remove duplicates
16+
* Changed modules to be disabled by default for static library and test targets
17+
618
## [2.0.0](https://github.com/spotify/SPTDataLoader/releases/tag/2.0.0)
719
_Released on 2020-07-23._
820

Framework/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.1</string>
18+
<string>2.1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

SPTDataLoader.podspec

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SPTDataLoader"
4-
s.version = "2.0.0"
4+
s.version = "2.1.0"
55
s.summary = "SPTDataLoader is Spotify’s HTTP library for Objective-C"
66

77
s.description = <<-DESC
@@ -23,12 +23,29 @@ Pod::Spec.new do |s|
2323
"Will Sackfield" => "sackfield@spotify.com"
2424
}
2525

26-
s.source = { :git => "https://github.com/spotify/SPTDataLoader.git", :tag => s.version }
27-
s.source_files = "include/SPTDataLoader/*.h", "SPTDataLoader/*.{h,m}"
28-
s.public_header_files = "include/SPTDataLoader/*.h"
29-
s.framework = "Security"
30-
s.xcconfig = {
31-
"OTHER_LDFLAGS" => "-lObjC"
32-
}
26+
s.source = { :git => "https://github.com/spotify/SPTDataLoader.git", :tag => s.version }
27+
s.swift_version = "5.1"
28+
29+
s.default_subspec = "Core"
30+
31+
s.subspec "Core" do |sp|
32+
sp.source_files = "include/SPTDataLoader/*.h", "Sources/SPTDataLoader/*.{h,m}"
33+
sp.public_header_files = "include/SPTDataLoader/*.h"
34+
sp.framework = "Security"
35+
sp.xcconfig = {
36+
"OTHER_LDFLAGS" => "-lObjC"
37+
}
38+
end
39+
40+
s.subspec "Swift" do |sp|
41+
sp.dependency "SPTDataLoader/Core"
42+
43+
sp.source_files = "Sources/SPTDataLoaderSwift/**/*.swift"
44+
45+
sp.ios.deployment_target = "10.0"
46+
sp.osx.deployment_target = "10.12"
47+
sp.tvos.deployment_target = "10.0"
48+
sp.watchos.deployment_target = "3.0"
49+
end
3350

3451
end

0 commit comments

Comments
 (0)