Bots and cocoapods

I am setting up a bot to create my artifact on commit. I am using cocoapods in my project. I can build and run the project with all my pods fine. The bot can not build it though.


Out of the 8 pods I am using, 3 of them can not be built. They each have the same error:


"unable to read module map contents from 'Target Support Files...."


The three that fail are GoogleToolboxForMac, Kingfisher, and Charts.


I've tried cleaning 'always'. I've tried writing a prebuild trigger to remove all pod files and reinstall. I've also tried just updating pods on prebuild.


Does anyone have an idea how to resolve this?