iOS Archive using Xcode Cloud

I'm trying to generate a build using Xcode Cloud, but the error below is displayed:

/bin/sh: /Volumes/workspace/repository/ios/Pods/../../node_modules/react-native/ReactCommon/../scripts/xcode/with-environment.sh: No such file or directory

This error occurs when I'm generating the archive.

It's worth mentioning that if I try to run the archive manually in Xcode > Product > Archive, it works.

Can someone help me out?

Confirm you are running the latest version of your third-party library and following recommendations from Making dependencies available to Xcode Cloud.

iOS Archive using Xcode Cloud
 
 
Q