I had my project set up for iOS with a Remote Build and it was working until the new requirements of Xcode 15 (and updated the MacOS to Ventura 13.6.6).
I am getting a lot of red warning as deprecated, searched this past week and tried everything I found, including the flags to ignore the warning etc. But, in the end I am getting the same errors.
I have two versions of the project and both are on UE4. Tried with both 4.26 and 4.27. It’s pretty much the same errors.
On the 4.26 I tried correcting the warning and I got from 20 to 6 warnings, meaning for those that are deprecated, but I still get some weird red warnings and the build just cannot finish and fails.
And I cannot migrate the project to UE5, so it needs to be on UE4.
I’ve managed to sort it out with ChatGPT updating the core files from the engine. I’ve managed to build with 4.26.2 and Xcode 15 through remove IOS build with Vmware.
Thanks, but I’m using 4.27.2 and I don’t know if there will be any conflicts.
In addition, I just tried to use CHATGPT to help me modify the code of IsTriviallyCopyAssignable.h / IsTriviallyCopyConstructible.h / IsTriviallyDestructible.h. It can be compiled normally, but I’m not sure if it is the most correct modification solution, so maybe I can refer to your file.
There are many factors that can cause crashes, and generally speaking, it is recommended to check the crash logs of UE4GAME on Android phones to determine what the problem is.
I tried to fix it with ChatGPT, but it gave me other errors . How did you guys modifyIsTriviallyCopyAssignable.h, IsTriviallyCopyConstructible.h, IsTriviallyDestructible.h? I am trying to build Unreal Engine 4.27.2 too.
The compiler is throwing the following error in multiple files
example:
/Engine/Source/Runtime/RHI/Private/DynamicRHI.cpp:505:14 variable ‘dbg’ set but not used [-Werror,-Wunused-but-set-variable]
this error appears on variables that are being used just two lines after being declared.
I’ve tried to follow several steps to ignore these errors globally, but nothing has worked so far. Here are some of the things I’ve tried:
Adding ‘’ Result += " -Wno-unused-but-set-variable";‘’ to MacToolChain.cs in the GetCompileArguments_Global function
For anyone experiencing similar issues, I resolved it by switching branches from 4.27 to 4.27-plus. This version is actively being updated, and the Xcode and build errors have already been fixed in this branch.