AcknowledgementsPlist that combines licenses of Carthage, CocoaPods, and Manual Plist into Bundle and Plist.
I implement it so that it will be completed locally!
![]() |
![]() |
![]() |
- Xcode 10.2+
- Swift 5+
pod 'AcknowledgementsPlist'Executable binary from releases
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
- Required🔥
- Please specify the project root path as seen from the directory to be executed!
- Required🔥
- Please specify the file name of
./~/foo.plistand the bundle file name of./~/bar.bundlethat starting from project root!
- You can specify a
Podsfile path. The default is to search automatically.
- You can specify a
Checkoutsfile path. The default is to search automatically.
- You can add and include licenses manually to plist.
- The configuration of plist.↓
<?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 URLs that contain the specified word.
- e.g.
--exclude-word "NSObject-Rx RxOptional"
-
Check if
Podsand bCarthage/Checkoutsexist.
IfCarthage/Checkoutsdoes not exist, execute the command ofcarthage checkout. -
Determine the location of the
AcknowledgementsPlistand the output location ofPlist.
e.g.acknowledgementsplist . ./Sample/Resources/Sample-Acknowledgements.plist
-
Please do
1.of Make Plist. -
Make bundle and change
Root.plistto 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>- Determine the location of the
AcknowledgementsPlistand the output location ofBundle.
e.g.acknowledgementsplist . ./Sample/Resources/Settings.bundle
Under the MIT license. See LICENSE file for details.


