Failed build using .command in Mac

Hi, I’m working with 4.12.5(costomized…)

I’ll try to build in Mac using my command script.
But it’s failed.

Program.Main: ERROR: AutomationTool terminated with exception: System.ArgumentException: An empty string is not considered a valid value.
  at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) [0x00000] in <filename unknown>:0 
  at AutomationTool.ProjectParams..ctor (UnrealBuildTool.FileReference RawProjectPath, AutomationTool.CommandUtils Command, System.String Device, System.String MapToRun, System.String AdditionalServerMapParams, AutomationTool.ParamList`1 Port, System.String RunCommandline, System.String StageCommandline, System.String BundleName, System.String StageDirectoryParam, System.String UE4Exe, System.String SignPak, System.Collections.Generic.List`1 ClientConfigsToBuild, System.Collections.Generic.List`1 ServerConfigsToBuild, AutomationTool.ParamList`1 MapsToCook, AutomationTool.ParamList`1 DirectoriesToCook, System.String InternationalizationPreset, AutomationTool.ParamList`1 CulturesToCook, AutomationTool.ParamList`1 ClientCookedTargets, AutomationTool.ParamList`1 EditorTargets, AutomationTool.ParamList`1 ServerCookedTargets, System.Collections.Generic.List`1 ClientTargetPlatforms, System.Collections.Generic.Dictionary`2 ClientDependentPlatformMap, System.Collections.Generic.List`1 ServerTargetPlatforms, System.Collections.Generic.Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 Cook, System.String CookFlavor, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 UseDebugParamForEditorExe, Nullable`1 IterativeCooking, Nullable`1 CookAll, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 SkipCookingEditorContent, Nullable`1 NumCookersToSpawn, System.String AdditionalCookerOptions, System.String BasedOnReleaseVersion, System.String CreateReleaseVersion, System.String CreateReleaseVersionBasePath, System.String BasedOnReleaseVersionBasePath, Nullable`1 GeneratePatch, System.String DLCName, System.String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 NewCook, Nullable`1 OldCook, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 NoXGE, Nullable`1 Package, Nullable`1 Pak, Nullable`1 Prereqs, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, System.String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, System.String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, AutomationTool.ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, System.String SpecifiedArchitecture, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 RunAssetNativization, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UploadSymbols, System.String Provision, System.String Certificate, AutomationTool.ParamList`1 InMapsToRebuildLightMaps, AutomationTool.ParamList`1 TitleID) [0x00000] in <filename unknown>:0 
  at BuildCookRun.SetupParams () [0x00000] in <filename unknown>:0 
  at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0 
  at AutomationTool.BuildCommand.Execute () [0x00000] in <filename unknown>:0 
  at AutomationTool.Automation.Execute (System.Collections.Generic.List`1 CommandsToExecute, Tools.DotNETCommon.CaselessDictionary.CaselessDictionary`1 Commands) [0x00000] in <filename unknown>:0 
  at AutomationTool.Automation.Process (System.String[] CommandLine) [0x00000] in <filename unknown>:0 
  at AutomationTool.Program.MainProc (System.Object Param) [0x00000] in <filename unknown>:0 
  at AutomationTool.InternalUtils.RunSingleInstance (System.Func`2 Main, System.Object Param) [0x00000] in <filename unknown>:0 
  at AutomationTool.Program.Main () [0x00000] in <filename unknown>:0 

Can you help me?