Hacker ApprovedDepartments

Swift Package Manager

Ranked 23 of 35 package managers by recommenders

Apple's built-in package manager for Swift, praised for simplicity, team use and mixing languages; critics cite rough Xcode integration and slow builds.

Apple's built-in package manager for Swift, praised for simplicity, team use and mixing languages; critics cite rough Xcode integration and slow builds.

21 people gave an opinion

recommend it
11
criticize it
10
approval share
52%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 11 people recommend itNeeds 10 or more, met.
  • 1.1 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Simple and workable for teams

    “keeps things simple and working with multiple people is much more a breeze this way”

    Comment from 14 Jul 2026 in “Building and Shipping Mac and iOS Apps Without Ever Opening Xcode”

    “most people seem to get on well with it”

    Comment from 1 Feb 2026 in “Swift is a more convenient Rust”
  • Modular packages across apps

    “write the bulk of your app as an SPM package using your editor of choice”

    Comment from 3 May 2026 in “Ask HN: Those building Swift apps without touching Xcode, what is your workflow?”

    “break out all of your code into SPM packages/targets”

    Comment from 4 Feb 2026 in “Xcode 26.3 unlocks the power of agentic coding”
  • Handles mixed languages and Android

    “I'd much rather go the other direction and use Swift Package Manager and the associated toolchain on Android.”

    Comment from 10 Sep 2026 in “Shopify is moving from React Native back to Swift and Kotlin”

    “handles Swift, ObjC, C, C++ in the same project”

    Comment from 23 Jan 2026 in “Improving the usability of C libraries in Swift”

What people warn about

Each mark is one comment

  • Rough edges and Xcode friction

    “I like the SPM, but it definitely has its "rough edges."”

    Comment from 23 Jun 2026 in “Swift Package Index Joins Apple”

    “Things Go Wrong all the time when trying to replace parts while driving, and there's very little visibility or control over the interactions between SPM and Xcode.”

    Comment from 26 Mar 2026 in “Swift 6.3 Released”

    “Swift Packages (especially CLIs) doesn't always feel great”

    Comment from 14 Jan 2026 in “The Unbearable Frustration of Figuring Out APIs”
  • Builds fail or run slowly

    “"won’t build if the product / target has the same name as one of its classes" is absolutely ridiculous”

    Comment from 1 Feb 2026 in “Swift is a more convenient Rust”

    “The only solutions for fast builds are to stop using SPM”

    Comment from 21 Jan 2026 in “Skip Is Now Free and Open Source”

Other package managers people recommend

The four most recommended other package managers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Swift Package Manager compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Nix37815072%133 yrs24 ownersApproved
Homebrew27117561%1210 yrs13 owners—
npm16146126%12——
pnpm1242484%125 yrs4 ownersApproved
Swift Package ManagerThis page111052%8——
See all 35 package managers, ranked

What people said

23 of the 24 comments that mention it, newest first. Each links to the original comment.

“supposedly Swift Package Manager is actually replacing CocoaPods now”

RecommendsComment from 11 Sep 2026 in “Shopify is moving from React Native back to Swift and Kotlin”

“I'd much rather go the other direction and use Swift Package Manager and the associated toolchain on Android.”

RecommendsComment from 10 Sep 2026 in “Shopify is moving from React Native back to Swift and Kotlin”

“there's a noticeable absence of supply chain attacks involving SPM”

RecommendsComment from 21 Aug 2026 in “Malicious Rust Crate Arrayref Runs a Build-Time Payload”

“swift build -c release and you're done”

RecommendsComment from 5 Aug 2026 in “SwiftUI After 7 Years: A Story of Mediocrity”

“SwiftPM will make a complete clone of the whole repo, so all your users will have to download the whole monorepo.”

CriticizesComment from 5 Aug 2026 in “SwiftUI After 7 Years: A Story of Mediocrity”

“keeps things simple and working with multiple people is much more a breeze this way”

RecommendsComment from 14 Jul 2026 in “Building and Shipping Mac and iOS Apps Without Ever Opening Xcode”

“I like the SPM, but it definitely has its "rough edges."”

MixedComment from 23 Jun 2026 in “Swift Package Index Joins Apple”

“It bugs me that Swift deprecates the concept of specifying exact versions”

CriticizesComment from 8 May 2026 in “Maybe you shouldn't install new software for a bit”

“write the bulk of your app as an SPM package using your editor of choice”

RecommendsComment from 3 May 2026 in “Ask HN: Those building Swift apps without touching Xcode, what is your workflow?”

“Package introspection fails with an error that there are other swiftpm processes running when there aren't”

CriticizesComment from 9 Apr 2026 in “Expanding Swift's IDE Support”

“Things Go Wrong all the time when trying to replace parts while driving, and there's very little visibility or control over the interactions between SPM and Xcode.”

CriticizesComment from 26 Mar 2026 in “Swift 6.3 Released”

“break out all of your code into SPM packages/targets”

RecommendsComment from 4 Feb 2026 in “Xcode 26.3 unlocks the power of agentic coding”

“Swift package management is a cryptic mess”

CriticizesComment from 3 Feb 2026 in “Xcode 26.3 unlocks the power of agentic coding”

“SPM is also better with the newer version”

RecommendsComment from 1 Feb 2026 in “Swift is a more convenient Rust”

“"won’t build if the product / target has the same name as one of its classes" is absolutely ridiculous”

CriticizesComment from 1 Feb 2026 in “Swift is a more convenient Rust”

“fully enraging when you have a slightly divergent use case”

MixedComment from 1 Feb 2026 in “Swift is a more convenient Rust”

“SPM can't use vcpkg packages or call CMake stuff”

CriticizesComment from 1 Feb 2026 in “Swift is a more convenient Rust”

“most people seem to get on well with it”

RecommendsComment from 1 Feb 2026 in “Swift is a more convenient Rust”

“SPM and Xcode have such a rough time with multiple targets”

CriticizesComment from 31 Jan 2026 in “Swift is a more convenient Rust”

“handles Swift, ObjC, C, C++ in the same project”

RecommendsComment from 23 Jan 2026 in “Improving the usability of C libraries in Swift”

“The only solutions for fast builds are to stop using SPM”

CriticizesComment from 21 Jan 2026 in “Skip Is Now Free and Open Source”

“Swift Packages (especially CLIs) doesn't always feel great”

CriticizesComment from 14 Jan 2026 in “The Unbearable Frustration of Figuring Out APIs”

“it's been rare for either toolchain or library upgrades to cause any sort of problem”

RecommendsComment from 7 Nov 2025 in “Swift on FreeBSD Preview”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.