UE5 plugin for Third Party Library on MacOS, Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!

I was looking into example plugin templates from:
Editor > Setttings > Plugins> Add+ > Third Party Library

This sample plugin simply doesn’t get added on the MacOS version, but I can get it to work on Windows/Linux.

On MacOS version, creating this plugin I see the messagebox:
“Failed to compile plugin source code. See output log for more information.”

And output logs show:

LogWorldSubsystemInput: UEnhancedInputDeveloperSettings::bEnableWorldSubsystem is false, the world subsystem will not be created!
LogShaderCompilers: Display: ================================================
LogShaderCompilers: Display: === FShaderJobCache stats ===
LogShaderCompilers: Display: Total job queries 48, among them cache hits 10 (20.83%)
LogShaderCompilers: Display: Tracking 38 distinct input hashes that result in 35 distinct outputs (92.11%)
LogShaderCompilers: Display: RAM used: 462,88 KiB of 819,20 MiB budget. Usage: 0.06%
LogShaderCompilers: Display: === Shader Compilation stats ===
LogShaderCompilers: Display: Shaders Compiled: 0
LogShaderCompilers: Display: Jobs assigned 0, completed 0 (0%)
LogShaderCompilers: Display: Time at least one job was in flight (either pending or executed): 0.00 s
LogShaderCompilers: Display: ================================================
LogWorldSubsystemInput: UEnhancedInputDeveloperSettings::bEnableWorldSubsystem is false, the world subsystem will not be created!
LogSlate: Window 'Project Settings' being destroyed
LogSlate: Window 'Project Settings' being destroyed
LogSlate: Window 'New Plugin' being destroyed
LogSlate: Window 'New Plugin' being destroyed
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
LogCoreRedirects: Error: AddRedirect(GenerateNewPlugin) failed to add redirect from None to None with empty name!
Setting up bundled DotNet SDK
/Users/Shared/Epic Games/UE_5.3/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/6.0.302/mac-arm64
Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll MyProject2Editor Development Mac -Plugin=/Users/ali/Documents/Unreal Projects/MyProject2/Plugins/TestThirdParty/TestThirdParty.uplugin -Project=/Users/ali/Documents/Unreal Projects/MyProject2/MyProject2.uproject -BuildPluginAsLocal -Progress -NoHotReloadFromIDE
Log file: /Users/ali/Library/Application Support/Epic/UnrealBuildTool/Log.txt
Invalidating makefile for MyProject2Editor (TestThirdParty.uplugin has been added)
Choosing MODERN XCODE based on .ini settings
@progress push 5%
@progress pop
Building MyProject2Editor...
Determining max actions to execute in parallel (8 physical cores, 8 logical cores)
  Executing up to 8 processes, one per physical core
------ Building 3 action(s) started ------
[1/3] Compile [Apple] Module.TestThirdParty.cpp
[2/3] Link [Apple] UnrealEditor-TestThirdParty.dylib
ld: warning: ignoring file /Users/ali/Documents/Unreal Projects/MyProject2/Plugins/TestThirdParty/Source/ThirdParty/TestThirdPartyLibrary/Mac/Release/libExampleLibrary.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
  "ExampleLibraryFunction()", referenced from:
      FTestThirdPartyModule::StartupModule() in Module.TestThirdParty.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Total time in Parallel executor: 0.94 seconds
Total execution time: 4.17 seconds
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogCoreRedirects: Error: RemoveRedirect(GenerateNewPlugin) failed to remove redirect from None to None with empty name!
LogSlate: Window 'Unable to create plugin' being destroyed
Message dialog closed, result: Ok, title: Unable to create plugin, text: Failed to compile plugin source code. See output log for more information.
LogSlate: Window 'New Plugin' being destroyed
LogSlate: Window 'New Plugin' being destroyed
LogSlate: Window 'Plugins' being destroyed
LogSlate: Window 'Plugins' being destroyed