I am also facing the same issue for Xcode Cloud with GitHub and solve by uploading 'Generated.xcconfig' on GitHub i.e. Remove the 'Generated.xcconfig' file from .gitignore.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: