# How to match my swift version to swift-format?

**URL:** <https://forums.swift.org/t/how-to-match-my-swift-version-to-swift-format/32932>\
**Category:** Swift Format\
**Created:** [January 23, 2020, 2:40pm UTC](https://forums.swift.org/t/how-to-match-my-swift-version-to-swift-format/32932 "2020-01-23T14:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cukr](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/cukr/32/889_2.png) [@cukr](https://forums.swift.org/u/cukr)\
**Post date:** [January 23, 2020, 2:40pm UTC](https://forums.swift.org/t/how-to-match-my-swift-version-to-swift-format/32932/1 "2020-01-23T14:40:28Z")

</div>

Using master branch of [swift-format](https://github.com/apple/swift-format) requires you to also use the `swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a` toolchain. Where can I acquire it? I cannot seem to find it, and [trying to guess the url](https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-osx.pkg) gives me a "Not Found" page

edit:  
🤦‍♂️ I forgot a second `-a-` when guessing the url

---

<div class="post-metadata">

**Author:** ![zntfdr](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/zntfdr/32/10402_2.png) [@zntfdr](https://forums.swift.org/u/zntfdr)\
**Post date:** [January 29, 2020, 3:09am UTC](https://forums.swift.org/t/how-to-match-my-swift-version-to-swift-format/32932/2 "2020-01-29T03:09:30Z")

</div>

Hi @cukr, the snapshots are usually found at [this page](https://swift.org/download/#snapshots).

I couldn't find the mentioned snapshot in that page, however, I looked at the url signature of the other snapshots and guessed the url for the specific snapshot you're looking for, here it is:  
[https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a-osx.pkg](https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a/swift-DEVELOPMENT-SNAPSHOT-2019-09-26-a-osx.pkg).

Hope this helps!  
Federico

PS  
Just noticed your edit, well I hope it helps someone that might stumble upon this discussion 😊

---

<div class="post-metadata">

**Author:** ![allevato](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/allevato/32/385_2.png) [@allevato](https://forums.swift.org/u/allevato)\
**Post date:** [January 31, 2020, 6:35am UTC](https://forums.swift.org/t/how-to-match-my-swift-version-to-swift-format/32932/3 "2020-01-31T06:35:07Z")

</div>

We just merged a much needed update today that migrates swift-format to newer SwiftSyntax APIs that were refactored a while back. This also syncs the master branch up to a much more recent development snapshot, [swift-DEVELOPMENT-SNAPSHOT-2020-01-29-a](https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2020-01-29-a/swift-DEVELOPMENT-SNAPSHOT-2020-01-29-a-osx.pkg).
