diff --git a/Example/FSPopoverView.xcodeproj/project.pbxproj b/Example/FSPopoverView.xcodeproj/project.pbxproj index ecc4d04..5b219f9 100644 --- a/Example/FSPopoverView.xcodeproj/project.pbxproj +++ b/Example/FSPopoverView.xcodeproj/project.pbxproj @@ -418,7 +418,7 @@ INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7; INFOPLIST_KEY_UIStatusBarHidden = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeRight UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationPortraitUpsideDown"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 3.0.0; MODULE_NAME = ExampleApp; @@ -452,7 +452,7 @@ INFOPLIST_KEY_UIRequiredDeviceCapabilities = armv7; INFOPLIST_KEY_UIStatusBarHidden = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeRight UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationPortraitUpsideDown"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 3.0.0; MODULE_NAME = ExampleApp; diff --git a/Example/Podfile b/Example/Podfile index 5f71271..2eeb31e 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,4 +1,4 @@ -platform:ios, '11.0' +platform:ios, '12.0' use_frameworks! target 'FSPopoverView_Example' do diff --git a/FSPopoverView.podspec b/FSPopoverView.podspec index 9525bea..3446ffc 100644 --- a/FSPopoverView.podspec +++ b/FSPopoverView.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.swift_version = '5' - s.ios.deployment_target = '11.0' + s.ios.deployment_target = '12.0' s.frameworks = 'UIKit', 'Foundation', 'CoreGraphics' s.source_files = 'Sources/**/*.swift' diff --git a/Package.swift b/Package.swift index 720edf6..709c61c 100644 --- a/Package.swift +++ b/Package.swift @@ -4,13 +4,13 @@ import PackageDescription let package = Package(name: "FSPopoverView", - platforms: [.iOS(.v11)], + platforms: [.iOS(.v12)], products: [ .library(name: "FSPopoverView", targets: ["FSPopoverView"]), .library(name: "FSPopoverViewDynamic", type: .dynamic, targets: ["FSPopoverView"]) ], targets: [ - .target(name: "FSPopoverView", path: "Source") + .target(name: "FSPopoverView", path: "Sources") ], swiftLanguageVersions: [.v5] ) diff --git a/README.md b/README.md index 81e5e32..eb6df8f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ A library to present popovers. ## Requirements -* iOS 11+ +* iOS 12+ * Swift 5 * Xcode 15+ diff --git a/README_CN.md b/README_CN.md index c7d3400..6c6a5cd 100644 --- a/README_CN.md +++ b/README_CN.md @@ -37,7 +37,7 @@ FSPopoverView 是一个 popover 风格的弹窗,可自定义弹窗内容,类 ## 要求 -* iOS 11+ +* iOS 12+ * Swift 5 * Xcode 15+