Skip to content

Commit

Permalink
Bump the minimum iOS version to 13 (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed May 17, 2024
1 parent 356caa8 commit a1dd426
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 44 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ All notable changes to this project will be documented in this file. Take a look

### Changed

The Readium Swift toolkit now requires a minimum of iOS 13.

#### Shared

* The `Link` property key for archive-based publication assets (e.g. an EPUB/ZIP) is now `https://readium.org/webpub-manifest/properties#archive` instead of `archive`.
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import PackageDescription
let package = Package(
name: "Readium",
defaultLocalization: "en",
platforms: [.iOS(.v11)],
platforms: [.iOS(.v13)],
products: [
.library(name: "ReadiumShared", targets: ["ReadiumShared"]),
.library(name: "ReadiumStreamer", targets: ["ReadiumStreamer"]),
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ This toolkit is a modular project, which follows the [Readium Architecture](http

| Readium | iOS | Swift compiler | Xcode |
|-----------|------|----------------|--------|
| `develop` | 11.0 | 5.9 | 15.0.1 |
| `develop` | 13.0 | 5.9 | 15.0.1 |
| 3.0.0 | 13.0 | 5.9 | 15.0.1 |
| 2.5.1 | 11.0 | 5.6.1 | 13.4 |
| 2.5.0 | 10.0 | 5.6.1 | 13.4 |
| 2.4.0 | 10.0 | 5.3.2 | 12.4 |
Expand Down
14 changes: 7 additions & 7 deletions Support/Carthage/.xcodegen
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"target" : "ReadiumInternal"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand All @@ -88,7 +88,7 @@
"type" : "framework"
},
"ReadiumInternal" : {
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down Expand Up @@ -125,7 +125,7 @@
"target" : "ReadiumInternal"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down Expand Up @@ -159,7 +159,7 @@
"target" : "ReadiumInternal"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down Expand Up @@ -195,7 +195,7 @@
"target" : "ReadiumInternal"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down Expand Up @@ -226,7 +226,7 @@
"sdk" : "CoreServices.framework"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down Expand Up @@ -263,7 +263,7 @@
"target" : "ReadiumInternal"
}
],
"deploymentTarget" : "11.0",
"deploymentTarget" : "13.0",
"platform" : "iOS",
"settings" : {
"INFOPLIST_FILE" : "Info.plist",
Expand Down
28 changes: 14 additions & 14 deletions Support/Carthage/Readium.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2607,7 +2607,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2635,7 +2635,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2663,7 +2663,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2691,7 +2691,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2719,7 +2719,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2747,7 +2747,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2775,7 +2775,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2803,7 +2803,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2893,7 +2893,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2921,7 +2921,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -3004,7 +3004,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -3032,7 +3032,7 @@
);
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -3056,7 +3056,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
14 changes: 7 additions & 7 deletions Support/Carthage/project-as-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ targets:
ReadiumShared:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Shared
excludes:
Expand All @@ -29,7 +29,7 @@ targets:
ReadiumStreamer:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Streamer
excludes:
Expand All @@ -50,7 +50,7 @@ targets:
ReadiumNavigator:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Navigator
excludes:
Expand All @@ -72,7 +72,7 @@ targets:
ReadiumOPDS:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/OPDS
dependencies:
Expand All @@ -87,7 +87,7 @@ targets:
ReadiumLCP:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/LCP
dependencies:
Expand All @@ -105,7 +105,7 @@ targets:
ReadiumAdapterGCDWebServer:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Adapters/GCDWebServer
dependencies:
Expand All @@ -119,7 +119,7 @@ targets:
ReadiumInternal:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Internal
settings:
Expand Down
14 changes: 7 additions & 7 deletions Support/Carthage/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ targets:
ReadiumShared:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Shared
excludes:
Expand All @@ -27,7 +27,7 @@ targets:
ReadiumStreamer:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Streamer
excludes:
Expand All @@ -48,7 +48,7 @@ targets:
ReadiumNavigator:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Navigator
excludes:
Expand All @@ -70,7 +70,7 @@ targets:
ReadiumOPDS:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/OPDS
dependencies:
Expand All @@ -85,7 +85,7 @@ targets:
ReadiumLCP:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/LCP
dependencies:
Expand All @@ -103,7 +103,7 @@ targets:
ReadiumAdapterGCDWebServer:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Adapters/GCDWebServer
dependencies:
Expand All @@ -117,7 +117,7 @@ targets:
ReadiumInternal:
type: framework
platform: iOS
deploymentTarget: "11.0"
deploymentTarget: "13.0"
sources:
- path: ../../Sources/Internal
settings:
Expand Down
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumAdapterGCDWebServer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source_files = "Sources/Adapters/GCDWebServer/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }

s.dependency 'ReadiumShared'
Expand Down
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source_files = "Sources/Internal/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }

end
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumLCP.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
}
s.source_files = "Sources/LCP/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2'}

s.dependency 'ReadiumShared'
Expand Down
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumNavigator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
}
s.source_files = "Sources/Navigator/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.dependency 'ReadiumShared'
s.dependency 'ReadiumInternal'
s.dependency 'DifferenceKit', '~> 1.0'
Expand Down
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumOPDS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
}
s.source_files = "Sources/OPDS/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }

s.dependency 'ReadiumShared'
Expand Down
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumShared.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
}
s.source_files = "Sources/Shared/**/*.{m,h,swift}"
s.platform = :ios
s.ios.deployment_target = "11.0"
s.ios.deployment_target = "13.0"
s.frameworks = "CoreServices"
s.libraries = "xml2"
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
Expand Down
Loading

0 comments on commit a1dd426

Please sign in to comment.