Skip to content

Commit

Permalink
Created .swift-version
Browse files Browse the repository at this point in the history
This is to give let the pod spec validator know which Swift version to use otherwise we get the warning:

```shell
$ pod spec lint ReactiveReSwift.podspec

 -> ReactiveReSwift (4.0.0)
    - WARN  | swift_version: The validator for Swift projects uses Swift 3.0 by default, if you are using a different version of swift you can use a `.swift-version` file to set the version for your Pod. For example to use Swift 2.3, run: 
    `echo "2.3" > .swift-version`

Analyzed 1 podspec.

[!] The spec did not pass validation, due to 1 warning (but you can use `--allow-warnings` to ignore it).
```
  • Loading branch information
richy486 authored Oct 26, 2017
1 parent f6508e3 commit 5a6cdae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0

0 comments on commit 5a6cdae

Please sign in to comment.