I was facing the same error on CodeMagic. I was able to fix this by changing the XCode version from "Latest" to "15.4"