ci_post_clone.sh :: doesn't work on xCloud, it works on local MacOS

I'm trying to make a ci_post_clone.sh script to build an Ionic iOS app trough xCloud

I've been looking trough internet, trough official apple documentation but haven't been able to solve the issue

the script is working on macOS local machine but it fails again and again on xCloud enviornment

I'm attaching the full script ci_post_clone.sh (swapped to .txt extension for being able to upload it)

along the

ci_post_clone.log

well I made it work

now I'm stuck at

Run xocdebuild archive

Unable to open base configuration reference file '/Volumes/workspace/repository/PRL.PortalEmpleado.ion/ios/App/Pods/Target Support Files/Pods-My SmartOSH/Pods-My SmartOSH.release.xcconfig'.

any suggestion?

ci_post_clone.sh :: doesn't work on xCloud, it works on local MacOS
 
 
Q