Error Packaging Plug-in: requires server name

Hello there,

I’m really struggling trying to package a PlugIn, every time I try to package it I receive this error:

Log.WriteException: ==============================================================================
Log.WriteException: ERROR: Remote compiling requires a server name. Use the editor (Project Settings > IOS) to set up your remote compilation settings.
Log.WriteException:        (see C:\Program Files\Epic Games\UE_4.21\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-IOS-Development.txt for full exception trace)
Log.WriteException: 
Log.WriteException: BuildException: Remote compiling requires a server name. Use the editor (Project Settings > IOS) to set up your remote compilation settings.
Log.WriteException:    in UnrealBuildTool.RemoteMac..ctor(FileReference ProjectFile) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ToolChain\RemoteMac.cs:riga 157
Log.WriteException:    in UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile, Boolean bCatchExceptions) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:riga 1160

Actually the plug in is not even supposed to work on iOS, but I don’t really know how to fix this.
Any help will be hugely appreciate.

Actually I just noticed that in proejct settings, in Mac Setcion an icon is missing (?) and if I try to add a .icns file it gives me an error “Could Not Mark Image For Add”.

Is it possible that I faced an Unreal bug??

Thank you in advance for your time and patience

Hey,
I encountered the same error trying to package a plugin in 4.21. I fixed by doing several changes in my Plugin.uplugin file.
First set "Installed": true, then add "RequiresBuildPlatform": false, and finally inside the Modules curly brackets just after "LoadingPhase" add "WhitelistPlatforms": [ "Win64", "Win32" ].