diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..517c723 --- /dev/null +++ b/Package.swift @@ -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" + ) + ] +) diff --git a/PagerTabStrip.podspec b/PagerTabStrip.podspec index b357118..6c0edf0 100644 --- a/PagerTabStrip.podspec +++ b/PagerTabStrip.podspec @@ -1,18 +1,15 @@ Pod::Spec.new do |s| s.name = "PagerTabStrip" 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.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.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.ios.source_files = 'PagerTabStrip/Sources/**/*.{swift}' - # s.resource_bundles = { - # 'PagerTabStrip' => ['PagerTabStrip/Sources/**/*.xib'] - # } - # s.ios.frameworks = 'UIKit', 'Foundation' - # s.dependency 'Eureka', '~> 4.0' + s.ios.source_files = 'Sources/**/*.{swift}' + s.ios.frameworks = 'SwiftUI' end