Closed brandtdaniels closed 3 years ago
I ran into this issue upgrading between Xcode 12.0 and 12.1
Double check:
As of Xcode 12.1, indentation for things like guard statements have changed. And the latest swiftformat plays friendly with those changes.
Oh yes, you did mention this...Thank you
It would be good to be able to specify the version of swiftformat that is used
Yeah, that's a pain point I've struggled with. It's been less of an issue shipping with .swfitformat
file enabling specific items rather than just defaults as they're updated often. But, things still crop up. Which is not ideal, especially at large companies.
With Carthage, I can pin specific items. I'm not yet sure how to pin specific versions with Brewfile/Bitrise.
TBH, Its for this reason I've been toying with the idea of shifting to an in project step (rather than from bitrise) which pulls in swiftformat as a SwiftPM package (which can be specifically bonded with a version). I haven't made the jump just yet though due to other priorities.
https://github.com/nicklockwood/SwiftFormat#2-add-a-build-phases-to-your-app-target
I've been using a Brewfile, which allows you to specify versions I think...although my team has not specified a version yet...
On Fri, Oct 30, 2020 at 10:07 AM Dane Miluski notifications@github.com wrote:
TBH, Its for this reason I've been toying with the idea of shifting to an in project step (rather than from bitrise) which pulls in swiftformat as a SwiftPM package (which can be specifically bonded with a version). I haven't made the jump just yet though due to other priorities.
https://github.com/nicklockwood/SwiftFormat#2-add-a-build-phases-to-your-app-target
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dmiluski/bitrise-step-swiftformat/issues/6#issuecomment-719678156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHXPLHRAGBE2HMJOSZFNGDSNLXDLANCNFSM4TEPZMRQ .
The issue here was that the step, while constantly downloading the latest version of swiftformat, was ahead of my local swiftformat version.
Bitrise
Local