It seems like I was able to reproduce it locally and fix it by going to
Runner -> Info -> Configurations -> Setting Profile Runner to Pods-Runner.profile.xcconfig.
No idea how to replicate or fix this in Xcode cloud though
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: