iosxcodexcode-cloud

Xcode Cloud No such Module Cocoapods library


I have a project using a Cocoapods as dependency manager and I am trying to create an Xcode Cloud workflow for it, everything look simple to configure and I added the ci_post_clone.sh to run the pod install command before start building.

Based on the logs all the dependencies are downloaded but whenever it starts building I have the No such Module X error, I am not sure what i did wrong but it looks like xcode Cloud misses the step of Building targets in dependency order and it starts building the main project before building the dependencies

Did anyone face this problem and how did you fix it

Thank you for your help


Solution

  • I found a temporary solution by adding the pod folder to my repository, this is not what most people are willing to do but for now it is working