PodsLicenseReader icon indicating copy to clipboard operation
PodsLicenseReader copied to clipboard

:book: Easily read licenses for your Cocoa Pods.

Overview

PodsLicenseReader allows you to easily read licenses for your Cocoa Pods.

Usage

Quick Start

Cocoa Pods

Add the following to your Podfile:

pod 'PodsLicenseReader'
Carthage

Add the following to your Cartfile:

github "comyarzaheri/PodsLicenseReader" "master"

Using a PodsLicenseReader

Add a reference to Pods/Target Supporting Files/Pods/Pods-<target>-acknowledgements.plist to your project and make sure the file is listed in Copy Bundle Resources under Build Phases in your project settings.

import PodsLicenseReader

for license in PodsLicenseReader(path: <path-to-acknowledgements-plist>).getLicenses() {
	// Dreams come true here
	print(license.name)
}

License

PodsLicenseReader is available under the MIT License.

Contributors