talira

LicensePlist

A license list generator of all your dependencies for iOS applications

open sourceMITfree

LicensePlist is a command-line tool that collects the licences of an iOS app's dependencies (from CocoaPods, Carthage, Swift Package Manager's Package.resolved, Mint, Nest, mise and a YAML file for anything added by hand) and writes them as a Settings.bundle plist, so they show up in the app's page in the Settings app. It can also write HTML and Markdown acknowledgements files.

Ways to install

Problems it solves

  • show the open source licences of my iOS app's dependencies in the Settings app
  • generate an acknowledgements page for every library my iPhone app uses
  • keep my app's third-party licence list up to date when dependencies change
  • produce a Markdown or HTML list of the licences of my Swift packages and pods

Features

  • licences from CocoaPods, Carthage, Swift packages, Mint, Nest and mise
  • a Settings.bundle plist shown in the iOS Settings app
  • HTML and Markdown acknowledgements files
  • manual entries from a YAML config file
  • optional version numbers next to each library

Limitations

  • It reads licences through the GitHub API, which can hit rate limits without a GitHub token3
  • It isn't added as a Swift Package Manager dependency in Package.swift; install it with CocoaPods, Homebrew, Mint, a release binary or as an Xcode project package3