maybe later versions of unreal engine support xcode 12+. if that’s the case, please consider using that version as this is probably a huge blocker for some mac users coming to this course.
Thanks for letting the community know even I was stuck on the same thing… although it kept on giving me different error, the error it is still giving is
I have tried to delete the binary and try opening it multiple times. I have also tried redownloading the whole file multiple times.
Also for some reason I am not able to get the logs… in the file.
I have the course on Udemy as well and this is in the mac prerequisite installs as well as here on this site. I think it was the third lesson in section 1.
I want to add I had a similar issue when i downloaded 11.7. I changed the name of it so it would not overwrite xcode 12, which caused my issue. To fix, I renamed 11.7 back to the original (Xcode) and then renamed Xcode 12 to Xcode-12.2. The program was looking for Xcode.
I switched to a m1 Max MacBook Pro recently, and the problem has started again… apple won’t let me use xcode 11, due to the fact that this laptop runs big sur, which does not support the Xcode 11… I really don’t know what to do here… does anyone know what could possibly help me?
Open up the two .Target.cs files in the Source/ directory in any text editor (like visual studio code).
Then change the files to look like this:
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class BullCowGameEditorTarget : TargetRules
{
public BullCowGameEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
// 👇 add these
bOverrideBuildEnvironment = true;
AdditionalCompilerArguments = "-Wno-unused-but-set-variable";
// 👆 Add these
ExtraModuleNames.AddRange( new string[] { "BullCowGame" } );
}
}
Now try opening the project again and it should work. You lose this build error, but at this stage I don’t think that’s super important.