What it does
PkgLift is open source under the MIT License and installs with Homebrew using brew install Alexsvensson99/tap/pkglift. It works in four steps. Analyze discovers nested projects, workspaces, Podfiles, targets, and locked dependency versions. Plan classifies every direct dependency and saves a reviewable, typed migration plan to .pkglift/plan.json. Migrate is a dry run by default, and the --apply flag applies only reviewed entries classified as AUTO. Verify checks package-product-target linkage, resolves SwiftPM, and can optionally run an Xcode build. The pkglift analyze command prints its findings in Terminal and leaves the Xcode project and Podfile unchanged. Uncertain dependencies stay under CocoaPods.
Capabilities
- Each dependency is classified as AUTO, REVIEW, BLOCKED, or UNKNOWN.
- A dependency is classified AUTO only with an exact mapping, a supported locked version, a verified product and target, and complete consumer-language evidence.
- Version 1.0.1 refuses unsupported .xcproj definitions before analysis or migration.
- PkgLift keeps dynamic Ruby, install hooks, external pod sources, incomplete source profiles, ambiguous targets, and Carthage or cross-platform integration visible rather than forcing an automatic conversion.
- Releases are signed and notarized with Developer ID distribution for macOS.
When to use it
- You want to move CocoaPods dependencies in a native Xcode project to Swift Package Manager.
- You want to inspect a proposed migration through a dry run.
- You need to resolve dirty worktrees, ambiguous projects, missing schemes, or conservative refusals.