Xcode Cloud fail on ci_post_clone.sh

Viewed 115

Couldn't find enough information about Xcode cloud and is wondering if anyone is facing any issues using cocoapods with Xcode cloud.

I am aware that I need to add a file called ci_post_clone.sh if I have cocoapods.

Almost every time, my Xcode cloud build will fail on the ci_post_clone.sh script where according to the log, installing some cocoa pod fail. And the cocoa pod fail varies, each time, a different cocoapod will fail.

For example, below is the log. I never have problem getting AMPopTip, GooglePlaces error, and this is the first time.I am aware that AMPopTip SDK is quite old and its not updated regularly.

I am just trying to understand how common this problem is and how have any of you bypass it.

Some of the things I have done is,

  1. Clean, rebuild via Xcode Cloud
  2. Run multiple times, each time, error varies and if I am lucky, the build will succeed. So far, I only manage to get 1 successful build out of 5 tries.

First build First build

Second build Second build

Third build Third build

Xcode cloud environment are

  1. Xcode version: 13.4.1
  2. macOS version: macOS Monterey 12.4

Local machine environment are

  1. Xcode version: 13.4.1
  2. macOS version: macOS Monterey 12.4
  3. cocoapods version 1.11.3
0 Answers
Related