Add Package.swift and update Podspec (#14)
This commit is contained in:
parent
80a2937f8e
commit
79e66356e5
|
@ -0,0 +1,21 @@
|
||||||
|
// swift-tools-version:5.0
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "PagerTabStrip",
|
||||||
|
platforms: [.iOS(.v14)],
|
||||||
|
products: [
|
||||||
|
.library(name: "PagerTabStrip", targets: ["PagerTabStrip"])
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
.target(
|
||||||
|
name: "PagerTabStrip",
|
||||||
|
path: "Sources"
|
||||||
|
),
|
||||||
|
.testTarget(
|
||||||
|
name: "PagerTabStripTests",
|
||||||
|
dependencies: ["PagerTabStrip"],
|
||||||
|
path: "Tests"
|
||||||
|
)
|
||||||
|
]
|
||||||
|
)
|
|
@ -1,18 +1,15 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "PagerTabStrip"
|
s.name = "PagerTabStrip"
|
||||||
s.version = "1.0.0"
|
s.version = "1.0.0"
|
||||||
s.summary = "A short description of PagerTabStrip."
|
s.summary = "PagerTabStrip allows navigating through pages using a custom navigation bar."
|
||||||
s.homepage = "https://github.com/xmartlabs/PagerTabStrip"
|
s.homepage = "https://github.com/xmartlabs/PagerTabStrip"
|
||||||
s.license = { type: 'MIT', file: 'LICENSE' }
|
s.license = { type: 'MIT', file: 'LICENSE' }
|
||||||
s.author = { "Xmartlabs SRL" => "swift@xmartlabs.com" }
|
s.authors = { "Xmartlabs SRL" => "swift@xmartlabs.com" }
|
||||||
s.source = { git: "https://github.com/xmartlabs/PagerTabStrip.git", tag: s.version.to_s }
|
s.source = { git: "https://github.com/xmartlabs/PagerTabStrip.git", tag: s.version.to_s }
|
||||||
s.social_media_url = 'https://twitter.com/xmartlabs'
|
s.social_media_url = 'https://twitter.com/xmartlabs'
|
||||||
s.ios.deployment_target = '13.0'
|
s.ios.deployment_target = '14.0'
|
||||||
|
s.swift_version = '5.0'
|
||||||
s.requires_arc = true
|
s.requires_arc = true
|
||||||
s.ios.source_files = 'PagerTabStrip/Sources/**/*.{swift}'
|
s.ios.source_files = 'Sources/**/*.{swift}'
|
||||||
# s.resource_bundles = {
|
s.ios.frameworks = 'SwiftUI'
|
||||||
# 'PagerTabStrip' => ['PagerTabStrip/Sources/**/*.xib']
|
|
||||||
# }
|
|
||||||
# s.ios.frameworks = 'UIKit', 'Foundation'
|
|
||||||
# s.dependency 'Eureka', '~> 4.0'
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue