Building unreal engine from source on Mac fails due to deprecation warnings

Hi all,

I’m building the Angelscript branch of Unreal 5.3, and the plugins there currently use a few APIs which have been marked as deprecated using the UE_DEPRECATED macro.

Most developers use the engine for on windows, which is why this issue rarely shows up for those developers.

It appears that when I generating the project files on mac using XCODE, it builds the UnrealEditor target with the flag -WarningsAsErrors, which seems to be stricter on than on windows in that it doesn’t ignore the warnings emitted from the UE_DEPRECATED macro.

Is there a way to disable warnings as errors in the interim, and does anyone have any ideas as to why the UE_DEPRECATED warnings aren’t ignored when building with xcode?

I am on Xcode version Version 15.2 (15C500b), and MacOS 14.3.1 (23D60).

Thanks for the help!

Daniel