Merge pull request #298 from brennobemoura/master

Fix iOS minimum version and increased Swift tools version
This commit is contained in:
Wenchao Ding 2021-02-16 13:14:01 +08:00 committed by GitHub
commit 1c2aaef6bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 6 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -11,11 +11,11 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/WenchaoD/FSPagerView.git", :tag => s.version.to_s }
s.platform = :ios
s.ios.deployment_target = '8.0'
s.ios.deployment_target = '9.0'
s.requires_arc = true
s.framework = 'UIKit'
s.source_files = 'Sources/*.{swift,h,m}'
s.swift_version = '5.0'
s.swift_version = '5.3'
s.cocoapods_version = '>= 1.4.0'
end

View File

@ -1,14 +1,13 @@
// swift-tools-version:5.1
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "FSPagerView",
platforms: [.iOS(.v8)],
platforms: [.iOS(.v9)],
products: [
.library(name: "FSPagerView", targets: ["FSPagerView"]),
],
targets: [
.target(name: "FSPagerView", path: "Sources", exclude: ["FSPagerViewObjcCompat.h", "FSPagerViewObjcCompat.m"]),
],
swiftLanguageVersions: [.v5]
]
)