Fix for Mac

This commit is contained in:
Wojtek Figat
2022-01-09 20:09:00 +01:00
parent 7a32971212
commit 959446df20
2 changed files with 2 additions and 3 deletions

View File

@@ -2,7 +2,6 @@
using System;
using System.IO;
using System.Diagnostics;
using Flax.Build.Projects;
namespace Flax.Build.Platforms
@@ -35,7 +34,7 @@ namespace Flax.Build.Platforms
public override ProjectFormat DefaultProjectFormat => ProjectFormat.XCode;
/// <summary>
/// XCode Devloper path returned by xcode-select.
/// XCode Developer path returned by xcode-select.
/// </summary>
public string XCodePath;

View File

@@ -40,7 +40,7 @@ namespace Flax.Build.Platforms
: base(platform, architecture)
{
// Setup tools paths
if (platform.XCodePath.Contains("/Xcode.app"))
if (platform.XCodePath.Contains("/Xcode"))
{
// XCode App
ToolchainPath = Path.Combine(platform.XCodePath, "Toolchains/XcodeDefault.xctoolchain");