CocoaPods / cocoapods-acknowledgements

CocoaPods plugin that generates a plist which includes the installation metadata
MIT License
111 stars 17 forks source link

Make project integration optional #65

Open jparise opened 1 year ago

jparise commented 1 year ago

The CocoaPods installer supports a integrate_targets: false option which disables project integration. When disabled, an umbrella target won't have a user project.

This change teaches this plugin to safely handle that scenario by doing the following:

  1. Xcodeproj::Project is only used when we have a user project.
  2. The generated metadata files are always written to the output path.
  3. Those files are only added to the targets when we have a project.