Home Game Development unreal – Stuck trying to build UE for iOS on Mac

unreal – Stuck trying to build UE for iOS on Mac

0
unreal – Stuck trying to build UE for iOS on Mac

[ad_1]

I would say that the best path is to rebase your custom build of Unreal Engine to 5.3. I could build Unreal Engine 5.1 for Mac by applying the patches:

--- a/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/ApplePlatformSDK.Versions.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/ApplePlatformSDK.Versions.cs
@@ -22,13 +22,13 @@ namespace UnrealBuildTool
                        if (RuntimePlatform.IsMac)
                        {
                                MinVersion = "13.4.0";
-                               MaxVersion = "14.9.9";
+                               MaxVersion = "15.9.9";
                        }
                        else
                        {
                                // @todo turnkey: these are MobileDevice .dll versions in Windows - to get the iTunes app version (12.3.4.1 etc) would need to hunt down the .exe
                                MinVersion = "1100.0.0.0";
-                               MaxVersion = "1499.0";
+                               MaxVersion = "1599.0";
                        }
                }

and

--- a/Engine/Source/Runtime/Core/Public/Apple/ApplePlatformCompilerPreSetup.h
+++ b/Engine/Source/Runtime/Core/Public/Apple/ApplePlatformCompilerPreSetup.h
@@ -37,6 +37,11 @@
 #else
        #pragma clang diagnostic warning "-Wparentheses-equality"
 #endif
+#if (__clang_magor__ >= 15)
+#define unary_function __unary_function
+#pragma clang diagnostic ignored "-Wdeprecated-builtins"
+#pragma clang diagnostic ignored "-Wsingle-bit-bitfield-constant-conversion"
+#endif
 #pragma clang diagnostic ignored "-Winconsistent-missing-override"
 #pragma clang diagnostic ignored "-Wundefined-bool-conversion"
 #pragma clang diagnostic ignored "-Wunused-local-typedef"

and

--- a/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/MacToolChain.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/MacToolChain.cs
@@ -294,8 +294,6 @@ namespace UnrealBuildTool

                        // Needed to make sure install_name_tool will be able to update paths in Mach-O headers
                        Arguments.Add("-headerpad_max_install_names");
-
-                       Arguments.Add("-lc++");
                }

and finally

--- a/Engine/Plugins/Experimental/NNI/Source/ThirdParty/ORT_4_1/Private/core/session/provider_stubs.cc
+++ b/Engine/Plugins/Experimental/NNI/Source/ThirdParty/ORT_4_1/Private/core/session/provider_stubs.cc
@@ -30,7 +30,7 @@ ORT_API_STATUS_IMPL(OrtSessionOptionsAppendExecutionProvider_DML, _In_ OrtSessio
 }
 #endif

-#ifndef USE_MIGRAPHX
+#if 0 // ndef USE_MIGRAPHX
 ORT_API_STATUS_IMPL(OrtSessionOptionsAppendExecutionProvider_MIGraphX,
                     _In_ OrtSessionOptions* options, int device_id) {
   ORT_UNUSED_PARAMETER(options);

This still produces some warnings, not sure if some of them are really critical.

[ad_2]

Previous article Zelda Director Explains What He Wants From A Live-Action Movie
Next article Fitness Boxing Fist Of The North Star Expansion Pack DLC Out Now
Hello there! My name is YoleeTeam, and I am thrilled to welcome you to AmazonianGames.com. As the premier destination for all things related to Amazon Games' universe, we are dedicated to providing you with the most exciting and immersive gaming experiences out there. From captivating visuals to exhilarating gameplay, our website is packed with comprehensive insights, updates, and reviews to keep you ahead of the game. Whether you're a seasoned gamer or new to the scene, I am here to guide you through this virtual frontier. If you have any questions or suggestions, feel free to reach out to me at john@yoleesolutions.com. Embark on your Amazon gaming journey today with AmazonianGames.com and let the adventure begin!