IOS Packaging Fail with blank project on Mac

I am having trouble deploying my project for more than a week…I need to put it on the App Store really soon.

It is a Blueprint project with one plugin from Marketplace
I did successfully package a shipping build for distribution on windows and Mac remote build, but the .IPA keeps failing when uploading to the Appstore with Application Loader. (signing error)

So I am trying to build a blank BP project on Mac in the hope that it pass the Appstore upload through Application Loader and that I could next migrate my data in it!

UE4.22.3
MacOsx Mojave 10.14.5
Xcode 10.2.1

Project.Package: ********** PACKAGE COMMAND STARTED **********
IOSPlatform.Package: Package /Users/admin/Documents/Unreal Projects/MyProjecttest/MyProjecttest.uproject
InternalUtils.SafeFileExists: SafeFileExists /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/IOS/UE4Game-IOS-Shipping=True
UnrealPluginLanguage.Init: UPL Init: None
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: System.NullReferenceException: Object reference not set to an instance of an object
Log.WriteException:          at Tools.DotNETCommon.FileSystemReference.CombineStrings (Tools.DotNETCommon.DirectoryReference BaseDirectory, System.String[] Fragments) [0x00047] in <b22dd851f46744ca937fbe8e0fdf569d>:0 
Log.WriteException:          at Tools.DotNETCommon.FileReference.Combine (Tools.DotNETCommon.DirectoryReference BaseDirectory, System.String[] Fragments) [0x00000] in <b22dd851f46744ca937fbe8e0fdf569d>:0 
Log.WriteException:          at IOSPlatform.WriteEntitlements (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x000a5] in <2db7284be806459f8143e6c2a92f35f1>:0 
Log.WriteException:          at IOSPlatform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, System.Int32 WorkingCL) [0x00457] in <2db7284be806459f8143e6c2a92f35f1>:0 
Log.WriteException:          at Project.Package (AutomationTool.ProjectParams Params, System.Int32 WorkingCL) [0x000bc] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:          at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00094] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:          at BuildCookRun.ExecuteBuild () [0x00040] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:          at AutomationTool.BuildCommand.Execute () [0x00001] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:          at AutomationTool.Automation.Execute (System.Collections.Generic.List`1[T] CommandsToExecute, System.Collections.Generic.Dictionary`2[TKey,TValue] Commands) [0x0007c] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:          at AutomationTool.Automation.Process (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x0026f] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:          at AutomationTool.Program.MainProc (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x00001] in <f853a190c711447dac486b03c7e442ae>:0 
Log.WriteException:          at AutomationTool.Program+<>c__DisplayClass1_0.<Main>b__2 () [0x00000] in <f853a190c711447dac486b03c7e442ae>:0 
Log.WriteException:          at AutomationTool.InternalUtils.RunSingleInstance (System.Func`1[TResult] Main) [0x000a0] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:          at AutomationTool.Program.Main (System.String[] Arguments) [0x0020a] in <f853a190c711447dac486b03c7e442ae>:0 
Log.WriteException:        (see /Users/admin/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
Log.WriteException: 
Log.WriteException: NullReferenceException: Object reference not set to an instance of an object
Log.WriteException:   at Tools.DotNETCommon.FileSystemReference.CombineStrings (Tools.DotNETCommon.DirectoryReference BaseDirectory, System.String[] Fragments) [0x00047] in <b22dd851f46744ca937fbe8e0fdf569d>:0 
Log.WriteException:   at Tools.DotNETCommon.FileReference.Combine (Tools.DotNETCommon.DirectoryReference BaseDirectory, System.String[] Fragments) [0x00000] in <b22dd851f46744ca937fbe8e0fdf569d>:0 
Log.WriteException:   at IOSPlatform.WriteEntitlements (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x000a5] in <2db7284be806459f8143e6c2a92f35f1>:0 
Log.WriteException:   at IOSPlatform.Package (AutomationTool.ProjectParams Params, DeploymentContext SC, System.Int32 WorkingCL) [0x00457] in <2db7284be806459f8143e6c2a92f35f1>:0 
Log.WriteException:   at Project.Package (AutomationTool.ProjectParams Params, System.Int32 WorkingCL) [0x000bc] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:   at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00094] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:   at BuildCookRun.ExecuteBuild () [0x00040] in <3164993c0f274a4881e2b86f16956f50>:0 
Log.WriteException:   at AutomationTool.BuildCommand.Execute () [0x00001] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:   at AutomationTool.Automation.Execute (System.Collections.Generic.List`1[T] CommandsToExecute, System.Collections.Generic.Dictionary`2[TKey,TValue] Commands) [0x0007c] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:   at AutomationTool.Automation.Process (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x0026f] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:   at AutomationTool.Program.MainProc (System.String[] Arguments, UnrealBuildTool.StartupTraceListener StartupListener) [0x00001] in <f853a190c711447dac486b03c7e442ae>:0 
Log.WriteException:   at AutomationTool.Program+<>c__DisplayClass1_0.<Main>b__2 () [0x00000] in <f853a190c711447dac486b03c7e442ae>:0 
Log.WriteException:   at AutomationTool.InternalUtils.RunSingleInstance (System.Func`1[TResult] Main) [0x000a0] in <cb2b2e3c6612441e9c5a4d3920a09e04>:0 
Log.WriteException:   at AutomationTool.Program.Main (System.String[] Arguments) [0x0020a] in <f853a190c711447dac486b03c7e442ae>:0
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

I believe this happens when Automatic Signing is set to true.
I don’t know how to fix it, but maybe you can try setting it to false and setting the certificates yourself.