CLion 2019.1 Help

Swift

File | Settings | Build, Execution, Deployment | Swift for Windows and Linux
CLion | Preferences | Build, Execution, Deployment | Swift for macOS

Use this page to configure the Swift plugin.

Item

Description

SDK Home

In this field, specify the Swift SDK home directory to be used in your projects.
Note, that /Library/Developer/Toolchains/swift-latest.xctoolchain, is the default value for macOS. On Linux this field appears empty. Type the path to the Swift SDK home directory here or click the browseButton button to choose.

Use Swift debugger

Select this checkbox if you want to enable the Swift debugger for your projects. Note: don't forget to switch-off the Swift debugger when working with non-Swift programs.

Last modified: 20 May 2019

See Also