Swift License Checker
Paste the Package.resolved of your iOS or macOS app, or a Package.swift or Cartfile, and see the license of every package, with copyleft and missing licenses flagged. Everything runs in your browser and you can export the list to CSV or Markdown.
Files are processed in your browser. Only repository addresses and versions are sent to GitHub to read the license files.
How the Swift license check works
Swift Package Manager and Carthage have no central registry with licenses. The checker takes each package's repository and exact revision from Package.resolved or Cartfile.resolved, reads the license file from GitHub and recognizes the license from its text: MIT, Apache-2.0, BSD, ISC, MPL-2.0, the GPL family and a few more.
Package.resolved lists every resolved package, including the ones your dependencies pull in. In an Xcode project you'll find it inside the .xcodeproj under project.xcworkspace/xcshareddata/swiftpm.
Frequently asked questions
How do I list the licenses of Swift packages?
Paste Package.resolved into the checker. It reads the license file of each package from GitHub, recognizes the license and lets you export the list to CSV or Markdown.
Where is Package.resolved in an Xcode project?
Inside the .xcodeproj bundle, in project.xcworkspace/xcshareddata/swiftpm/Package.resolved. In a Swift package it sits next to Package.swift.
Is my Package.resolved uploaded anywhere?
No. The files are processed in your browser. Only repository addresses and versions are sent to GitHub to read the license files.