Post

Replies

Boosts

Views

Activity

Xcode Cloud test action not always finding ci_post_xcodebuild.sh
Hi there, We've been trying out Xcode Cloud for CI for a couple of months, and it has worked pretty well for the most part, but now we've stumbled on something we just can find the answer to, and I'm hoping for some help. We have a "PR checks" workflow that runs tests and analysis for pull-requests, and a "test and deploy" workflow that runs tests and submits uploads to TestFlight from the master branch. We use custom build scripts in all the right locations to perform additional work for our builds. The problem: Our ci_scripts/ci_post_xcodebuild.sh script cannot be found (and therefore does not execute) when running tests (test-without-building) as part of a test action, but bizarrely only on our "test and deploy" master-branch-workflow. However: The script it found just perfectly in the build-for-testing step of the exact same master-branch-workflow The script is also found perfectly when running test-without-building in our "PR checks" workflow According to the documentation I can find, the ci_scripts/ci_post_xcodebuild.sh should always be available for Test actions in the test-without-building step, regardless of branch. So I don't understand why it would be suddenly missing, and only some times. Here's a log from a fully-working "PR checks" workflow run: And here's an example from a "test and deploy" master-branch-run where the scripts are found in the "Build test"/build-for-testing step, but for some reason not in the "Run test"/test-without-building step: Any help would be appreciated :)
0
0
830
Jun ’22