Skip to content

Commit f7d10d2

Browse files
committed
3.8.0 (#744)
1 parent 25b461c commit f7d10d2

15 files changed

+62
-38
lines changed

BuildTools/Sources/GeneratePodspecs/main.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ func render(_ m: ModuleSpec) -> String {
8383
lines.append(" s.xcconfig = { \(pairs) }")
8484
}
8585

86+
// Required for Swift `package` access level, which needs a -package-name compiler flag.
87+
// SPM sets this automatically from Package.swift `name`; CocoaPods does not.
88+
// All Readium modules share the same package name so that `package` access works across them.
89+
lines.append(" s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name \(packageName)' }")
90+
8691
if !m.dependencies.isEmpty {
8792
lines.append("")
8893
for dep in m.dependencies {

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
All notable changes to this project will be documented in this file. Take a look at [the migration guide](docs/Migration%20Guide.md) to upgrade between two major versions.
44

5-
## [Unreleased]
5+
<!-- ## [Unreleased] -->
6+
7+
## [3.8.0]
68

79
### Added
810

@@ -1151,3 +1153,4 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
11511153
[3.5.0]: https://github.com/readium/swift-toolkit/compare/3.4.0...3.5.0
11521154
[3.6.0]: https://github.com/readium/swift-toolkit/compare/3.5.0...3.6.0
11531155
[3.7.0]: https://github.com/readium/swift-toolkit/compare/3.6.0...3.7.0
1156+
[3.8.0]: https://github.com/readium/swift-toolkit/compare/3.7.0...3.8.0

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Guides are available to help you make the most of the toolkit.
103103
| Readium | iOS | Swift compiler | Xcode |
104104
|-----------|------|----------------|-------|
105105
| `develop` | 15.0 | 6.0 | 16.4 |
106-
| 3.7.0 | 15.0 | 6.0 | 16.4 |
106+
| 3.8.0 | 15.0 | 6.0 | 16.4 |
107107
| 3.0.0 | 13.4 | 5.10 | 15.4 |
108108
| 2.5.1 | 11.0 | 5.6.1 | 13.4 |
109109
| 2.5.0 | 10.0 | 5.6.1 | 13.4 |
@@ -129,7 +129,7 @@ If you're stuck, find more information at [developer.apple.com](https://develope
129129
Add the following to your `Cartfile`:
130130

131131
```
132-
github "readium/swift-toolkit" ~> 3.7.0
132+
github "readium/swift-toolkit" ~> 3.8.0
133133
```
134134

135135
Then, [follow the usual Carthage steps](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the Readium libraries to your project.
@@ -159,11 +159,11 @@ Add the following `pod` statements to your `Podfile` for the Readium libraries y
159159
source 'https://github.com/readium/podspecs'
160160
source 'https://cdn.cocoapods.org/'
161161
162-
pod 'ReadiumShared', '~> 3.7.0'
163-
pod 'ReadiumStreamer', '~> 3.7.0'
164-
pod 'ReadiumNavigator', '~> 3.7.0'
165-
pod 'ReadiumOPDS', '~> 3.7.0'
166-
pod 'ReadiumLCP', '~> 3.7.0'
162+
pod 'ReadiumShared', '~> 3.8.0'
163+
pod 'ReadiumStreamer', '~> 3.8.0'
164+
pod 'ReadiumNavigator', '~> 3.8.0'
165+
pod 'ReadiumOPDS', '~> 3.8.0'
166+
pod 'ReadiumLCP', '~> 3.8.0'
167167
```
168168

169169
Take a look at [CocoaPods's documentation](https://guides.cocoapods.org/using/using-cocoapods.html) for more information.

Support/CocoaPods/ReadiumAdapterGCDWebServer.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumAdapterGCDWebServer"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Adapter to use GCDWebServer as an HTTP server in Readium"
1010
s.homepage = "http://readium.github.io"
@@ -16,9 +16,10 @@ Pod::Spec.new do |s|
1616
s.platform = :ios
1717
s.ios.deployment_target = "15.0"
1818
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
19+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
1920

20-
s.dependency 'ReadiumInternal', '~> 3.7.0'
21-
s.dependency 'ReadiumShared', '~> 3.7.0'
21+
s.dependency 'ReadiumInternal', '~> 3.8.0'
22+
s.dependency 'ReadiumShared', '~> 3.8.0'
2223
s.dependency 'ReadiumGCDWebServer', '~> 4.0.0'
2324

2425
end

Support/CocoaPods/ReadiumAdapterLCPSQLite.podspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumAdapterLCPSQLite"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Adapter to use SQLite.swift for the Readium LCP repositories"
1010
s.homepage = "http://readium.github.io"
@@ -16,10 +16,11 @@ Pod::Spec.new do |s|
1616
s.platform = :ios
1717
s.ios.deployment_target = "15.0"
1818
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
19+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
1920

20-
s.dependency 'ReadiumInternal', '~> 3.7.0'
21-
s.dependency 'ReadiumShared', '~> 3.7.0'
22-
s.dependency 'ReadiumLCP', '~> 3.7.0'
21+
s.dependency 'ReadiumInternal', '~> 3.8.0'
22+
s.dependency 'ReadiumShared', '~> 3.8.0'
23+
s.dependency 'ReadiumLCP', '~> 3.8.0'
2324
s.dependency 'SQLite.swift', '~> 0.15.0'
2425

2526
end

Support/CocoaPods/ReadiumInternal.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumInternal"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Private utilities used by the Readium modules"
1010
s.homepage = "http://readium.github.io"
@@ -16,5 +16,6 @@ Pod::Spec.new do |s|
1616
s.platform = :ios
1717
s.ios.deployment_target = "15.0"
1818
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
19+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
1920

2021
end

Support/CocoaPods/ReadiumLCP.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumLCP"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Readium LCP"
1010
s.homepage = "http://readium.github.io"
@@ -22,9 +22,10 @@ Pod::Spec.new do |s|
2222
s.platform = :ios
2323
s.ios.deployment_target = "15.0"
2424
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
25+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
2526

26-
s.dependency 'ReadiumInternal', '~> 3.7.0'
27-
s.dependency 'ReadiumShared', '~> 3.7.0'
27+
s.dependency 'ReadiumInternal', '~> 3.8.0'
28+
s.dependency 'ReadiumShared', '~> 3.8.0'
2829
s.dependency 'ReadiumZIPFoundation', '~> 3.0.1'
2930
s.dependency 'CryptoSwift', '~> 1.8.0'
3031

Support/CocoaPods/ReadiumNavigator.podspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumNavigator"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Readium Navigator"
1010
s.homepage = "http://readium.github.io"
@@ -21,10 +21,11 @@ Pod::Spec.new do |s|
2121
s.swift_version = '5.10'
2222
s.platform = :ios
2323
s.ios.deployment_target = "15.0"
24+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
2425

25-
s.dependency 'ReadiumInternal', '~> 3.7.0'
26-
s.dependency 'ReadiumShared', '~> 3.7.0'
26+
s.dependency 'ReadiumInternal', '~> 3.8.0'
27+
s.dependency 'ReadiumShared', '~> 3.8.0'
2728
s.dependency 'DifferenceKit', '~> 1.0'
28-
s.dependency 'SwiftSoup', '~> 2.7.0'
29+
s.dependency 'SwiftSoup', '~> 2.11.0'
2930

3031
end

Support/CocoaPods/ReadiumOPDS.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumOPDS"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Readium OPDS"
1010
s.homepage = "http://readium.github.io"
@@ -16,9 +16,10 @@ Pod::Spec.new do |s|
1616
s.platform = :ios
1717
s.ios.deployment_target = "15.0"
1818
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
19+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
1920

20-
s.dependency 'ReadiumInternal', '~> 3.7.0'
21-
s.dependency 'ReadiumShared', '~> 3.7.0'
21+
s.dependency 'ReadiumInternal', '~> 3.8.0'
22+
s.dependency 'ReadiumShared', '~> 3.8.0'
2223
s.dependency 'ReadiumFuzi', '~> 4.0.0'
2324

2425
end

Support/CocoaPods/ReadiumShared.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Pod::Spec.new do |s|
55

66
s.name = "ReadiumShared"
7-
s.version = "3.7.0"
7+
s.version = "3.8.0"
88
s.license = "BSD 3-Clause License"
99
s.summary = "Readium Shared"
1010
s.homepage = "http://readium.github.io"
@@ -21,10 +21,11 @@ Pod::Spec.new do |s|
2121
s.frameworks = "CoreServices"
2222
s.libraries = 'xml2'
2323
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
24+
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-package-name Readium' }
2425

25-
s.dependency 'ReadiumInternal', '~> 3.7.0'
26+
s.dependency 'ReadiumInternal', '~> 3.8.0'
2627
s.dependency 'Minizip', '~> 1.0.0'
27-
s.dependency 'SwiftSoup', '~> 2.13.0'
28+
s.dependency 'SwiftSoup', '~> 2.11.0'
2829
s.dependency 'ReadiumFuzi', '~> 4.0.0'
2930
s.dependency 'ReadiumZIPFoundation', '~> 3.0.1'
3031

0 commit comments

Comments
 (0)