I got this error, and I search on google no result for unreal4.
reversion xcode to 12.5.1 fix this problem