AcknowledgementsPlist manages the licenses of libraries that depend on your iOS app.
AcknowledgementsPlist
that combines licenses of Carthage
, CocoaPods
, and Manual Plist
into Bundle
and Plist
.
I implement it so that it will be completed locally!
pod 'AcknowledgementsPlist'
Please use executable binary freely in each project!
See Sample, for more details.
It is recommended to make it like make-acknowledgements-plist.sh.
I think that you can execute it after Pods
or Carthage
is updated.
acknowledgementsplist [PROJECT_ROOT_PATH] [OUTPUT_PATH] [OPTIONS]
e.g. acknowledgementsplist . ./Sample-Acknowledgements.plist --manual-plist-path ./ManualAcknowledgements.plist
[PROJECT_ROOT_PATH]
[OUTPUT_PATH]
./~/foo.plist
and the bundle file name of ./~/bar.bundle
that starting from project root!--pods-path
Pods
file path. The default is to search automatically.--carthage-checkouts-path
Checkouts
file path. The default is to search automatically.--manual-plist-path
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>Legal Text</string>
<key>Title</key>
<string>Library Name</string>
</dict>
<dict>
<key>FooterText</key>
<string>Legal Text</string>
<key>Title</key>
<string>Library Name</string>
</dict>
</array>
</dict>
</plist>
--exclude-word
--exclude-word "NSObject-Rx RxOptional"
Check if Pods
and b Carthage/Checkouts
exist.
If Carthage/Checkouts
does not exist, execute the command of carthage checkout
.
Determine the location of the AcknowledgementsPlist
and the output location of Plist
.
e.g. acknowledgementsplist . ./Sample/Resources/Sample-Acknowledgements.plist
Please do 1.
of Make Plist.
Make bundle and change Root.plist
to the following configuration.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
<key>Title</key>
<string>Licenses</string>
<key>File</key>
<string>AcknowledgementLinks</string>
</dict>
</array>
<key>StringsTable</key>
<string>Root</string>
</dict>
</plist>
AcknowledgementsPlist
and the output location of Bundle
.acknowledgementsplist . ./Sample/Resources/Settings.bundle
Under the MIT license. See LICENSE file for details.