Skip to content

Commit 682c38d

Browse files
committed
Work around CocoaPods lint error related to .swift-version
1 parent 6e1ebef commit 682c38d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
XCODE_DESTINATION="platform=watchOS Simulator,name=Apple Watch Series 3 - 38mm"
3939
script/build
4040
- script:
41+
# 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."
42+
# `.swift-version` is for swiftenv, not for CocoaPods, so we can't remove the file as suggested.
43+
- rm .swift-version
4144
- pod repo update --silent
4245
- pod lib lint ReactiveSwift.podspec
4346
env:

0 commit comments

Comments
 (0)