Skip to content

Commit

Permalink
Bump iOS & tvOS deployment targets to "12.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
weichsel committed Feb 9, 2021
1 parent 34356eb commit 8dd1fa9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To learn more about the performance characteristics of the framework, you can re

## Requirements

- iOS 9.0+ / macOS 10.11+ / tvOS 9.0+ / watchOS 2.0+
- iOS 12.0+ / macOS 10.11+ / tvOS 12.0+ / watchOS 2.0+
- Or Linux with zlib development package
- Xcode 10.0
- Swift 4.0
Expand Down
4 changes: 2 additions & 2 deletions ZIPFoundation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/weichsel/ZIPFoundation.git', :tag => s.version }
s.swift_versions = ['4.0', '4.2', '5.0']

s.ios.deployment_target = '9.0'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '2.0'

s.source_files = 'Sources/ZIPFoundation/*.swift'
Expand Down
12 changes: 7 additions & 5 deletions ZIPFoundation.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
OBJ_1 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1240;
TargetAttributes = {
"ZIPFoundation::ZIPFoundation" = {
LastSwiftMigration = 1020;
Expand Down Expand Up @@ -299,6 +299,7 @@
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -319,7 +320,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "-DXcode";
Expand All @@ -329,7 +330,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
USE_HEADERMAP = NO;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
Expand Down Expand Up @@ -387,6 +388,7 @@
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -405,15 +407,15 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.11;
OTHER_SWIFT_FLAGS = "-DXcode";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = "";
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
USE_HEADERMAP = NO;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down

2 comments on commit 8dd1fa9

@jum
Copy link

@jum jum commented on 8dd1fa9 Feb 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick question - what is needed that it only runs on 12.x upwards?

@weichsel
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No specific API requirements but we can no longer run CI on old Xcode/SDK/toolchain versions and additionally Xcode 12.4 started to recommend updating the deployment target during its upgrade check.
We are also preparing to cut-off Swift 4.0 - Users requiring older deployment targets or Swift language versions can pin their dependencies to older ZIP Foundation releases.

Please sign in to comment.