Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Updating minimum deployment target to iOS 12
Browse files Browse the repository at this point in the history
sebaland committed Feb 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 6d192e4 commit b2d6c58
Showing 9 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion AWSPluginsCore.podspec
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-ios.git', :tag => $AMPLIFY_RELEASE_TAG }

s.platform = :ios, '11.0'
s.platform = :ios, '12.0'
s.swift_version = '5.0'

s.source_files = 'AmplifyPlugins/Core/AWSPluginsCore/**/*.swift'
2 changes: 1 addition & 1 deletion Amplify.podspec
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-swift.git', :tag => $AMPLIFY_RELEASE_TAG }

s.platform = :ios, '11.0'
s.platform = :ios, '12.0'
s.swift_version = '5.0'

s.source_files = 'Amplify/**/*.swift'
28 changes: 14 additions & 14 deletions Amplify.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -6068,7 +6068,7 @@
"$(PROJECT_DIR)/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginIntegrationTests",
);
INFOPLIST_FILE = AmplifyTestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6093,7 +6093,7 @@
"$(PROJECT_DIR)/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginIntegrationTests",
);
INFOPLIST_FILE = AmplifyTestApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6119,7 +6119,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = AmplifyPlugins/Core/AWSPluginsCore/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6148,7 +6148,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = AmplifyPlugins/Core/AWSPluginsCore/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6170,7 +6170,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = AmplifyPlugins/Core/AWSPluginsCoreTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6192,7 +6192,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = AmplifyPlugins/Core/AWSPluginsCoreTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6312,7 +6312,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
@@ -6370,7 +6370,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
@@ -6395,7 +6395,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Amplify/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6422,7 +6422,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Amplify/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6481,7 +6481,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = AmplifyFunctionalTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6502,7 +6502,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = AmplifyFunctionalTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6531,7 +6531,7 @@
ENABLE_TESTING_SEARCH_PATHS = YES;
INFOPLIST_FILE = AmplifyTestCommon/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -6564,7 +6564,7 @@
ENABLE_TESTING_SEARCH_PATHS = YES;
INFOPLIST_FILE = AmplifyTestCommon/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
2 changes: 1 addition & 1 deletion AmplifyPlugins.podspec
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-ios.git', :tag => $AMPLIFY_RELEASE_TAG }

s.platform = :ios, '11.0'
s.platform = :ios, '12.0'
s.swift_version = '5.0'

s.dependency 'AWSPluginsCore', $AMPLIFY_VERSION
2 changes: 1 addition & 1 deletion AmplifyTestCommon.podspec
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-ios.git', :tag => $AMPLIFY_RELEASE_TAG }

s.platform = :ios, '11.0'
s.platform = :ios, '12.0'
s.swift_version = '5.0'

s.source_files = 'AmplifyTestCommon/**/*.swift'
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "Amplify",
platforms: [.iOS(.v11)],
platforms: [.iOS(.v12)],
products: [
.library(
name: "Amplify",
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load 'build-support/dependencies.rb'

platform :ios, "11.0"
platform :ios, "12.0"

target "Amplify" do
# Comment the next line if you"re not using Swift and don"t want to use dynamic frameworks
16 changes: 8 additions & 8 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@ PODS:
- AWSCore (2.34.0)
- CwlCatchException (2.1.1):
- CwlCatchExceptionSupport (~> 2.1.1)
- CwlCatchExceptionSupport (2.1.1)
- CwlMachBadInstructionHandler (2.1.0)
- CwlPosixPreconditionTesting (2.1.0)
- CwlCatchExceptionSupport (2.1.2)
- CwlMachBadInstructionHandler (2.1.2)
- CwlPosixPreconditionTesting (2.1.2)
- CwlPreconditionTesting (2.1.0):
- CwlCatchException (~> 2.1.1)
- CwlMachBadInstructionHandler (~> 2.1.0)
@@ -42,13 +42,13 @@ CHECKOUT OPTIONS:
SPEC CHECKSUMS:
AWSCore: 35d036e9519377a20fd2783874b5ff44268608bb
CwlCatchException: 86760545af2a490a23e964d76d7c77442dbce79b
CwlCatchExceptionSupport: a004322095d7101b945442c86adc7cec0650f676
CwlMachBadInstructionHandler: aa1fe9f2d08b29507c150d099434b2890247e7f8
CwlPosixPreconditionTesting: 1ba4471964405941f79b3f06bbcf3c2be782950c
CwlCatchExceptionSupport: 42bf8c5e4e5e663f51100ddfa68caf7cfcf64ab6
CwlMachBadInstructionHandler: b982c7e3e44fcfa1c680e8046f6bba35f3476d65
CwlPosixPreconditionTesting: 4011f0660c0be460b088d10bcfdf351c7e036ac4
CwlPreconditionTesting: 73ae5de517a8761e5e40fb4136c6a26365af0440
SwiftFormat: 3b5caa6389b2b9adbc00e133b3ccc8c6e687a6a4
SwiftLint: 32ee33ded0636d0905ef6911b2b67bbaeeedafa5

PODFILE CHECKSUM: 5e20e56b8ef40444b018a3736b7b726ff9772f00
PODFILE CHECKSUM: b3d8eb161b81a4940234a217f012e115769acae2

COCOAPODS: 1.12.1
COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ if let request = request {

## Platform Support

Amplify supports iOS 11 and above and iOS 13 for certain categories such as Predictions and Geo. There are currently no plans to support Amplify on WatchOS, tvOS, or MacOS.
Amplify supports iOS 12 and above and iOS 13 for certain categories such as Predictions and Geo. There are currently no plans to support Amplify on WatchOS, tvOS, or MacOS.

## License

0 comments on commit b2d6c58

Please sign in to comment.