skip to Main Content

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

2

Answers


  1. Chosen as BEST ANSWER

    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


  2. do you have a screenshot for how you set this up? Because the script file ci_post_clone.sh needs to exist in a repository named ci_scripts that is at the same level as your workspace / xcode project. You also need to be sure to mark that file as executable

    then you can brew install cocoapods and run pod install on that script. cheers! just got this working this morning by following notes found here: https://developer.apple.com/documentation/xcode/making-dependencies-available-to-xcode-cloud

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search