Cursor don't show SwiftPM Dependencies
20:59 14 Aug 2025

I successfully added Swift Package Manager (SPM) dependencies to my project in Xcode, but when I open the project in Cursor, the project files show up fine, but none of the SPM dependencies are visible. I have confirmed the following:

  1. The SPM dependencies are correctly displayed in Xcode.
  2. There are no issues with the project files or dependencies in Xcode.
  3. I have tried reopening the project in Cursor and refreshing, but the dependencies still don’t show.

I’ve tried the following solutions:

  • Ensuring the project structure and Package.swift file are correctly configured.
  • Cleaning and rebuilding the project.
  • Refreshing the project in Cursor.

However, the SPM dependencies are still not visible in Cursor. Has anyone encountered this issue or know a solution? Is there any special configuration required to make Cursor display these dependencies correctly?

Thanks in advance!

ios swift xcode swift-package-manager cursor-ide