Closed DwayneCoussement closed 1 year ago
Hi @macblazer, you've analyzed that totally correct! That makes totally sense, I've refactored this to load the plugins as you mentioned. I hope this makes more sense :) Thanks for the review btw, I appreciate it.
@DwayneCoussement As far as I can tell, the function
inhibit_warnings_with_condition
is only available when using this CocoaPods plugin: https://github.com/leavez/cocoapods-developing-folderThe
cyclonedx-cocoapods
implementation does not currently load plugins (defined in aPodfile
with theplugin "foo"
syntax). However your solution of specifying an empty implementation ofinit_warnings_with_condition
is very specific to that single plugin.I would rather see a general solution that will work for all CocoaPods
plugin
definitions, probably by actually triggering the load of the plugin. Do you have time to work up a more general solution?