Trying to do iOS build getting Exception failed in 2020.3.1f1

I am getting the following when trying to build for iOS.
Exception: Failed running 2020.3.1f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --useprebuiltbuildprogram --no-colors

all other builds ok.
Anyone any ideas.
Using the latest version of Unity I get more information:
Exception: Failed running D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram=“D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe”
stdout:
Require frontend run. artifacts\tundra.dag couldn’t be loaded
[ 0s] Executed build program. Created build graph with 4 nodes.

Further information by running the failed command:

“D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe” --no-colors --prebuiltbuildprogram=“D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe”
Require frontend run. \artifacts\tundra.dag.json does not exist yet
[ 0s] Executed build program. Created build graph with 1 nodes.
[ 0s] Freezing tundra.dag.json into .dag (.dag file didn’t exist)
*** Bee build success (0.04 seconds), 0 items updated, 1 evaluated

Any ideas?

I have raised a bug report.
Here is the console print:
Exception: Failed running D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram=“D:\Program Files\2021.1.0f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe”
stdout:
Require frontend run. tundra.dag no longer valid. FileSignature timestamp changed: il2cpp_settings.json
[ 0s] Executed build program. Created build graph with 4 nodes.
stderr:
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <0e11587263324259967daac4d577d226>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action1[T] setupStartInfo) (at <0e11587263324259967daac4d577d226>:0) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List1[T] arguments, System.Action1[T] setupStartInfo, System.String generatedCppOutputDirectory) (at <0e11587263324259967daac4d577d226>:0) UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.Boolean platformSupportsManagedDebugging) (at <0e11587263324259967daac4d577d226>:0) UnityEditorInternal.IL2CPPBuilder.Run () (at <0e11587263324259967daac4d577d226>:0) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <0e11587263324259967daac4d577d226>:0)
UnityEditor.iOS.PostProcessiPhonePlayer.CrossCompileManagedDlls (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.AssemblyReferenceChecker checker, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:919)
UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs, UnityEditor.iOS.PostProcessiPhonePlayer+ProjectPaths paths, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport buildReport) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:737)
UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.PostProcessorSettings postProcessorSettings, UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:682)
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:45)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:49)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <0e11587263324259967daac4d577d226>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <0e11587263324259967daac4d577d226>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Build completed with a result of ‘Failed’ in 40 seconds (40159 ms)
0x00007ff7a599273c (Unity) StackWalker::GetCurrentCallstack
0x00007ff7a59988d9 (Unity) StackWalker::ShowCallstack
0x00007ff7a61880e3 (Unity) GetStacktrace
0x00007ff7a708384a (Unity) DebugStringToFile
0x00007ff7a5b0980d (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001d5dfd17fcb (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001d5dfd17efb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x000001d5dfd17c40 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001d5dfd17b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001d5da614d63 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001d5da6118db (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001d5da604793 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x000001d5ba5bb463 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001d5ba5ac22b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001d4db492a63 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000001d4db492813 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect,UnityEngine.Rect)
0x000001d4db482643 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001d4db3ec610 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001d4db3eb75b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001d5ba58c40b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001d5ba5cf693 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001d5ba5cf21b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001d5ba5cf103 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001d5b464299b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001d5b4630478 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001d5ba5870d3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d52e89e74e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001d52e89e2e3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d5b4634233 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001d5b46328c3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001d5b463280b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x000001d52e89e573 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d52e89dd23 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001d52e89dbbb (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001d5b4762f1b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001d5b47629bb (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001d5b476277f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001d5b476269b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001d5b47624fd (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001d5b47625ae (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffed296e640 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007ffed28f2ad2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007ffed28fbb2f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007ff7a58df3e4 (Unity) scripting_method_invoke
0x00007ff7a58daa81 (Unity) ScriptingInvocation::Invoke
0x00007ff7a58d4db5 (Unity) ScriptingInvocation::Invoke
0x00007ff7a4bbae8a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7a5cc8036 (Unity) GUIView::ProcessRetainedMode
0x00007ff7a61b37a2 (Unity) GUIView::OnInputEvent
0x00007ff7a5cc7f22 (Unity) GUIView::ProcessInputEvent
0x00007ff7a61b47d9 (Unity) GUIView::ProcessEventMessages
0x00007ff7a61ae908 (Unity) GUIView::GUIViewWndProc
0x00007fff87f6e858 (USER32) CallWindowProcW
0x00007fff87f6e299 (USER32) DispatchMessageW
0x00007ff7a618dcd6 (Unity) MainMessageLoop
0x00007ff7a6191a56 (Unity) WinMain
0x00007ff7a7cf1422 (Unity) __scrt_common_main_seh
0x00007fff878e7034 (KERNEL32) BaseThreadInitThunk
0x00007fff898c2651 (ntdll) RtlUserThreadStart
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <0e11587263324259967daac4d577d226>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <0e11587263324259967daac4d577d226>:0
0x00007ff7a599273c (Unity) StackWalker::GetCurrentCallstack
0x00007ff7a59988d9 (Unity) StackWalker::ShowCallstack
0x00007ff7a61880e3 (Unity) GetStacktrace
0x00007ff7a708384a (Unity) DebugStringToFile
0x00007ff7a5b0980d (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001d5dfd17fcb (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001d5dfd17efb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x000001d5dfd17c40 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001d5dfd17b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001d5da61194b (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001d5da604793 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x000001d5ba5bb463 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001d5ba5ac22b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001d4db492a63 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000001d4db492813 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect,UnityEngine.Rect)
0x000001d4db482643 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001d4db3ec610 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001d4db3eb75b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001d5ba58c40b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001d5ba5cf693 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001d5ba5cf21b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001d5ba5cf103 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001d5b464299b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001d5b4630478 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001d5ba5870d3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d52e89e74e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001d52e89e2e3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d5b4634233 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001d5b46328c3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001d5b463280b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x000001d52e89e573 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001d52e89dd23 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001d52e89dbbb (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001d5b4762f1b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001d5b47629bb (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001d5b476277f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001d5b476269b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001d5b47624fd (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001d5b47625ae (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffed296e640 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007ffed28f2ad2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007ffed28fbb2f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007ff7a58df3e4 (Unity) scripting_method_invoke
0x00007ff7a58daa81 (Unity) ScriptingInvocation::Invoke
0x00007ff7a58d4db5 (Unity) ScriptingInvocation::Invoke
0x00007ff7a4bbae8a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7a5cc8036 (Unity) GUIView::ProcessRetainedMode
0x00007ff7a61b37a2 (Unity) GUIView::OnInputEvent
0x00007ff7a5cc7f22 (Unity) GUIView::ProcessInputEvent
0x00007ff7a61b47d9 (Unity) GUIView::ProcessEventMessages
0x00007ff7a61ae908 (Unity) GUIView::GUIViewWndProc
0x00007fff87f6e858 (USER32) CallWindowProcW
0x00007fff87f6e299 (USER32) DispatchMessageW
0x00007ff7a618dcd6 (Unity) MainMessageLoop
0x00007ff7a6191a56 (Unity) WinMain
0x00007ff7a7cf1422 (Unity) __scrt_common_main_seh
0x00007fff878e7034 (KERNEL32) BaseThreadInitThunk
0x00007fff898c2651 (ntdll) RtlUserThreadStart