Get JSON file from Action in Xcode Cloud

Hi everybody!

I have a Test Action step where I generate a .json file with the results, and I need to retrieve this file.

The way I'm trying to do is:

  • Generate the file
  • in ci_post_xcodebuild.sh, check if file exist
  • If file exists, copy into $CI_ARCHIVE_PATH

But looks like this $CI_ARCHIVE_PATH is not the correct way to copy file inside Archive.

Do we have a way to retrieve a file easily?

Get JSON file from Action in Xcode Cloud
 
 
Q