Swift Package Manager support in CLion
Today we are excited to announce that the Swift plugin for the latest CLion 2018.3 EAP build supports Swift Package Manager projects directly! Simply open the SPM project and work with it – no additional configuration required.
Read on to learn about all the available features, or watch the short demo below to see them in action:
Have all project dependencies resolved automatically:
Package.swift with code completion and highlighting available:
Add dependencies easily with a code completion for project targets:
Import changes in one click:
Invoke Swift Package Manager actions right from the context menu or via
Tools | Swift Package Manager:
Code faster using the same code generation and refactoring actions that you have in the latest AppCode EAP:
Have SourceKit inspections and fix-its displayed right in your code editor:
Run, Debug, Test
Run Configurations are created automatically for all products in your Package.swift:
To Run or Debug your application or tests, select the corresponding Run Configuration and press
Develop your SPM projects on Linux having almost the same features as on macOS:
Please note that LLDB in Swift 4.1.x toolchains does not work correctly on Linux, so we recommend using Swift 4.2 toolchains. In addition, we have an issue when it’s not possible to Run or Debug all tests on Linux.
During the 2018.3 EAP cycle, we plan to focus on fixing bugs and implementing such features as first-class unit-testing support, on the same level AppCode already offers for macOS. Other features are linked here as subtasks. After finishing most of these tasks, we plan to add support for Swift Package Manager projects in AppCode.
Here’s hoping CLion will become your IDE of choice for cross-platform Swift development!
Your AppCode Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
AppCode 2023.1 Bug-Fix Update
Hi, AppCode 2023.1 has just been released with fixes for Xcode 14.3 compatibility, Swift refactorings and intentions, the IDE’s UI, and Kotlin Multiplatform Mobile. On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve refocused the te…
AppCode 2023.1 Release Candidate
Hi, On December 14, 2022, along with the AppCode 2022.3 release, we sunsetted the product and stopped sales. While we’ve re-focused the team's efforts in other directions, we’ve kept providing technical support to our current users and are releasing bug-fix updates in 2023, targeting mostly the Xco…
AppCode 2022.3 Release and End of Sales and Support
AppCode 2022.3 has just been released. With the release of v2022.3, we are sunsetting the product.
AppCode 2022.3 Release Candidate Is Here
Hi everyone, The release of AppCode 2022.3 is approaching, and the release candidate (build 223.7571.233) is now available for download on our website. You need to have an active subscription or activate a free trial to use this build. The main highlights of this build include: We fixed the r…