However, if a build fails during the actual Xcode build phase (for example, due to a compilation error, unit test failure, or signing issue), the ci_post_xcodebuild.sh script does not run. It should, and is documented that it will always run: ci_post_xcodebuild.sh: The post-xcodebuild script runs after Xcode Cloud runs the xcodebuild command — even if the xcodebuild command fails. As such, would you mind opening a bug report with as much information about your build and Xcode Cloud configuration that you can so that we can look into this? — Ed Ford, DTS Engineer
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: