BullCowGame could not be compiled. Try rebuilding from source manually (Mac)

Hi all,

I am a MacOS user and have trouble in compiling and Bull Cow Game.
I have checked the following 5 posts and none of them work for me (because most solutions are primarily proposed for Windows Machines):

The exact same question was asked by @DiveInsideTech in the first link but wasn’t addressed, so I’ll have to post it here again. Here’s the description (screenshot):

Please note:

  1. Mac users use Xcode, not VS, to compile the project.
  2. We don’t have access to error log, as we cannot even OPEN the project in Unreal Engine.

Thanks!

Sorry the original screenshot wasn’t clear, here’s the new one:

The logs are in ~/Library/Logs/Unreal Engine if I’m not mistaken.

Open Finder and do Cmd + Shift + G and enter that path inside quotes

Yes, there’re some log files, see below:

Log file open, 12/29/20 00:26:37
LogInit: Display: Running engine for game: BullCowGame
LogPakFile: Registered encryption key ‘00000000000000000000000000000000’: 0 pak files mounted, 0 remain pending
LogPlatformFile: Not using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 8 total threads with 3 sets of task threads.
LogStats: Stats thread started at 0.267667
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -8:00, Platform Override: ‘’
LogPluginManager: Mounting plugin AppleVision
LogPluginManager: Mounting plugin BackChannel
LogPluginManager: Mounting plugin SkeletalReduction
LogPluginManager: Mounting plugin AlembicImporter
LogPluginManager: Mounting plugin ProxyLODPlugin
LogPluginManager: Mounting plugin AppleImageUtils
LogPluginManager: Mounting plugin GeometryCache
LogPluginManager: Mounting plugin CharacterAI
LogPluginManager: Mounting plugin HTML5Networking
LogPluginManager: Mounting plugin AnimationSharing
LogPluginManager: Mounting plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting plugin ActorLayerUtilities
LogPluginManager: Mounting plugin UObjectPlugin
LogPluginManager: Mounting plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting plugin SubversionSourceControl
LogPluginManager: Mounting plugin CLionSourceCodeAccess
LogPluginManager: Mounting plugin XCodeSourceCodeAccess
LogPluginManager: Mounting plugin PerforceSourceControl
LogPluginManager: Mounting plugin NullSourceCodeAccess
LogPluginManager: Mounting plugin GitSourceControl
LogPluginManager: Mounting plugin LightPropagationVolume
LogPluginManager: Mounting plugin LauncherChunkInstaller
LogPluginManager: Mounting plugin ActorSequence
LogPluginManager: Mounting plugin MatineeToLevelSequence
LogPluginManager: Mounting plugin LevelSequenceEditor
LogPluginManager: Mounting plugin DatasmithContent
LogPluginManager: Mounting plugin VariantManagerContent
LogPluginManager: Mounting plugin MagicLeap
LogPluginManager: Mounting plugin MagicLeapMedia
LogPluginManager: Mounting plugin CableComponent
LogPluginManager: Mounting plugin RuntimePhysXCooking
LogPluginManager: Mounting plugin ProceduralMeshComponent
LogPluginManager: Mounting plugin WebMMoviePlayer
LogPluginManager: Mounting plugin SteamVR
LogPluginManager: Mounting plugin AndroidMoviePlayer
LogPluginManager: Mounting plugin CustomMeshComponent
LogPluginManager: Mounting plugin AndroidPermission
LogPluginManager: Mounting plugin OculusVR
LogPluginManager: Mounting plugin EditableMesh
LogPluginManager: Mounting plugin MobilePatchingUtils
LogPluginManager: Mounting plugin Firebase
LogPluginManager: Mounting plugin WindowsMoviePlayer
LogPluginManager: Mounting plugin AudioCapture
LogPluginManager: Mounting plugin SignificanceManager
LogPluginManager: Mounting plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting plugin IOSDeviceProfileSelector
LogPluginManager: Mounting plugin PhysXVehicles
LogPluginManager: Mounting plugin AppleMoviePlayer
LogPluginManager: Mounting plugin AndroidDeviceProfileSelector
LogPluginManager: Mounting plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting plugin LocationServicesBPLibrary
LogPluginManager: Mounting plugin ArchVisCharacter
LogPluginManager: Mounting plugin GoogleCloudMessaging
LogPluginManager: Mounting plugin NetcodeUnitTest
LogPluginManager: Mounting plugin NUTUnrealEngine4
LogPluginManager: Mounting plugin AISupport
LogPluginManager: Mounting plugin OnlineSubsystem
LogPluginManager: Mounting plugin OnlineSubsystemIOS
LogPluginManager: Mounting plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting plugin OnlineSubsystemNull
LogPluginManager: Mounting plugin OnlineSubsystemUtils
LogPluginManager: Mounting plugin Paper2D
LogPluginManager: Mounting plugin TcpMessaging
LogPluginManager: Mounting plugin UdpMessaging
LogPluginManager: Mounting plugin FacialAnimation
LogPluginManager: Mounting plugin MobileLauncherProfileWizard
LogPluginManager: Mounting plugin MaterialAnalyzer
LogPluginManager: Mounting plugin AssetManagerEditor
LogPluginManager: Mounting plugin GameplayTagsEditor
LogPluginManager: Mounting plugin CryptoKeys
LogPluginManager: Mounting plugin MacGraphicsSwitching
LogPluginManager: Mounting plugin PluginBrowser
LogPluginManager: Mounting plugin SpeedTreeImporter
LogPluginManager: Mounting plugin DataValidation
LogPluginManager: Mounting plugin AndroidMedia
LogPluginManager: Mounting plugin MediaCompositing
LogPluginManager: Mounting plugin MediaPlayerEditor
LogPluginManager: Mounting plugin ImgMedia
LogPluginManager: Mounting plugin LinearTimecode
LogPluginManager: Mounting plugin WmfMedia
LogPluginManager: Mounting plugin AvfMedia
LogPluginManager: Mounting plugin WebMMedia
LogInit: Warning: Incompatible or missing module: BullCowGame

Running Mono…

Setting up Mono
/Users/Shared/Epic Games/UE_4.22/Engine /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac
Creating makefile for BullCowGameEditor (ini files are newer than makefile)
@progress push 5%
Parsing headers for BullCowGameEditor
Running UnrealHeaderTool “/Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/BullCowGame.uproject” “/Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/BullCowGameEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
LogMac: Warning: dlopen failed: dlopen(/Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/Current/CoreSymbolication, 5): image not found
Reflection code generated for BullCowGameEditor in 9.2552847 seconds
@progress pop
Performing 13 actions (4 in parallel)
[1/13] Compile SharedPCH.Engine.h
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:541:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:23:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:24: error: loop variable ‘EdgeVertexID’ of type ‘const FVertexID’ creates a copy from type ‘const FVertexID’ [-Werror,-Wrange-loop-analysis]
for( const FVertexID EdgeVertexID : Edge.VertexIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:478:8: note: use reference type ‘const FVertexID &’ to prevent copying
for( const FVertexID EdgeVertexID : Edge.VertexIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:32: error: loop variable ‘VertexInstanceID’ of type ‘const FVertexInstanceID’ creates a copy from type ‘const FVertexInstanceID’ [-Werror,-Wrange-loop-analysis]
for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:550:8: note: use reference type ‘const FVertexInstanceID &’ to prevent copying
for( const FVertexInstanceID VertexInstanceID : VertexInstanceIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:22: error: loop variable ‘VertexConnectedEdgeID’ of type ‘const FEdgeID’ creates a copy from type ‘const FEdgeID’ [-Werror,-Wrange-loop-analysis]
for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:653:8: note: use reference type ‘const FEdgeID &’ to prevent copying
for( const FEdgeID VertexConnectedEdgeID : VertexArray[ VertexID0 ].ConnectedEdgeIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:32: error: loop variable ‘VertexInstanceID’ of type ‘const FVertexInstanceID’ creates a copy from type ‘const FVertexInstanceID’ [-Werror,-Wrange-loop-analysis]
for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:682:8: note: use reference type ‘const FVertexInstanceID &’ to prevent copying
for( const FVertexInstanceID VertexInstanceID : VertexArray[ VertexID ].VertexInstanceIDs )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:22: error: loop variable ‘EdgeID’ of type ‘const FEdgeID’ creates a copy from type ‘const FEdgeID’ [-Werror,-Wrange-loop-analysis]
for( const FEdgeID EdgeID : ConnectedEdgeIDs )
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h:695:8: note: use reference type ‘const FEdgeID &’ to prevent copying
for( const FEdgeID EdgeID : ConnectedEdgeIDs )
^~~~~~~~~~~~~~~~~~~~~~
&
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:553:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h:16:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/SmartName.h:10:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Core/Public/UObject/AnimPhysObjectVersion.h:49:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:609:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h:885:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
Default,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Materials/MaterialFunctionInterface.h:25:2: note: previous declaration is here
Default,
^
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:62:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:83:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/yuyingliu/Documents/Udemy/Unreal/BullCowGame-starter-kit/Intermediate/Build/Mac/BullCowGameEditor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:104:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
5 warnings and 5 errors generated.
LogInit: Warning: Still incompatible or missing module: BullCowGame
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (40)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (38)
LogModuleManager: Shutting down and abandoning module PropertyEditor (37)
LogModuleManager: Shutting down and abandoning module AudioEditor (34)
LogModuleManager: Shutting down and abandoning module TextureCompressor (32)
LogModuleManager: Shutting down and abandoning module RenderCore (30)
LogModuleManager: Shutting down and abandoning module Landscape (28)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (26)
LogModuleManager: Shutting down and abandoning module AudioMixerAudioUnit (24)
LogModuleManager: Shutting down and abandoning module CoreAudio (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module NetworkFile (12)
LogModuleManager: Shutting down and abandoning module CookedIterativeFile (10)
LogModuleManager: Shutting down and abandoning module StreamingFile (8)
LogModuleManager: Shutting down and abandoning module SandboxFile (6)
LogModuleManager: Shutting down and abandoning module PakFile (4)
LogModuleManager: Shutting down and abandoning module RSA (3)
LogExit: Exiting.
Log file closed, 12/29/20 00:27:14

Any suggestions?

Upgrade to 4.26 as that’s where that was fixed


- https://docs.unrealengine.com/en-US/WhatsNew/Builds/ReleaseNotes/4_26/index.html

Or downgrade Xcode.

1 Like

Try to verify your unreal engine through epic games launcher.
Go to Epic Games Launcher -> Unreal Engine -> Library (see tabs)
then click the arrow down and select verify. This solution works on me. I hope yours too!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.