From 9504c5f365273cd6542abbe457fe7a1f83b4c2e3 Mon Sep 17 00:00:00 2001 From: Anders Ha Date: Sat, 23 May 2020 18:19:15 +0100 Subject: [PATCH] Remove .swift-version when verifying podspec (#787) --- .github/workflows/master.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 82a326dec..086db16b0 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -48,6 +48,9 @@ jobs: uses: actions/checkout@v2 - name: CocoaPods verification run: | + # To work around the lint error: "ERROR | swift: Specification `ReactiveSwift` specifies an inconsistent `swift_version` (`4.1`) compared to the one present in your `.swift-version` file (`4.1.2`). Please remove the `.swift-version` file which is now deprecated and only use the `swift_version` attribute within your podspec." + # `.swift-version` is for swiftenv, not for CocoaPods, so we can't remove the file as suggested. + rm .swift-version pod repo update pod lib lint --use-libraries