Skip to content

Commit 2910637

Browse files
committed
Remove .swift-version, use Podspec swift_versions
Whenever we update the pod and publish to Cocoapods, pod spec lint warns us that Usage of the .swift_version file has been deprecated! Let's clean it up and replace it with swift_versions in the podspec per lint's recommendation. See issue #169 in the repo.
1 parent f4c0a77 commit 2910637

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.swift-version

-1
This file was deleted.

Intrepid.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Pod::Spec.new do |s|
2828
s.ios.deployment_target = "10.0"
2929
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
3030
s.default_subspec = "Core"
31+
s.swift_versions = ['4.2', '5.0']
3132

3233
s.subspec "Core" do |cs|
3334
cs.source_files = "SwiftWisdom/Core/**/**/*.swift"

IntrepidTesting.podspec

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "IntrepidTesting"
3-
s.version = "0.9.0"
3+
s.version = "0.10.0"
44
s.summary = "A collection of test extensions to the Swift Standard Library"
55
s.description = <<-DESC
66
Collection of test extensions and utility classes by and for the developers at Intrepid Pursuits.
@@ -13,7 +13,8 @@ Pod::Spec.new do |s|
1313
s.ios.deployment_target = "8.0"
1414
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
1515
s.default_subspec = "Core"
16-
16+
s.swift_versions = ['4.2', '5.0']
17+
1718
s.subspec "Core" do |cs|
1819
cs.frameworks = "XCTest"
1920
cs.source_files = "SwiftWisdomTests/Testing/**/*.swift"

0 commit comments

Comments
 (0)