https://github.com/bcylin/cocoapods-acknowledgements-addons
A CocoaPods plugin that adds additional acknowledgements to the plist generated by cocoapods-acknowledgements.
https://github.com/bcylin/cocoapods-acknowledgements-addons
acknowledgements carthage cocoapods cocoapods-plugin ios swift-package-manager
Last synced: 6 months ago
JSON representation
A CocoaPods plugin that adds additional acknowledgements to the plist generated by cocoapods-acknowledgements.
- Host: GitHub
- URL: https://github.com/bcylin/cocoapods-acknowledgements-addons
- Owner: bcylin
- License: mit
- Created: 2019-05-11T10:35:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-10-01T13:01:10.000Z (9 months ago)
- Last Synced: 2025-10-19T23:14:04.144Z (9 months ago)
- Topics: acknowledgements, carthage, cocoapods, cocoapods-plugin, ios, swift-package-manager
- Language: Ruby
- Homepage: https://www.rubydoc.info/gems/cocoapods-acknowledgements-addons
- Size: 194 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CocoaPods Acknowledgements Add-ons
[](https://github.com/bcylin/cocoapods-acknowledgements-addons/actions)
[](https://rubygems.org/gems/cocoapods-acknowledgements-addons)
A CocoaPods plugin that adds additional acknowledgements to the plist generated by [cocoapods-acknowledgements](https://github.com/CocoaPods/cocoapods-acknowledgements).
## Installation
Install via `gem install cocoapods-acknowledgements` or add it to the **Gemfile**:
```rb
gem "cocoapods-acknowledgements-addons"
```
## Prerequisites
1. CocoaPods and [cocoapods-acknowledgements](https://github.com/CocoaPods/cocoapods-acknowledgements)
2. The installed libraries provide podspec
## Use cases
### With Carthage / git submodules
If you have some dependencies installed via CocoaPods and some installed using different ways, such as [Carthage](https://github.com/Carthage/Carthage) or git submodules, you can aggregate the acknowledgements in one place.
Use the plugin in the **Podfile**:
```rb
target :App do
pod "CPDAcknowledgements"
end
# Generates a plist of dependencies installed via CocoaPods
plugin "cocoapods-acknowledgements"
# Adds additional acknowledgements to the generated plist
plugin "cocoapods-acknowledgements-addons", add: ["Carthage/Checkouts"]
```
### With Swift Package Manager
To find the dependencies installed via [Swift Package Manager](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app) in `~/Library/Developer/Xcode/DerivedData`, specify `with_spm: true` when using the plugin:
```rb
plugin "cocoapods-acknowledgements-addons", add: ["Carthage/Checkouts"], with_spm: true
```
## What's modified?
The plugin searches `**/*.podspec` located in the specified directories and adds the acknowledgements to the plist generated by [cocoapods-acknowledgements](https://github.com/CocoaPods/cocoapods-acknowledgements), which can be found in the `Pods` directory:
```
.
├── App.xcodeproj
├── App.xcworkspace
├── Podfile
├── Podfile.lock
└── Pods
└── Pods-{target_name}-metadata.plist
```
This plugin also updates the app's `Settings.bundle/Pods-{target_name}-settings-metadata.plist` if it exists.
Check out the [example app](https://github.com/bcylin/cocoapods-acknowledgements-addons/tree/master/example) for the configuration to use with [CPDAcknowledgements](https://github.com/CocoaPods/CPDAcknowledgements).
## Pod Commands
### Search: List all podspecs found in $PATHS
```sh
pod acknowledgements search $PATHS
```
Usage:
1. without options
```sh
$ bundle exec pod acknowledgements search example
./Carthage/Checkouts/QuickTableViewController/QuickTableViewController.podspec
./Carthage/Checkouts/Alamofire/Alamofire.podspec
./Acknowledgements/Crypto/Crypto.podspec
```
2. with `--swift-packages`
```sh
$ bundle exec pod acknowledgements search --swift-packages example/App.xcodeproj
~/Library/Developer/Xcode/DerivedData/App-djdfchmfsxwuuqbfczwmhygyunnk/SourcePackages/checkouts/CwlCatchException/CwlCatchException.podspec
~/Library/Developer/Xcode/DerivedData/App-djdfchmfsxwuuqbfczwmhygyunnk/SourcePackages/checkouts/Quick/Quick.podspec
~/Library/Developer/Xcode/DerivedData/App-djdfchmfsxwuuqbfczwmhygyunnk/SourcePackages/checkouts/CwlPreconditionTesting/CwlPreconditionTesting.podspec
~/Library/Developer/Xcode/DerivedData/App-djdfchmfsxwuuqbfczwmhygyunnk/SourcePackages/checkouts/Nimble/Nimble.podspec
```
## License
Released under the [MIT License](https://github.com/bcylin/cocoapods-acknowledgements-addons/blob/master/LICENSE).