Failed generate project XCode 10.1

In UE 4.21 i can’t regenerate or generate project file for XCode:

Running Mono...

Setting up Mono
/Users/Shared/EpicGames/UE_4.21/Engine /Users/Shared/EpicGames/UE_4.21/Engine/Binaries/Mac
Discovering modules, targets and source code for project...
Generating data for project indexing...
Generating data for project indexing... 100%
Writing project files...
Writing project files... 33%
ERROR: UnrealBuildTool Exception: System.FormatException: Unknown char
         at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 
         at System.Single.Parse (System.String s) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.IOSExports.SupportsIconCatalog (Tools.DotNETCommon.DirectoryReference ProjectDirectory, Tools.DotNETCommon.FileReference BuildRecieptFileName) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.UEDeployIOS.GenerateIOSPList (Tools.DotNETCommon.FileReference ProjectFile, UnrealTargetConfiguration Config, System.String ProjectDirectory, Boolean bIsUE4Game, System.String GameName, System.String ProjectName, System.String InEngineDir, System.String AppDirectory, Tools.DotNETCommon.FileReference BuildRecieptFileName, System.Boolean& bSupportsPortrait, System.Boolean& bSupportsLandscape, System.Boolean& bSkipIcons, UnrealBuildTool.UEDeployIOS InThis) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.XcodeProjectFile.AppendNativeTargetBuildConfiguration (System.Text.StringBuilder Content, XcodeBuildConfig Config, System.String ConfigGuid, Boolean bIsAGame, Tools.DotNETCommon.FileReference ProjectFile) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.XcodeProjectFile.AppendXCBuildConfigurationSection (System.Text.StringBuilder Content, System.Collections.Generic.Dictionary`2 ProjectBuildConfigs, System.Collections.Generic.Dictionary`2 TargetBuildConfigs, System.Collections.Generic.Dictionary`2 BuildTargetBuildConfigs, System.Collections.Generic.Dictionary`2 IndexTargetBuildConfigs, Boolean bIsAGame, Tools.DotNETCommon.FileReference GameProjectPath) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.XcodeProjectFile.WriteProjectFile (System.Collections.Generic.List`1 InPlatforms, System.Collections.Generic.List`1 InConfigurations) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.ProjectFileGenerator.WriteProjectFiles () [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles (System.String[] Arguments) [0x00000] in <filename unknown>:0 
         at UnrealBuildTool.UnrealBuildTool.GuardedMain (System.String[] Arguments) [0x00000] in <filename unknown>:0

I have fixed that issue with the following steps:

  1. Install Xcode 9.4.1
  2. Uninstall Xcode 10.1

From the UE 4.21 release notes, it is indicated that Xcode 10 is not yet supported.
Keeping Xcode 10.1 seems generating a conflict somewhere… hope it helps!

Its not helps. UE4.20 worked with Xcode 10

Hi Nexelen,

@IMFRENCHYOUKNOW is correct. The official supported version of Xcode with the 4.21 release is 9.4. However, if you are saying that Xcode 10.1 worked for you in 4.20 and are consistently unable to generate your project files with 4.21 then I would recommend filing a bug report.

@DarkwindRichard yes… with 4.20 and Xcode 10.1 I can successfully generate or regenerate project.

I update unreal to 4.21 and successfully regenerate the Xcode project.My XCode version is 10.1 and OSX Mojave 10.14.1.Do you use the release branch?

@CasioHe yes. I download UE from launcher

@Createlex I will try reinstall ue. Becouse fresh install ue4.20 worked with xcode 10.1

I would delete both Xcode and UE4. it works on my 4.21 and Xcode 10.1 but there is some strange xcodeproj file duplicate

Hi! I just change system language to English and project generate successful. If system language change not work to you, try to reinstall UE 4.21

@anonymous_user_7f3f6654 yes, thx. It work