Get current Xcode toolchain's Swift version

Primary LanguageRubyMIT LicenseMIT

fastlane-plugin-get_current_swift_version ContributorsSepOctNovDecJanFebMarAprMayJunJulAugSepSunTueThuSat

get_current_swift_version plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-get_current_swift_version, add it to your project by running:

bundle exec fastlane add_plugin get_current_swift_version

About get_current_swift_version

Get current Xcode toolchain's Swift version.


lane :test do
  swift_version = get_current_swift_version
  UI.message "App is being compiled with Swift #{swift_version}"

Try it by cloning the repo, running bundle exec fastlane install_plugins and bundle exec fastlane test.

Run tests for this plugin

To run both the tests, and code style validation, run


To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.


If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.