Unreal 4.21 Xcode Compatibility?

Error when creating a new c++ not sure why. This also happened when i was trying to create a new c++ class earlier

Make sure you are using Xcode 4.9.1 and not something more recent.

Thank you, if you could can brief explanation to what’s going on under the hood I would be thankful.