whitesource / unified-agent-distribution

51 stars 48 forks source link

Presence of Cocoapods Podfile causes WhiteSource to not index cpp files #30

Open WhyWake opened 2 years ago

WhyWake commented 2 years ago

Our repo has a Cocoapods Podfile in one of the sub-dirs, and lots of C++ source files scattered throughout the repo. I am seeing that when I run the unified WS agent on our repo, it fails to index the C++ source files by default.

After some trial and error, I see that I need to disable Cocoapods dependency resolution (by setting cocoapods.resolveDependencies=false in the config file) for the agent to actually index the cpp files.

Is this expected? If yes, I think we can agree this is not ideal behavior; ideally we'd want both Cocoapods dependency resolution as well as regular indexing of files.

If there is some other forum where I should be posting about this, please do let me know, thanks.

Thanks

LenaKleyner commented 2 years ago

Hi @WhyWake, we will need more information to evaluate your issue.

Could you please open a support ticket with all the relevant information (the Unified Agent execution command, its settings, and the output log)?

Thanks!

Lena