From 23846dbf2325b5858a8ac431f28e2bd03b056646 Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Sat, 1 Jun 2019 00:51:43 +0100 Subject: [PATCH] Add support for CocoaPods version 1.7 swift_version --- .travis.yml | 2 ++ FloatingPanel.podspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bd745a6..6be1296 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,8 @@ jobs: - stage: CocoaPods osx_image: xcode10.2 + before_install: + - gem install cocoapods script: - pod spec lint - pod lib lint diff --git a/FloatingPanel.podspec b/FloatingPanel.podspec index 9d0eb7f..2fa3277 100644 --- a/FloatingPanel.podspec +++ b/FloatingPanel.podspec @@ -13,7 +13,7 @@ The new interface displays the related contents and utilities in parallel as a u s.platform = :ios, "10.0" s.source = { :git => "https://github.com/SCENEE/FloatingPanel.git", :tag => "v#{s.version}" } s.source_files = "Framework/Sources/*.swift" - s.swift_version = "4.0" + s.swift_versions = ["4.0", "4.2", "5.0"] s.framework = "UIKit"