LicensePlist

A license list generator of all your dependencies for iOS applications

What is LicensePlist?

A license list generator of all your dependencies for iOS applications

Overview of LicensePlist

What it is

LicensePlist is a command-line tool that automatically generates a Plist file containing the licenses of all dependencies in an iOS application. It supports dependencies added manually via a YAML configuration file, as well as those managed by Carthage or CocoaPods. The generated license list can be integrated into the app's Settings.bundle, making the licenses visible in the Settings app.

Key features

  • Automatically detects dependencies from Carthage (Cartfile), CocoaPods (Pods), Swift Package Manager (Package.swift), and Mint (Mintfile).
  • Supports manual addition of GitHub-hosted libraries via a YAML config file.
  • Outputs license data in multiple formats: Plist, HTML, Markdown, and CSV.
  • Caches the last result and skips execution if no changes are detected, unless the --force flag is used.
  • Allows customization of output path, file prefix, and inclusion of version numbers or source URLs.
  • Can use a GitHub token to avoid API rate limits when fetching license information.
  • Provides options for silent or verbose logging, and color or monochrome output.

Use cases

  • iOS developers who need to display open-source licenses in the Settings app to comply with license requirements.
  • Teams that want to automate the license generation process as part of their build pipeline (e.g., in a Run Script build phase).
  • Projects using a mix of dependency managers (Carthage, CocoaPods, SPM) and manually added libraries.

Getting started

Install via Homebrew (recommended): sh brew install licenseplist Or via CocoaPods: pod 'LicensePlist' After installation, run license-plist in the directory containing your Cartfile or Pods folder. The output will be placed in a directory named com.mono0926.LicensePlist.Output. Move the generated files into your app's Settings.bundle.

License and pricing

LicensePlist is open source and released under the MIT license. It is free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/mono0926licenseplist.svg)](https://yunodb.com/tools/mono0926licenseplist?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/mono0926licenseplist?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/mono0926licenseplist.svg" alt="Featured on YunoDB" height="20"></a>