Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Build fails with swiftlint 0.29.1 #300

Closed
5 tasks done
benweitzman opened this issue Dec 9, 2018 · 4 comments
Closed
5 tasks done

Build fails with swiftlint 0.29.1 #300

benweitzman opened this issue Dec 9, 2018 · 4 comments
Labels
bug Something is broken or being fixed good first issue Great for someone new to open source and/or this sdk help wanted Great for someone wanting to contribute to this project

Comments

@benweitzman
Copy link

When running the latest version of swiftlint, it is an error to have a different version named in .swiftlint.yml: realm/SwiftLint#2491, realm/SwiftLint#2074

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Xcode Version: 10.1
  • Swift Version: 4.2.1
  • Installation Platform & Verison: Carthage version 0.31.2
  • swiftlint version: 0.29.1

Actual Results

FacebookCore/IntermediateBuildFilesPath/FacebookSwift.build/Release-iphoneos/FacebookCore.build/Script-5257097220F6C9800053B9E3.sh
Loading configuration from '.swiftlint.yml'
Currently running SwiftLint 0.29.1 but configuration specified version 0.26.0.
Command PhaseScriptExecution failed with a nonzero exit code
@benweitzman benweitzman added the bug Something is broken or being fixed label Dec 9, 2018
@codytwinton codytwinton added help wanted Great for someone wanting to contribute to this project good first issue Great for someone new to open source and/or this sdk labels Dec 10, 2018
@codytwinton
Copy link
Contributor

@benweitzman - Thanks for bringing this to our attention.

In the meantime, we're open to accepting any PRs to resolve this issue.

@beeloo42
Copy link

Same issue for me. Annoying bug: can't use swiftlint in Xcode 10.1 in my case.

@codytwinton
Copy link
Contributor

@beeloo42 - This has been resolved in master with #304

@nicolas-miari
Copy link

nicolas-miari commented Aug 6, 2019

@codytwinton
I don't understand; the line:

swiftlint_version: 0.26.0

...is clearly removed from the top of .swiftlint.yml; However, when I clone 0.5.0 with Carthage, it's still there...?

Also, this:

Screen Shot 2019-08-06 at 13 39 47

0.3.0 ??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something is broken or being fixed good first issue Great for someone new to open source and/or this sdk help wanted Great for someone wanting to contribute to this project
Projects
None yet
Development

No branches or pull requests

4 participants